Skip to content

Commit

Permalink
Fix race condition with integration network
Browse files Browse the repository at this point in the history
  • Loading branch information
jc21 committed Jan 9, 2024
1 parent 025fc97 commit 6aee2bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,13 @@ pipeline {
}
stage('Cypress') {
steps {
// Creating will also create the network prior to
// using it in parallel stages below and mitigating
// a race condition.
sh 'docker-compose build cypress-sqlite'
sh 'docker-compose build cypress-mysql'
sh 'docker-compose create cypress-sqlite'
sh 'docker-compose create cypress-mysql'
}
}
}
Expand Down

0 comments on commit 6aee2bb

Please sign in to comment.