Open sunggun-yu opened 10 years ago
I found only pom file is in release repo. http://maven.jenkins-ci.org/content/repositories/releases/org/jenkins-ci/ruby-plugins/capitomcat/0.0.4/
+1, running into the same trouble:
melezhik@melezhik-PC:~/GitHub/jenkinsci/chef-plugin$ jpi release
bundling...
Using json (1.7.7)
Using slop (3.0.4)
Using jenkins-plugin-runtime (0.2.3)
Using logger (1.2.8)
Using term-ansicolor (1.1.1)
Using simple_console (0.0.1) from git://github.com/melezhik/simple_console.git (at master)
Using bundler (1.3.2)
Your bundle is complete! It was installed into ./pkg/vendor/gems
chef plugin 0.1.0 built to pkg/chef.hpi
deploying as a snapshot. Run with the --release option to release it for real when you are ready
Generating POM
Uploading pkg/chef.hpi
See http://maven.jenkins-ci.org/content/repositories/snapshots/org/jenkins-ci/ruby-plugins/chef/0.1.0-SNAPSHOT
melezhik@melezhik-PC:~/GitHub/jenkinsci/chef-plugin$ jpi release --release
bundling...
Using json (1.7.7)
Using slop (3.0.4)
Using jenkins-plugin-runtime (0.2.3)
Using logger (1.2.8)
Using term-ansicolor (1.1.1)
Using simple_console (0.0.1) from git://github.com/melezhik/simple_console.git (at master)
Using bundler (1.3.2)
Your bundle is complete! It was installed into ./pkg/vendor/gems
chef plugin 0.1.0 built to pkg/chef.hpi
deploying as a release
Generating POM
Net::HTTPServerException: 403 "Forbidden"
error! at /home/melezhik/.rvm/rubies/jruby-1.7.3/lib/ruby/1.9/net/http.rb:2640
value at /home/melezhik/.rvm/rubies/jruby-1.7.3/lib/ruby/1.9/net/http.rb:2649
check_error at /home/melezhik/.rvm/gems/jruby-1.7.3/gems/jpi-0.4.0/lib/jenkins/plugin/tools/release.rb:22
run at /home/melezhik/.rvm/gems/jruby-1.7.3/gems/jpi-0.4.0/lib/jenkins/plugin/tools/release.rb:63
release at /home/melezhik/.rvm/gems/jruby-1.7.3/gems/jpi-0.4.0/lib/jenkins/plugin/cli.rb:55
__send__ at org/jruby/RubyBasicObject.java:1677
run at /home/melezhik/.rvm/gems/jruby-1.7.3/gems/thor-0.17.0/lib/thor/task.rb:27
invoke_task at /home/melezhik/.rvm/gems/jruby-1.7.3/gems/thor-0.17.0/lib/thor/invocation.rb:120
dispatch at /home/melezhik/.rvm/gems/jruby-1.7.3/gems/thor-0.17.0/lib/thor.rb:344
start at /home/melezhik/.rvm/gems/jruby-1.7.3/gems/thor-0.17.0/lib/thor/base.rb:434
(root) at /home/melezhik/.rvm/gems/jruby-1.7.3/gems/jpi-0.4.0/bin/jpi:6
load at org/jruby/RubyKernel.java:1046
(root) at /home/melezhik/.rvm/gems/jruby-1.7.3/bin/jpi:1
eval at org/jruby/RubyKernel.java:1066
(root) at /home/melezhik/.rvm/gems/jruby-1.7.3/bin/ruby_noexec_wrapper:14
I have this problem when running a second time, can anyone confirm. anyway the release actually is not releasing at all. Have anyone found a workaround to upload the hpi file?
jpi release --release
failing with 403 error. butjpi release
for snapshot has succeed.Environment
Trace