mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
32 lines
659 B
Groovy
32 lines
659 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Setup') {
|
|
steps {
|
|
sh 'cp /usr/local/etc/roms/baserom_pm.z64 baserom.z64'
|
|
sh 'make setup'
|
|
}
|
|
}
|
|
stage('Build') {
|
|
steps {
|
|
echo 'Building...'
|
|
sh 'make -j'
|
|
}
|
|
}
|
|
stage('Report Progress') {
|
|
when {
|
|
branch 'master'
|
|
}
|
|
steps {
|
|
sh 'python3 progress.py --csv >> /var/www/papermar.io/html/reports/progress.csv'
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
always {
|
|
cleanWs()
|
|
}
|
|
}
|
|
}
|