Update Jenkinsfile.pr

Signed-off-by: Riz Urian <98958099+rizjosel@users.noreply.github.com>
This commit is contained in:
Riz Urian 2025-12-27 09:08:40 +08:00 committed by GitHub
parent 5b31262628
commit ac3e48b5aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,6 +15,14 @@ pipeline {
stages {
stage('Notify GitHub Pending') {
steps {
script {
githubNotify context: 'Jenkins CI', status: 'PENDING'
}
}
}
stage('List Workspace') {
steps {
sh 'ls -l'
@ -68,4 +76,17 @@ pipeline {
}
}
}
post {
success {
script {
githubNotify context: 'Jenkins CI', status: 'SUCCESS'
}
}
failure {
script {
githubNotify context: 'Jenkins CI', status: 'FAILURE'
}
}
}
}