Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def call(
- String taskRegExps,
- String fromRevision,
- String toRevision,
- String flockCredential,
- Object options,
- Closure body
- ) {
- /*
- Options:
- - pullRequestLinkTemplate - default value "..bla bla",
- - taskLinkTemplate - default value "..bla bla",
- - environment - default value empty "",
- - deployer: {username, flockUserId},
- - serviceName - default value empty "",
- */
- def CHARON_VERSION = "master"
- // ...........
- try {
- body()
- try {
- send(msg, false)
- } (e) {
- // mark build unstable
- // write message "all is ok, but we can't send message to flock, check token"
- }
- } catch (e) {
- send(msg, true)
- throw e
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement