Skip to content

Problems updating CI status for jobs that git rebase #983

@maclover7

Description

@maclover7

Take a look at this node-test-commit-arm-fanned build and its corresponding post-build-status-update build. If you pull up the parameters for the post-build-status-update, you can see that COMMIT is ${GIT_COMMIT}, due to the git-rebase job that was run with arm-fanned, clearing the environment variable automatically set by Jenkins.

Biggest problem is that this is causing the wrong CI status to be sent to be GitHub. Related problem (I myself don't have context on this, part of why I'm opening the issue) is why we would need to run git-rebase on certain node-test-commit sub jobs, but not on others :(

cc @MylesBorins, I think this may have been part of what was causing the issue for you in nodejs/node#16848
cc @refack @gibfahn

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions