Try to add total progress as a badge. (#99)

This commit is contained in:
val 2021-12-18 01:22:15 -05:00 committed by GitHub
parent 8e5ad3368d
commit 93134bb0d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

13
Jenkinsfile vendored
View File

@ -1,3 +1,5 @@
def progressReport = addEmbeddableBadgeConfiguration(id: "totalProgress", subject: "Total Progress")
pipeline {
agent any
stages {
@ -20,6 +22,17 @@ pipeline {
sh 'make -j4 VERSION=us'
}
}
stage('Update progress') {
steps {
script {
progress = sh(
script: "python3 progress.py badge1",
returnStdOut: true).trim()
progressBadge.setStatus(progress)
}
}
}
}
environment {
QEMU_IRIX = credentials('qemu-irix')