-
Notifications
You must be signed in to change notification settings - Fork 52
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
chore(pipeline) switch to dedicated agent resources #2032
Conversation
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
Merging as the expected outcome is present:
But the expected goal is there: no more competition with the normal node pool |
timeout(120) { | ||
sh 'mvn -version' | ||
// Exclude DigitalOcean artifact caching proxy provider, currently unreliable on BOM builds | ||
// TODO: remove when https://github.com/jenkins-infra/helpdesk/issues/3481 is fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
withEnv(["JAVA_HOME=/opt/jdk-$params.jdk"]) { | ||
infra.withArtifactCachingProxy { | ||
withEnv([ | ||
"MAVEN_ARGS=${env.MAVEN_ARGS != null ? MAVEN_ARGS : ''} -B -ntp -Dmaven.repo.local=${WORKSPACE_TMP}/m2repo" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slightly clearer and more efficient to combine the two withEnv
steps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, thanks for the post review!
Opened #2033 for this one
sh ''' | ||
mvn -v | ||
bash pct.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Saving a sh
step per branch 👍
* Skip PCT by default on PRs * Run full tests weekly * Empty commit should suffice * `git branch -D` might be necessary Co-authored-by: Joseph Petersen <me@jetersen.dev> * Copying DB automerge workflow from #2031 * Revert #2032 for `prep` phase, retaining node pool for PCT #2034 (comment) --------- Co-authored-by: Joseph Petersen <me@jetersen.dev>
This PR is motivated by jenkins-infra/helpdesk#3521.
This PR switches to a set of resources dedciated to the BOM, to avoid blocking other plugins/projects builds on ci.jenkins.io.
Unlike the experiments in #1969, there is no change in the VM or agent sizing to deliver one change at a time.
Please note there are 2 minors changes in this PR:
mvn -v
SH steps into the principal steps[ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue