-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI status updates to GitHub stuck at yellow #790
Comments
Dumping out some observations while digging into this:
As the bot hasn't gotten any recent changes within the last two days, I'm suspecting something Jenkins related at the moment. |
Seems like the post build step configured to report the build result to the bot via Pretty certain the same thing was done to report @nodejs/jenkins-admins has something particular been done to Jenkins or the nodejs/node related builds the last couple of days? |
@phillipj I can confirm that is correct. The build step to mark as I took a look at the OSX job (picked randomly - any would have worked). The last modification was in 2016. The script to mark as Thus, something in some plugin changed and what we were doing is no longer supported. We must find a new way or better understand what happened. |
ping @nodejs/build |
Looks like we used the PostBuildScript plugin which was suspended in June and I cannot seem to find any replacement. I have no idea how to execute shell commands post build without that plugin in place. |
I can't explore this now, but someone else might be able to pick this up. If we create a new job with the script to post a success/failure to GH (based on a parameter), we may be able to use |
ping @nodejs/build... is there anyway I can help with getting this working again? |
@maclover7 if you have an idea how to add a post-build-command to all the jobs, or if you can investigate the status of PostBuildScript plugin (maybe it's vulnerability does not affect our setup). |
The third alternative, if we can't get Jenkins to do as before, is to
implement build polling in the bot. That's a lot more hassle and complexity
in the bot, but an alternative nonetheless.
…On Sat, 14 Oct 2017 at 17:20, Refael Ackermann ***@***.***> wrote:
@maclover7 <https://github.com/maclover7> if you have an idea how to add
a post-build-command to all the jobs, or if you can investigate the status
of PostBuildScript plugin
<https://wiki.jenkins.io/display/JENKINS/PostBuildScript+Plugin> (maybe
it's vulnerability does not affect our setup).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#790 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABLLE_xE3o_uawdDMWsq-WsR8XKfW_09ks5ssNE3gaJpZM4OU_LA>
.
|
The Post build task plugin might also be an alternative. Maybe we can try out one solution, see what happens, and then go from there? Unfortunately I'm not a member of the Build WG, but maybe a sandbox job could be created to test this out. |
@maclover7 this really needs someone to test it with their own repo and get something that works. Once we have that we can just PR changes to the github-bot repo (and someone can change whatever secret is needed in the Jenkins config). |
This creates a new `post-build-status-update` Jenkins Pipeline. It's job is to propogate build information from Jenkins CI to the GitHub Bot to GitHub. The pipeline created here will be called from node-test-commit-* sub build jobs through the [Parameterized Trigger Plugin](https://wiki.jenkins.io/display/JENKINS/Parameterized+Trigger+Plugin). The way this would be used is by creating pre and post build triggers through the plugin, which would call this pipeline. My suggestion is that we woll this out to one or two jobs (maybe the linter?), try it out, and then after that roll it out to all sub builds. Hopefully, this PR should finally fix the yellow CI statuses on GitHub! Refs: nodejs#790
This creates a new `post-build-status-update` Jenkins Pipeline. It's job is to propogate build information from Jenkins CI to the GitHub Bot to GitHub. The pipeline created here will be called from node-test-commit-* sub build jobs through the [Parameterized Trigger Plugin](https://wiki.jenkins.io/display/JENKINS/Parameterized+Trigger+Plugin). The way this would be used is by creating pre and post build triggers through the plugin, which would call this pipeline. My suggestion is that we woll this out to one or two jobs (maybe the linter?), try it out, and then after that roll it out to all sub builds. Hopefully, this PR should finally fix the yellow CI statuses on GitHub! PR-URL: #973 Refs: #790 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
#973 has been rolled out to all node-test-commit sub jobs, so hopefully this should be resolved! @nodejs/collaborators green/red CI status lights should be appearing now in PRs... if you encounter any errors please post here on this issue to try and keep the discussion all in one place. Unless any huge errors come up, will close out this issue in a few days ❤️ |
This largely seems fixed and to be working, going to close for now :) |
nodejs/node#14067
https://ci.nodejs.org/job/node-test-commit/11055/
The text was updated successfully, but these errors were encountered: