Skip to content

Commit

Permalink
chore(Jenkinsfile) increase DockerHub rate limit with authentication (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dduportal authored Jul 25, 2024
1 parent 038071f commit b1e9d05
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ stage('Record builds and sessions') {
}
axes['jenkinsVersions'].each { jenkinsVersion ->
infra.withArtifactCachingProxy {
sh "rm -rf target && DISPLAY=:0 ./run.sh firefox ${jenkinsVersion} -Dmaven.repo.local=${WORKSPACE_TMP}/m2repo -B clean process-test-resources"
// Need to authenticate on DockerHub with a read-only account to avoid rate limit
infra.withDockerCredentials {
sh "rm -rf target && DISPLAY=:0 ./run.sh firefox ${jenkinsVersion} -Dmaven.repo.local=${WORKSPACE_TMP}/m2repo -B clean process-test-resources"
}
}
def coreCommit = sh(script: './core-commit.sh', returnStdout: true).trim()
/*
Expand Down

0 comments on commit b1e9d05

Please sign in to comment.