Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

Commit

Permalink
Switch to new trySlackSend named colors
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Levand <geoff@infradead.org>
  • Loading branch information
glevand committed Feb 23, 2018
1 parent 9053916 commit ecaeeda
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion os/board/sign-image.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ stage('Wait') {
def msg = """The ${params.BOARD} ${version ?: "UNKNOWN"} build is waiting for the boot loader files to be signed for Secure Boot and uploaded to continue.\n
When all boot loader files are uploaded, go to ${BUILD_URL}input and proceed with the build."""

trySlackSend color: '#C0C0C0', message: msg
trySlackSend color: 'grey', message: msg
input 'Waiting for the signed UEFI binaries to be ready...'
}

Expand Down
2 changes: 1 addition & 1 deletion os/docs-sync.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ git -C coreos-pages push -f ${forkUrl} ${branch}
sourceBranch: branch,
title: "os: sync ${version}",
message: "From: ${env.BUILD_URL}"
trySlackSend color: '#2020C0',
trySlackSend color: 'persian',
message: "${version} (${channel}) docs: ${url}"
}
}
Expand Down
2 changes: 1 addition & 1 deletion os/glsa.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ exit 0 # Do not return a non-zero $? from above.
def color = readFile 'status.txt'
def message = readFile 'notify.txt'
if (message)
trySlackSend color: color ?: '#C0C0C0', message: """${message}
trySlackSend color: color ?: 'grey', message: """${message}
Run `update_ebuilds --commit --portage=rsync metadata/glsa` in the SDK to \
update GLSA definitions."""
}
Expand Down
2 changes: 1 addition & 1 deletion os/manifest.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ do
done
''' /* Editor quote safety: ' */
}
trySlackSend color: '#2020C0', message: readFile('message.txt').trim()
trySlackSend color: 'persian', message: readFile('message.txt').trim()
}
}
}
Expand Down

0 comments on commit ecaeeda

Please sign in to comment.