papermario/Jenkinsfile

32 lines
659 B
Plaintext
Raw Normal View History

2020-08-15 06:12:23 +02:00
pipeline {
agent any
stages {
stage('Setup') {
steps {
2020-08-15 06:20:15 +02:00
sh 'cp /usr/local/etc/roms/baserom_pm.z64 baserom.z64'
2020-08-15 06:16:19 +02:00
sh 'make setup'
2020-08-15 06:12:23 +02:00
}
}
stage('Build') {
steps {
echo 'Building...'
sh 'make -j'
}
}
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'
}
}
2020-08-15 06:12:23 +02:00
}
post {
always {
cleanWs()
}
}
}