-
Notifications
You must be signed in to change notification settings - Fork 18
Jenkins setup breaks checkcommits #876
Comments
So, I understand what you are saying @jodh-intel , and it sounds plausible - but, has |
The problem is specific to our Jenkins setup, hence all CC repos I think Kata is fine as it's using Travis which has a pretty sane |
Basically, The question is, if we change the Jenkins config as I've suggested on clearcontainers/jenkins#40, will something else break I wonder? I can raise a test PR, but I'd like to get feedback from @sboeuf and @chavafg too. |
So this line is the guilty one: https://github.com/clearcontainers/tests/blob/master/.ci/jenkins_job_build.sh#L57 |
@chavafg @jodh-intel I am not sure about the details here for checkcommits, but please be very careful with this line since this is in charge of the whole sanity of the test. You gotta be careful that we don't end up testing the wrong version or even master in case we actually want to test a PR. |
Unless someone takes a look today, I'll have a go at doing #876 (comment) tomorrow and see if I can avoid breaking the world.... ;) |
@jodh-intel I don't have time to take a look today, but please let me know tomorrow how your investigations went. |
Rather than merging the PR commits directly into `master`, create a separate branch for the PR. This allows `checkcommits` to determine the changes the PR introduces. After `checkcommits` has run, merge the PR branch back into `master` since this is required for coveralls. Fixes clearcontainers#876. Signed-off-by: James O. D. Hunt <[email protected]>
Rather than merging the PR commits directly into `master`, create a separate branch for the PR. This allows `checkcommits` to determine the changes the PR introduces. After `checkcommits` has run, merge the PR branch back into `master` since this is required for coveralls. Fixes clearcontainers#876. Signed-off-by: James O. D. Hunt <[email protected]>
Rather than merging the PR commits directly into `master`, create a separate branch for the PR. This allows `checkcommits` to determine the changes the PR introduces. After `checkcommits` has run, merge the PR branch back into `master` since this is required for coveralls. Fixes clearcontainers#876. Signed-off-by: James O. D. Hunt <[email protected]>
Rather than merging the PR commits directly into `master`, create a separate branch for the PR. This allows `checkcommits` to determine the changes the PR introduces. After `checkcommits` has run, merge the PR branch back into `master` since this is required for coveralls. Fixes clearcontainers#876. Signed-off-by: James O. D. Hunt <[email protected]>
Rather than merging the PR commits directly into `master`, create a separate branch for the PR. This allows `checkcommits` to determine the changes the PR introduces. After `checkcommits` has run, merge the PR branch back into `master` since this is required for coveralls. Fixes clearcontainers#876. Signed-off-by: James O. D. Hunt <[email protected]>
One more tab should be placed for the current_branch variable to fix broken syntax. Fixes clearcontainers#876 Signed-off-by: Gabriela Cervantes <[email protected]>
.ci/jenkins_job_build.sh
is breakingcheckcommits
by not creating a separate branch for the PR under Jenkins.See: clearcontainers/jenkins#40.
The text was updated successfully, but these errors were encountered: