Skip to content

Commit 8dc832f

Browse files
authored
Merge pull request #9399 from allysmith424/fix-jenkinsfile
jenkinsfile fixes
2 parents 6f93c76 + ddfc403 commit 8dc832f

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

Jenkinsfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pipeline {
4848
docker build -t docs/docker.github.io:prod-${env.BUILD_NUMBER} .
4949
docker tag docs/docker.github.io:prod-${env.BUILD_NUMBER} docs/docker.github.io:latest
5050
docker push docs/docker.github.io:prod-${env.BUILD_NUMBER}
51-
docker push docs/docker.github.io:latest .
51+
docker push docs/docker.github.io:latest
5252
unzip -o $UCP_BUNDLE
5353
cd ucp-bundle-success_bot
5454
export DOCKER_TLS_VERIFY=1
@@ -107,4 +107,11 @@ pipeline {
107107
}
108108
}
109109
}
110+
post {
111+
unsuccessful {
112+
sh """
113+
curl -X POST -H 'Content-type: application/json' --data '{"text":"Error in docker.github.io:published build. Please contact the Customer Success Engineering team for help."}' $SLACK
114+
"""
115+
}
116+
}
110117
}

0 commit comments

Comments
 (0)