-
Notifications
You must be signed in to change notification settings - Fork 119
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
Jenkins CI status: Bot should not look for latest commit in PR #157
Comments
As far as I remember, we tried to base the Jenkins <-> GitHub PR status logic on the For all I know, this has changed meaning the SHA that Jenkins provides is actually valid SHA on github.com? |
Oh, I see. I assume that is/was because we do the rebasing before actually running test? I don’t know, but if I look at things like https://ci.nodejs.org/job/node-test-commit/14072/ then the |
We might give the commit SHA from Jenkins a new shot. What's provided to the bot by Jenkins post build has just gotten a significant refactor; https://github.com/nodejs/build/pull/973/files Maybe @maclover7 has some input on this? Are there more than one commit SHA available that we can investigate is the one github.com knows? |
Hmm, yeah, I believe the original reason is due to the rebasing done on certain platforms. If we want to try and change the settings during an off-hour-ish time, works for me, but an issue should probably be opened in nodejs/build too :) |
Right now the bot looks for the latest commit in a PR, but it should refer to the commit that the build was kicked off for.
It seems like there’s a
commit
field in the Jenkins push event body, so that should be pretty simple to do, I just don’t really know how to test this?The text was updated successfully, but these errors were encountered: