jenkinsci / jenkins.rb

Deprecated, see https://www.jenkins.io/jep/7
394 stars 83 forks source link

Please release 0.11 to fix JENKINS-18311 #82

Closed yyuu closed 11 years ago

yyuu commented 11 years ago

Starting from Jenkins 1.518, Jenkins fails to load ruby-runtime (java-runtime) by the error described in JENKINS-18311. This problem breaks all the plugins depending on ruby-runtime, including rvm, rbenv, etc.

I tested ruby-runtime at yyuu/jenkins.rb@65be6212adb6e074364943c5f13755812a0dc551 on my Jenkins 1.518 and it seems fine for me. Please release new version 0.11.

msaffitz commented 11 years ago

:+1: We're blocked on upgrading Jenkins until this is addressed

gmcnaughton commented 11 years ago

+1 Nearly had a heart attack when I upgraded to Jenkins 1.518 and all my rvm jobs disappeared!

hsbt commented 11 years ago

I'll handle this issue :octocat:

miketheman commented 11 years ago

@hsbt it was merged, but was it released?

hsbt commented 11 years ago

deployed 0.11-SNAPSHOT and confirmed to 0.11 works with jenkins-1.518.(with 1.519 not works, it seems another problems.)

Would someone try 0.11-SNAPSHOT with jenkins-1.518?

gurchik commented 11 years ago

Would someone try 0.11-SNAPSHIT with jenkins-1.518? 0.11-SNAPSHIT SHIT

In all seriousness, I have successfully installed the 0.11 snapshot. Finally, after a whole day of trying to figure out why ruby-runtime wasn't installing! :) But gitlab-hook plugin still fails :/

elvanja commented 11 years ago

Just tried latest v0.11.-SNAPSHOT on Jenkins v1.518, seems to be working. All steps described in https://github.com/elvanja/jenkins-gitlab-hook-plugin/issues/10#issuecomment-19924987

hsbt commented 11 years ago

Thanks for all. I released ruby-runtime-0.11 http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/ruby-runtime/0.11/

tadd commented 11 years ago

:+1:

yyuu commented 11 years ago

Sorry to be late. I confirmed that ruby-runtime 0.11 is working on Jenkins 1.518 :+1: Then, I closed JENKINS-18311 on Jenkins JIRA.

But I found another problem of hudson.util.IOException2: Failed to initialize on Jenkins 1.519 and later :( Now I'm investigating on that problem.

bjpe commented 11 years ago

@yyuu Thank you for closing this bug. Anyway, I upgraded to Jenkins 1.520 and saw another problem which might be the problem you mentioned. Downgrading to 1.518 solved it for now. Did you create an issue on this so that I can follow the progress?

yyuu commented 11 years ago

@bjpe The ruby-runtime cannot work on jenkins 1.519+ by the exception of hudson.util.IOException2: Failed to initialize. This is another problem in Jenkins core introduced by jenkinsci/jenkins@f7330d7a158eff6705706b1f812993a9b918c351. Downgrading to jenkins 1.518 (or before) is the current workaround.

I've not yet created about this on Jenkins JIRA. Will create it soon.

yyuu commented 11 years ago

Reported to Jenkins JIRA as JENKINS-18528.

MrFlibble007 commented 11 years ago

FYI: yyuu the 0.11 fix did not work for me in either 1.517 or 1.518, I got this error http://pastebin.centos.org/2971/raw/

I've rolled back to 1.517 with ruby-runtime 0.10 and our build is working again..

kylegordon commented 11 years ago

This is just another voice really, to say that 1.517 with ruby-runtime works as expected. I rolled our systems back to those revisions as well, and it all came back to life.

tadd commented 11 years ago

I got same error with @MrFlibble007 and it did not occurred too if I rollbacked Jenkins 1.517 with ruby-runtime 0.10. That error seems to yield some jobs hidden, so it's a blocker bug for me.

yyuu commented 11 years ago

I confirmed same error as @MrFlibble007 on Jenkins 1.517 + ruby-runtime 0.11 + rvm plugin 0.4. In contrast, Jenkins 1.517 + ruby-runtime 0.11 + rbenv plugin 0.0.14 is working without problems.

This might be a problem of some kind of incompatibility between versions of jenkins-plugin-runtime gem (rvm => 0.1.17, rbenv => 0.2.3). Now I'm checking the changes between them.

MrFlibble007 commented 11 years ago

@yyuu yes we're using rvm plugin(rather than rbenv) here, sorry for leaving that info out.

yyuu commented 11 years ago

Please use #86 for ruby-runtime 0.11 + rvm plugin issues.