Add reporting
Flare Microsystems Git/FlarePublic/CrossJeeves/pipeline/pr-master There was a failure building this commit
Flare Microsystems Git/FlarePublic/CrossJeeves/pipeline/pr-master There was a failure building this commit
This commit is contained in:
Vendored
+10
@@ -36,4 +36,14 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
post {
|
||||||
|
success {
|
||||||
|
// Report success to Gitea
|
||||||
|
giteaSetCommitStatus(context: 'success', description: 'Build Passed', targetUrl: env.BUILD_URL)
|
||||||
|
}
|
||||||
|
failure {
|
||||||
|
// Report failure to Gitea
|
||||||
|
giteaSetCommitStatus(context: 'failure', description: 'Build Failed', targetUrl: env.BUILD_URL)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user