papermario/Jenkinsfile

31 lines
713 B
Plaintext
Raw Normal View History

2020-08-15 06:12:23 +02:00
pipeline {
agent any
stages {
stage('Setup') {
steps {
2021-01-15 01:04:40 +01:00
sh './configure.py --baserom /usr/local/etc/roms/baserom_pm.z64'
2020-08-15 06:12:23 +02:00
}
}
stage('Build') {
steps {
2021-01-15 01:04:40 +01:00
sh 'ninja'
2020-08-15 06:12:23 +02:00
}
}
2021-01-04 14:50:33 +01:00
stage('Report Progress') {
when {
branch 'master'
}
steps {
sh 'python3 progress.py --csv >> /var/www/papermar.io/html/reports/progress.csv'
2021-01-15 17:28:05 +01:00
sh 'python3 progress.py --shield-json >> /var/www/papermar.io/html/reports/progress_shield.json'
2021-01-04 14:50:33 +01:00
}
}
2020-08-15 06:12:23 +02:00
}
post {
always {
cleanWs()
}
}
}