You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add the Rebuild Plugin to Jenkins (ci.nodejs.org) #672
We use the Rebuild plugin internally, and it's really helpful. It basically does a Build now and prepopulates the parameters with whatever they were set to in the job you are rebuilding. You can still change any you need to.
Basically it saves a lot of typing when you're trying to fix a job which has lots of parameters.
Ping? I would use it quite often.
If it could be set to just re-populate the form and leave the "Submit" for manual clicking that would be great for node-stress-single-test. But that's a "nice-to-have".
If it could be set to just re-populate the form and leave the "Submit" for manual clicking that would be great for node-stress-single-test. But that's a "nice-to-have".
Not quite sure what you mean, but when you press rebuild it pre-populates the parameters with whatever you set when you initially ran the build. That's kinda the whole point 😜
If it could be set to just re-populate the form and leave the "Submit" for manual clicking that would be great for node-stress-single-test. But that's a "nice-to-have".
Not quite sure what you mean, but when you press rebuild it pre-populates the parameters with whatever you set when you initially ran the build. That's kinda the whole point 😜
I mean fill the form but not submit it. e.g. for node-stress-single-test you could start a job on one RUN_LABEL, then hit rebuild, change RUN_LABEL, and submit a second job...
But anyway, just activate it for the gen-pop.
It won't actually be enabled until Jenkins is next restarted. I'm not sure how we normally do that, am I okay to just click the Restart Jenkins once no jobs are running button?
Although I'm not sure if it actually does anything. The sub-jobs are done near instantaneously but with reported running times in the tens of minutes, except for an ARM job which seems stuck on something.
I don't think this has anything to do with the Rebuild Plugin, the Resume Build button was I think there before. I could be wrong though.
EDIT: Looking at this feature request, which I think is the one that added Resume Build, it looks like all it does is rebuild the sub-jobs that failed, so it's not a huge issue.
Unfortunately we won't be able to update to the newer version of Jenkins until all our machines use Java 8.
btw I installed this really early on but it was removed because of this security problem, somehow we've lost this institutional knowledge and I'm not really sure how we retain it across people changes. Interesting data point nonetheless. Sorry I missed this issue and the fact that it was back again!
Activity
jbergstroem commentedon Apr 3, 2017
SGTM if it scratches an itch!
refack commentedon Jul 17, 2017
Ping? I would use it quite often.
If it could be set to just re-populate the form and leave the "Submit" for manual clicking that would be great for
node-stress-single-test. But that's a "nice-to-have".gibfahn commentedon Jul 18, 2017
Not quite sure what you mean, but when you press rebuild it pre-populates the parameters with whatever you set when you initially ran the build. That's kinda the whole point 😜
refack commentedon Jul 18, 2017
I mean fill the form but not submit it. e.g. for
node-stress-single-testyou could start a job on one RUN_LABEL, then hit rebuild, change RUN_LABEL, and submit a second job...But anyway, just activate it for the gen-pop.
gibfahn commentedon Jul 18, 2017
Yeah, that's how it works
gdams commentedon Jul 18, 2017
SGTM
gibfahn commentedon Jul 20, 2017
So this plugin is already installed, but just not enabled.
I'm not entirely sure why it's called
Rebuilderinstead ofRebuild Plugin, but the link is the same.I've enabled it, if anyone knows why it was disabled (and thinks it should continue to be disabled) please let me know.
gibfahn commentedon Jul 20, 2017
It won't actually be enabled until Jenkins is next restarted. I'm not sure how we normally do that, am I okay to just click the
Restart Jenkins once no jobs are runningbutton?refack commentedon Jul 22, 2017
I found this:

Seems like it reruns the build with the same parameters, but "auto-submits"
gibfahn commentedon Jul 23, 2017
Restarted and it's there, see:
Rebuild
Rebuilds that job (like hitting
Build with Parametersand then pre-filling all the parameters with the same values as that build.Rebuild last
Like clicking on the last build and clicking
Rebuild.Note that you get the chance to change parameters before you run.
cc/ @nodejs/collaborators , I found this saves a lot of time when running jobs.
refack commentedon Jul 23, 2017
Regarding restart, I just found its avalible to unauthenticated users

Is that a security issue?
Trott commentedon Jul 23, 2017
@refack 😱
bnoordhuis commentedon Jul 23, 2017
https://ci.nodejs.org/job/node-test-pull-request/9310/ - "Started by anonymous user"
Although I'm not sure if it actually does anything. The sub-jobs are done near instantaneously but with reported running times in the tens of minutes, except for an ARM job which seems stuck on something.
gibfahn commentedon Jul 24, 2017
I think this is the (fixed in next release) bug report: https://issues.jenkins-ci.org/browse/JENKINS-36333
I don't think this has anything to do with the Rebuild Plugin, the
Resume Buildbutton was I think there before. I could be wrong though.EDIT: Looking at this feature request, which I think is the one that added
Resume Build, it looks like all it does is rebuild the sub-jobs that failed, so it's not a huge issue.Unfortunately we won't be able to update to the newer version of Jenkins until all our machines use Java 8.
rvagg commentedon Jul 25, 2017
btw I installed this really early on but it was removed because of this security problem, somehow we've lost this institutional knowledge and I'm not really sure how we retain it across people changes. Interesting data point nonetheless. Sorry I missed this issue and the fact that it was back again!
refack commentedon Jul 25, 2017
IMHO the only issue with this is DOS, and that might be mitigated by that you can only
Resumeeach job once.gibfahn commentedon Jul 26, 2017
@rvagg which security problem, am I wrong in saying:
?