Skip to content

Commit

Permalink
Enable wa ft based on GitHub label (#2010)
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Elliott <tomelliott@Toms-MacBook-Pro.local>
  • Loading branch information
tomxelliott and Tom Elliott authored Dec 12, 2024
1 parent fd8b950 commit e26c724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile_CNP
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ withPipeline(type, product, component) {
env.TASK_MANAGEMENT_API_URL = "https://wa-task-management-api-sptribs-case-api-pr-${CHANGE_ID}.preview.platform.hmcts.net"
env.ROLE_ASSIGNMENT_API_URL = "https://am-org-role-mapping-service-sptribs-case-api-pr-${CHANGE_ID}.preview.platform.hmcts.net"

for (label in githubApi.getLabelsbyPattern(env.BRANCH_NAME, "pr-values:wa") ) {
for (label in githubApi.getLabelsbyPattern(env.BRANCH_NAME, "pr-values:wa-ft-tests") ) {
env.WA_FUNCTIONAL_TESTS_ENABLED = true
}

Expand Down

0 comments on commit e26c724

Please sign in to comment.