Skip to content

Commit

Permalink
Fix docker registry auth for PRs pipeline (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoMDomingues authored Feb 8, 2024
1 parent aecc3e6 commit 39b85f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Jenkins/PRUnitTestRunner.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ void prRunner(String cmakeBuildType, String platform, String dockerTag) {
checkout scm
}

sh "gcloud auth configure-docker europe-west1-docker.pkg.dev --quiet"

stage("Build\n[$cmakeBuildType $platform]") {
docker.image("europe-west1-docker.pkg.dev/sym-dev-rtc/rtc-jenkins-tools/buildsmb-$platform:$dockerTag").inside {
env.GIT_COMMITTER_NAME = "Jenkins deployment job"
Expand All @@ -30,7 +32,7 @@ void prRunner(String cmakeBuildType, String platform, String dockerTag) {
abortPreviousRunningBuilds()
parallel "Release el7": {
node('be-integration') {
prRunner("Release", "el7", "1f7ef85")
prRunner("Release", "el7", "latest")
}
}, "Release AWS-linux": {
node('be-integration') {
Expand Down

0 comments on commit 39b85f7

Please sign in to comment.