jenkinsci/jenkins.rb

jpi commands failing

Closed this issue · 1 comments

OS: Latest centOS

[jenkins@55c97e57786b buddycloud-for-jenkins]$ ruby -v
jruby 1.7.12 (1.9.3p392) 2014-04-15 643e292 on OpenJDK 64-Bit Server VM 1.7.0_55-mockbuild_2014_04_16_12_11-b00 [linux-amd64]
[jenkins@55c97e57786b buddycloud-for-jenkins]$ jpi build
Jenkins::Plugin::SpecificationNotFound: no plugin specification found in /tmp/buddycloud-for-jenkins
           find! at /usr/local/rvm/gems/jruby-1.7.12/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/plugin/specification.rb:131
            spec at /usr/local/rvm/gems/jruby-1.7.12/gems/jpi-0.4.0/lib/jenkins/plugin/cli.rb:73
           build at /usr/local/rvm/gems/jruby-1.7.12/gems/jpi-0.4.0/lib/jenkins/plugin/cli.rb:34
             run at /usr/local/rvm/gems/jruby-1.7.12/gems/thor-0.19.1/lib/thor/command.rb:27
  invoke_command at /usr/local/rvm/gems/jruby-1.7.12/gems/thor-0.19.1/lib/thor/invocation.rb:126
        dispatch at /usr/local/rvm/gems/jruby-1.7.12/gems/thor-0.19.1/lib/thor.rb:359
           start at /usr/local/rvm/gems/jruby-1.7.12/gems/thor-0.19.1/lib/thor/base.rb:440
          (root) at /usr/local/rvm/gems/jruby-1.7.12/gems/jpi-0.4.0/bin/jpi:6
            load at org/jruby/RubyKernel.java:1081
          (root) at /usr/local/rvm/gems/jruby-1.7.12/bin/jpi:1
            eval at org/jruby/RubyKernel.java:1101
          (root) at /usr/local/rvm/gems/jruby-1.7.12/bin/jruby_executable_hooks:15

Ignore above trace as was from incorrect directory as I navigated once again to get a proper stack it appeared to start working. Yey for gremlins!