mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-10 19:20:13 +00:00
parent
8f0549cd9a
commit
9b9a983860
1 changed files with 22 additions and 5 deletions
27
Jenkinsfile
vendored
27
Jenkinsfile
vendored
|
@ -1,5 +1,7 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent {
|
||||||
|
label 'oot'
|
||||||
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Check for unused asm') {
|
stage('Check for unused asm') {
|
||||||
|
@ -9,7 +11,6 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Setup') {
|
stage('Setup') {
|
||||||
steps {
|
steps {
|
||||||
echo 'Setting up...'
|
|
||||||
sh 'cp /usr/local/etc/roms/baserom_oot.z64 baserom_original.z64'
|
sh 'cp /usr/local/etc/roms/baserom_oot.z64 baserom_original.z64'
|
||||||
sh 'make -j setup'
|
sh 'make -j setup'
|
||||||
}
|
}
|
||||||
|
@ -37,9 +38,25 @@ pipeline {
|
||||||
branch 'master'
|
branch 'master'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'python3 progress.py csv >> /var/www/html/reports/progress.csv'
|
sh 'mkdir reports'
|
||||||
sh 'python3 progress.py csv -m >> /var/www/html/reports/progress_matching.csv'
|
sh 'python3 progress.py csv >> reports/progress.csv'
|
||||||
sh 'python3 progress.py shield-json > /var/www/html/reports/progress_shield.json'
|
sh 'python3 progress.py csv -m >> reports/progress_matching.csv'
|
||||||
|
sh 'python3 progress.py shield-json > reports/progress_shield.json'
|
||||||
|
stash includes: 'reports/*', name: 'reports'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Update Progress') {
|
||||||
|
when {
|
||||||
|
branch 'master'
|
||||||
|
}
|
||||||
|
agent {
|
||||||
|
label 'master'
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
unstash 'reports'
|
||||||
|
sh 'cat reports/progress.csv >> /var/www/html/reports/progress.csv'
|
||||||
|
sh 'cat reports/progress_matching.csv >> /var/www/html/reports/progress_matching.csv'
|
||||||
|
sh 'cat reports/progress_shield.json > /var/www/html/reports/progress_shield.json'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue