1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-26 22:56:20 +00:00
oot/Jenkinsfile
2020-06-21 17:50:32 -04:00

32 lines
708 B
Groovy

pipeline {
agent any
stages {
stage('Setup') {
steps {
echo 'Setting up...'
sh 'cp /usr/local/etc/roms/baserom_oot.z64 baserom_original.z64'
sh 'make -j`nproc` setup'
}
}
stage('Build') {
steps {
echo 'Building...'
sh 'make -j`nproc`'
}
}
stage('Report Progress') {
when {
branch 'master'
}
steps {
sh 'python3 progress.py -c >> /var/www/html/reports/progress.csv'
}
}
}
post {
always {
cleanWs()
}
}
}