Update Jenkinsfile.pr

Signed-off-by: Riz Urian <98958099+rizjosel@users.noreply.github.com>
This commit is contained in:
Riz Urian 2025-12-27 10:14:31 +08:00 committed by GitHub
parent 52dae1a9d5
commit ef9dc3fd1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,11 +14,17 @@ pipeline {
steps {
setGitHubPullRequestStatus(
context: 'Jenkins CI',
status: 'PENDING'
state: 'PENDING'
)
}
}
stage('List Workspace') {
steps {
sh 'ls -l'
}
}
stage('CI / Unit Tests') {
steps {
sh './gradlew clean build -x test'
@ -52,13 +58,13 @@ pipeline {
success {
setGitHubPullRequestStatus(
context: 'Jenkins CI',
status: 'SUCCESS'
state: 'SUCCESS'
)
}
failure {
setGitHubPullRequestStatus(
context: 'Jenkins CI',
status: 'FAILURE'
state: 'FAILURE'
)
}
}