Giter Site home page Giter Site logo

fastlane-plugin-jira_versions's People

Contributors

faken avatar sandychapman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fastlane-plugin-jira_versions's Issues

Undefined method `response' for #<OpenSSL::SSL::SSLError:...

I am getting this error when i run create o release jira version.
/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-plugin-jira_versions-0.1.0/lib/fastlane/plugin/jira_versions/actions/create_jira_version.rb:58:in rescue in run': [!] undefined method response' for #OpenSSL::SSL::SSLError:0x007f832e27de28 (NoMethodError)
Did you mean? respond_to?
Did you mean? respond_to?
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-plugin-jira_versions-0.1.0/lib/fastlane/plugin/jira_versions/actions/create_jira_version.rb:9:in run' from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.107.0/lib/fastlane/runner.rb:202:in block (2 levels) in execute_action'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.107.0/lib/fastlane/actions/actions_helper.rb:35:in execute_action' from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.107.0/lib/fastlane/runner.rb:187:in block in execute_action'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.107.0/lib/fastlane/runner.rb:186:in chdir' from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.107.0/lib/fastlane/runner.rb:186:in execute_action'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.107.0/lib/fastlane/runner.rb:112:in trigger_action_by_name' from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.107.0/lib/fastlane/fast_file.rb:140:in method_missing'
from ../fastlane/Fastfile:6:in block (2 levels) in parsing_binding' from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.107.0/lib/fastlane/lane.rb:33:in call'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.107.0/lib/fastlane/runner.rb:49:in block in execute' from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.107.0/lib/fastlane/runner.rb:45:in chdir'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.107.0/lib/fastlane/runner.rb:45:in execute' from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.107.0/lib/fastlane/lane_manager.rb:52:in cruise_lane'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.107.0/lib/fastlane/command_line_handler.rb:30:in handle' from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.107.0/lib/fastlane/commands_generator.rb:69:in block (2 levels) in run'
from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/command.rb:178:in call' from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/command.rb:153:in run'
from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in run_active_command' from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane_core-0.54.0/lib/fastlane_core/ui/fastlane_runner.rb:38:in run!'
from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in run!' from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.107.0/lib/fastlane/commands_generator.rb:257:in run'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.107.0/lib/fastlane/commands_generator.rb:31:in start' from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.107.0/lib/fastlane/cli_tools_distributor.rb:58:in take_off'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.107.0/bin/fastlane:5:in <top (required)>' from /usr/local/bin/fastlane:23:in load'
from /usr/local/bin/fastlane:23:in `

'

Here my env:

✅ fastlane environment ✅

Stack

Key Value
OS 10.11.6
Ruby 2.3.1
Bundler? false
Xcode Path /Applications/Xcode.app/Contents/Developer/
Xcode Version 8.0
Git git version 2.8.4 (Apple Git-73)
Installation Source /usr/local/bin/fastlane
Host Mac OS X 10.11.6 (15G1004)
Ruby Lib Dir /usr/local/Cellar/ruby/2.3.1/lib
OpenSSL Version OpenSSL 1.0.2g 1 Mar 2016

fastlane files:

`./fastlane/Fastfile`
default_platform :ios
platform :ios do

desc "Create a new JIRA version for the next build"
lane :create_version do
  version_id = create_jira_version(
    url: 'https://jira.etermax.com',
    username: 'andres.montelpare',
    password: 'your_jira_password', 
    project_name: 'SPRIT', 
    name: "iOS 0.1.1",
    description: 'Fastlane auto-created version'
  )
end

  lane :releaseJiraVersion do
    # Asegura que estemos en master.
    #ensure_git_branch
  version_id = release_jira_version(
    url: 'https://jira.etermax.com',
    username: 'andres.montelpare',
    password: 'your_jira_password', 
    project_name: 'SPRIT', 
    name: "0.1.1",
  )

  end 
end

No Appfile found

fastlane gems

Gem Version Update-Status
credentials_manager 0.16.2 ✅ Up-To-Date
spaceship 0.37.0 ✅ Up-To-Date
deliver 1.15.0 ✅ Up-To-Date
snapshot 1.16.3 ✅ Up-To-Date
frameit 3.0.0 ✅ Up-To-Date
pem 1.4.0 ✅ Up-To-Date
cert 1.4.3 ✅ Up-To-Date
sigh 1.11.2 ✅ Up-To-Date
produce 1.3.0 ✅ Up-To-Date
gym 1.12.0 ✅ Up-To-Date
pilot 1.12.0 ✅ Up-To-Date
supply 0.7.1 ✅ Up-To-Date
match 0.10.0 ✅ Up-To-Date
screengrab 0.5.5 ✅ Up-To-Date
fastlane 1.107.0 ✅ Up-To-Date
fastlane_core 0.54.0 ✅ Up-To-Date
scan 0.14.1 ✅ Up-To-Date

Loaded fastlane plugins:

Plugin Version Update-Status
fastlane-plugin-jira_versions 0.1.0 ✅ Up-To-Date
Loaded gems
Gem Version
did_you_mean 1.0.0
highline 1.7.8
commander 4.4.0
terminal-table 1.4.5
json 1.8.3
multipart-post 2.0.0
faraday 0.9.2
faraday_middleware 0.10.0
dotenv 2.1.1
net-ssh 3.2.0
net-sftp 2.1.2
plist 3.1.0
rubyzip 1.1.7
security 0.1.3
krausefx-shenzhen 0.14.10
slack-notifier 1.5.1
rouge 1.11.1
xcpretty 0.2.4
terminal-notifier 1.7.1
word_wrap 1.0.0
bundler 1.13.6
colored 1.2
credentials_manager 0.16.2
multi_xml 0.5.5
http-cookie 1.0.3
faraday-cookie_jar 0.0.6
fastimage 1.6.8
mini_magick 4.5.1
i18n 0.7.0
thread_safe 0.3.5
tzinfo 1.2.2
activesupport 4.2.7.1
multi_json 1.12.1
babosa 1.0.2
excon 0.54.0
gh_inspector 1.0.2
fastlane_core 0.54.0
io-console 0.4.5
CFPropertyList 2.3.3
claide 1.0.1
xcodeproj 1.4.1
xcpretty-travis-formatter 0.0.4
oauth 0.5.1
jira-ruby 1.1.2
fastlane-plugin-jira_versions 0.1.0

generated on: 2016-11-09

request: rename jira version

Would be good to be able to use this workflow:

Versions:
  appone@next
    - AB-1234
    - AB-1244
    - AB-2444
    
  apptwo@next
    - AB-2333
    - AB-5344
    - AB-2331

Then when automated process runs a release for appone, it:

  • uses @changesets/cli to compute what the next version should be: 0.2.3
  • renames the appone@next to [email protected]
  • marks it as released.

So either rename a release (which i think might not be possible), or an action that lets us move all jira tickets in appone@next to a newly created version [email protected]

Issues with other JIRA plugin versions.

I'm trying to integrate the fastlane-plugin-jira_versions plugin with another JIRA plugins (fastlane-plugin-jira_transition, fastlane-plugin-jira_set_fix_version) to perform some automatic tasks on JIRA, but when trying to run bundle install I'm getting a conflict with the jira-ruby library and I'm not able to install the plugin.
This is the output of the issue:

Bundler could not find compatible versions for gem "jira-ruby":
  In Gemfile:
    fastlane-plugin-jira_set_fix_version was resolved to 1.0.0, which depends on
      jira-ruby (~> 1.5)

    fastlane-plugin-jira_versions was resolved to 0.1.0, which depends on
      jira-ruby (~> 1.1.0)

This is the content of my Pluginfile:

# Autogenerated by fastlane
#
# Ensure this file is checked in to source control!

gem 'fastlane-plugin-jira_versions'
gem 'fastlane-plugin-jira_transition'
gem 'fastlane-plugin-jira_set_fix_version'

Thanks for your help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.