File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ def buildSite(destination) {
5
5
try {
6
6
sh " bin/build.sh " + destination
7
7
} catch (err) {
8
- sh " bin/slack-notify.sh --stage 'build " + env. BRANCH_NAME + " ' --status 'failed' "
8
+ sh " bin/slack-notify.sh --stage 'build " + env. BRANCH_NAME + " ' --status failure "
9
9
throw err
10
10
}
11
11
}
@@ -16,10 +16,10 @@ def syncS3(String bucket) {
16
16
try {
17
17
sh " cd dist && aws s3 sync . s3://" + bucket + " --acl public-read --delete --profile protocol"
18
18
} catch (err) {
19
- sh " bin/slack-notify.sh --stage 's3 sync " + env. BRANCH_NAME + " ' --status 'failed' "
19
+ sh " bin/slack-notify.sh --stage 's3 sync " + env. BRANCH_NAME + " ' --status failure "
20
20
throw err
21
21
}
22
- sh " bin/slack-notify.sh --stage 's3 sync " + env. BRANCH_NAME + " ' --status ' shipped' "
22
+ sh " bin/slack-notify.sh --stage 's3 sync " + env. BRANCH_NAME + " ' --status shipped"
23
23
}
24
24
}
25
25
You can’t perform that action at this time.
0 commit comments