Skip to content

Commit 958a3ab

Browse files
author
Vaughn Dice
committed
fix(Jenkinsfile): update downstream test job
1 parent eb21ef2 commit 958a3ab

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Jenkinsfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,13 +200,14 @@ parallel(
200200

201201
stage 'Trigger e2e tests'
202202

203-
// If build is on master, trigger workflow-test, otherwise, assume build is a PR and trigger workflow-test-pr
204203
waitUntil {
205204
try {
206-
def downstreamJob = git_branch == "remotes/origin/master" ? '/workflow-test' : '/workflow-test-pr'
207-
build job: downstreamJob, parameters: [
205+
def chartRepoType = git_branch == "remotes/origin/master" ? 'dev' : 'pr'
206+
build job: 'workflow-chart-e2e', parameters: [
208207
[$class: 'StringParameterValue', name: 'WORKFLOW_CLI_SHA', value: git_commit],
208+
[$class: 'StringParameterValue', name: 'ACTUAL_COMMIT', value: git_commit],
209209
[$class: 'StringParameterValue', name: 'COMPONENT_REPO', value: 'workflow-cli'],
210+
[$class: 'StringParameterValue', name: 'CHART_REPO_TYPE', value: chartRepoType],
210211
[$class: 'StringParameterValue', name: 'UPSTREAM_SLACK_CHANNEL', value: '#controller']]
211212
true
212213
} catch(error) {

0 commit comments

Comments
 (0)