Skip to content

Commit

Permalink
Merge pull request #1100 from alphagov/update-jenkinsfile
Browse files Browse the repository at this point in the history
Run Pact Tests for Whitehall as part of CI
  • Loading branch information
1pretz1 authored Jul 26, 2021
2 parents 888bd05 + fceca25 commit baf1db6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ node("postgresql-9.6") {
name: 'IMMINENCE_BRANCH',
defaultValue: 'main',
description: 'Branch of imminence to run pacts against'
),
stringParam(
name: 'WHITEHALL_BRANCH',
defaultValue: 'main',
description: 'Branch of whitehall to run pacts against'
)
],
afterTest: {
Expand All @@ -57,6 +62,7 @@ node("postgresql-9.6") {
runPactTests(govuk, "account-api", ACCOUNT_API_BRANCH, [ resetDatabase: true ])
runPactTests(govuk, "link-checker-api", LINK_CHECKER_API_BRANCH, [ resetDatabase: true ])
runPactTests(govuk, "imminence", IMMINENCE_BRANCH, [ resetDatabase: true, createIndexes: true ])
runPactTests(govuk, "whitehall", IMMINENCE_BRANCH, [ resetDatabase: true ])
}
}
)
Expand Down

0 comments on commit baf1db6

Please sign in to comment.