Add reporting
Some checks failed
Flare Microsystems Git/FlarePublic/CrossJeeves/pipeline/pr-master There was a failure building this commit
Some checks failed
Flare Microsystems Git/FlarePublic/CrossJeeves/pipeline/pr-master There was a failure building this commit
This commit is contained in:
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@@ -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