Skip to content

Commit 1796ca3

Browse files
author
Vaughn Dice
committed
feat(Jenkinsfile): send slack channel to downstream test job
1 parent 7e3b88e commit 1796ca3

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Jenkinsfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def mktmp = {
130130
node('linux') {
131131
def author = "deis"
132132
def flags = ""
133-
133+
134134
if (git_branch != "remotes/origin/master") {
135135
author = env.CHANGE_AUTHOR
136136
echo "Skipping build of 386 binaries to shorten CI for Pull Requests"
@@ -162,8 +162,10 @@ stage 'Trigger e2e tests'
162162
waitUntil {
163163
try {
164164
def downstreamJob = git_branch == "remotes/origin/master" ? '/workflow-test' : '/workflow-test-pr'
165-
build job: downstreamJob, parameters: [[$class: 'StringParameterValue', name: 'WORKFLOW_CLI_SHA', value: git_commit],
166-
[$class: 'StringParameterValue', name: 'COMPONENT_REPO', value: 'controller-sdk-go']]
165+
build job: downstreamJob, parameters: [
166+
[$class: 'StringParameterValue', name: 'WORKFLOW_CLI_SHA', value: git_commit],
167+
[$class: 'StringParameterValue', name: 'COMPONENT_REPO', value: 'controller-sdk-go'],
168+
[$class: 'StringParameterValue', name: 'UPSTREAM_SLACK_CHANNEL', value: '#controller']]
167169
true
168170
} catch(error) {
169171
if (git_branch == "remotes/origin/master") {

0 commit comments

Comments
 (0)