Skip to content

Commit 5d97a4a

Browse files
author
Vaughn Dice
authored
Merge pull request #100 from vdice/send-slack-channel-to-downstream-test-job
feat(Jenkinsfile): send slack channel to downstream test job
2 parents 1556280 + 1796ca3 commit 5d97a4a

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
@@ -127,7 +127,7 @@ def mktmp = {
127127
node('linux') {
128128
def author = "deis"
129129
def flags = ""
130-
130+
131131
if (git_branch != "remotes/origin/master") {
132132
author = env.CHANGE_AUTHOR
133133
echo "Skipping build of 386 binaries to shorten CI for Pull Requests"
@@ -159,8 +159,10 @@ stage 'Trigger e2e tests'
159159
waitUntil {
160160
try {
161161
def downstreamJob = git_branch == "remotes/origin/master" ? '/workflow-test' : '/workflow-test-pr'
162-
build job: downstreamJob, parameters: [[$class: 'StringParameterValue', name: 'WORKFLOW_CLI_SHA', value: git_commit],
163-
[$class: 'StringParameterValue', name: 'COMPONENT_REPO', value: 'controller-sdk-go']]
162+
build job: downstreamJob, parameters: [
163+
[$class: 'StringParameterValue', name: 'WORKFLOW_CLI_SHA', value: git_commit],
164+
[$class: 'StringParameterValue', name: 'COMPONENT_REPO', value: 'controller-sdk-go'],
165+
[$class: 'StringParameterValue', name: 'UPSTREAM_SLACK_CHANNEL', value: '#controller']]
164166
true
165167
} catch(error) {
166168
if (git_branch == "remotes/origin/master") {

0 commit comments

Comments
 (0)