mirror of https://github.com/n64decomp/mk64.git
Try to add total progress as a badge. (#99)
This commit is contained in:
parent
8e5ad3368d
commit
93134bb0d4
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in New Issue