summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2023-04-03 12:22:52 -0400
committerGitHub <noreply@github.com>2023-04-03 12:22:52 -0400
commit817a05c1abdee0009c625b0bba7971e6ab9501c0 (patch)
treee756138e4d94ab26fe6c9f35a7658d2ad518c5d5 /Jenkinsfile
parent35cb5d1cfc163b95f48a2bc4f1f22bbff6e9e109 (diff)
Frogress script (#10)
* initial progress script * uploadfrogress script * Add Frogress step to Jenkinsfile * rename to animalforest * badge * ZeldaRET
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 05324d8..8f7ce46 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -3,6 +3,10 @@ pipeline {
label 'af'
}
+ environment {
+ FROGRESS_KEY = credentials('af_frogress_key')
+ }
+
options {
ansiColor('xterm')
}
@@ -41,6 +45,14 @@ pipeline {
sh 'bash -c "make -j uncompressed"'
}
}
+ stage('Upload to Frogress') {
+ when {
+ branch 'main'
+ }
+ steps {
+ sh 'python3 ./tools/upload_frogress.py jp --apikey $FROGRESS_KEY'
+ }
+ }
}
post {
failure {