Skip to content

Commit

Permalink
Merge pull request #844 from jenkinsci/dduportal-patch-1
Browse files Browse the repository at this point in the history
 chore(Jenkinsfile) increase DockerHub rate limit with authentication
  • Loading branch information
dduportal authored Jul 25, 2024
2 parents c8e0306 + 43834d6 commit 2f77bcf
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,15 @@ pipeline {
}
steps {
script {
if(isUnix()) {
sh './build.sh'
sh './build.sh test'
// If the tests are passing for Linux AMD64, then we can build all the CPU architectures
sh 'docker buildx bake --file docker-bake.hcl linux'
} else {
powershell '& ./build.ps1 test'
infra.withDockerCredentials {
if(isUnix()) {
sh './build.sh'
sh './build.sh test'
// If the tests are passing for Linux AMD64, then we can build all the CPU architectures
sh 'docker buildx bake --file docker-bake.hcl linux'
} else {
powershell '& ./build.ps1 test'
}
}
}
}
Expand Down

0 comments on commit 2f77bcf

Please sign in to comment.