Skip to content

Commit f37432b

Browse files
author
Vaughn Dice
committed
feat(Jenkinsfile): send COMPONENT_REPO param to e2e job
1 parent 8c843a6 commit f37432b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Jenkinsfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,11 @@ stage 'Trigger e2e tests'
178178
waitUntil {
179179
try {
180180
if (git_branch == "remotes/origin/master") {
181-
build job: '/workflow-test', parameters: [[$class: 'StringParameterValue', name: 'WORKFLOW_CLI_SHA', value: git_commit]]
181+
build job: '/workflow-test', parameters: [[$class: 'StringParameterValue', name: 'WORKFLOW_CLI_SHA', value: git_commit],
182+
[$class: 'StringParameterValue', name: 'COMPONENT_REPO', value: 'workflow-cli']]
182183
} else {
183-
build job: '/workflow-test-pr', parameters: [[$class: 'StringParameterValue', name: 'WORKFLOW_CLI_SHA', value: git_commit]]
184+
build job: '/workflow-test-pr', parameters: [[$class: 'StringParameterValue', name: 'WORKFLOW_CLI_SHA', value: git_commit],
185+
[$class: 'StringParameterValue', name: 'COMPONENT_REPO', value: 'workflow-cli']]
184186
}
185187
true
186188
} catch(error) {

0 commit comments

Comments
 (0)