2020-03-17 01:54:42 -04:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('Setup') {
|
|
|
|
steps {
|
|
|
|
echo 'Setting up...'
|
2020-03-28 17:34:57 -04:00
|
|
|
sh 'cp /usr/local/etc/roms/baserom_oot.z64 baserom_original.z64'
|
2020-04-05 12:18:58 -04:00
|
|
|
sh 'make -j`nproc` setup'
|
2020-03-17 01:54:42 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build') {
|
|
|
|
steps {
|
|
|
|
echo 'Building...'
|
2020-04-05 12:12:25 -04:00
|
|
|
sh 'make -j`nproc`'
|
2020-03-17 01:54:42 -04:00
|
|
|
}
|
|
|
|
}
|
2020-05-26 16:36:30 -04:00
|
|
|
stage('Report Progress') {
|
|
|
|
when {
|
|
|
|
branch 'master'
|
|
|
|
}
|
|
|
|
steps {
|
2020-06-21 17:50:32 -04:00
|
|
|
sh 'python3 progress.py -c >> /var/www/html/reports/progress.csv'
|
2020-05-26 16:36:30 -04:00
|
|
|
}
|
|
|
|
}
|
2020-03-17 01:54:42 -04:00
|
|
|
}
|
|
|
|
post {
|
|
|
|
always {
|
|
|
|
cleanWs()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|