mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
31 lines
712 B
Groovy
31 lines
712 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Setup') {
|
|
steps {
|
|
sh './configure.py --baserom /usr/local/etc/roms/baserom_pm.z64'
|
|
}
|
|
}
|
|
stage('Build') {
|
|
steps {
|
|
sh 'ninja'
|
|
}
|
|
}
|
|
stage('Report Progress') {
|
|
when {
|
|
branch 'master'
|
|
}
|
|
steps {
|
|
sh 'python3 progress.py --csv >> /var/www/papermar.io/html/reports/progress.csv'
|
|
sh 'python3 progress.py --shield-json > /var/www/papermar.io/html/reports/progress_shield.json'
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
always {
|
|
cleanWs()
|
|
}
|
|
}
|
|
}
|