This commit is contained in:
Jamie Curnow 2023-03-08 09:39:15 +10:00
parent a232ab8d14
commit ee1072811f
No known key found for this signature in database
GPG key ID: FFBB624C43388E9E

1
Jenkinsfile vendored
View file

@ -97,6 +97,7 @@ pipeline {
post {
failure {
script {
echo "SHOUTPUT:\n---------------\n${SHOUTPUT}\n--------------\n"
if (env.BRANCH_NAME.startsWith('PR') && SHOUTPUT?.trim()) {
def comment = pullRequest.comment("CI Error:\n\n```\n${SHOUTPUT}\n```")
}