-
Notifications
You must be signed in to change notification settings - Fork 151
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
Enable inline Jenkins build status on PRs #358
Comments
So we want to be using the citgm-continuous-integration job and they way I view this working is that we get a new PR in, we then comment @github-bot run ci or something when we know that they PR is safe to run and then the job is kicked off. When that happens we obviously want to set the citgm variable as the branch so for example gdams/citgm#testFork. We also want to run the ci on several node versions so at the moment we test travis on v4, v6 and v7 so there should be 3 job runs that should be reported back to GitHub |
Hm, okey... I'll describe what happens for nodejs/node for reference:
In other words there is very little magic done in @nodejs-github-bot this far to accomplish what we have in nodejs/node. Could we start off by doing the same for citgm, and improve with kicking off CI by commenting later or does that sound way off what you have in mind? |
Starting with what we have in core makes sense, it also means any changes we make can then easily be added to core if necessary. |
SGTM, I assume you're going to need to edit the Jenkins job? |
Yes. I'll start by making a copy of the current integration job and adjustments making it more similar to nodejs/node and we'll take it from there. |
@phillipj perfect. Can you set the job up so that it runs 3 jobs, ie v4, v6 & v7 on each PR? |
feel free to DM me on twitter and I'll help you set it up :) |
we no longer need travis as we are now using Jenkins CI build statuses inline in PRs nodejs#358
we no longer need travis as we are now using Jenkins CI build statuses inline in PRs nodejs#358
we no longer need travis as we are now using Jenkins CI build statuses inline in PRs nodejs#358
we no longer need travis as we are now using Jenkins CI build statuses inline in PRs nodejs#358
we no longer need travis as we are now using Jenkins CI build statuses inline in PRs nodejs#358
There's even some progress made in getting the bot aware of comments it gets mentioned in: nodejs/github-bot#128 |
@phillipj #394 (comment) this is very cool. One question, at the moment the bot says:
It'd be cool if it had the build number as well, so https://ci.nodejs.org/job/citgm-continuous-integration-pipeline/37/ , not sure how easy that would be. |
Nice! Completely agree about the comment made by the bot. Atm it's like that because Jenkins doesn't respond with the build number, seems to have been implemented that way because of the async nature of triggering (read quieing) a build. I assume we can improve that by polling Jenkins for a while after the API request was made, to figure out what number the most recent build would get. |
Opening this issue continuing a discussion ignited over in nodejs/github-bot#82.
Before I start fiddling around with getting Jenkins to report build statuses to the github-bot, I want to confirm which build we should do this on? I'm assuming citgm-continuous-integration or citgm-smoker?
Would you agree that we can start off by setting up Jenkins to report build status to a PR specified when starting a build, like we do in nodejs/node, or do you have something else in mind?
/cc @gibfahn @gdams
The text was updated successfully, but these errors were encountered: