VintageStorage/Jenkinsfile

49 lines
No EOL
927 B
Groovy

pipeline {
agent any
options {
buildDiscarder (
logRotator (
numToKeepStr: '5'
)
)
}
stages {
stage ("Build Prep") {
agent {
label 'linux'
}
steps {
sh '''
#!/bin/bash
git submodule update --init --recursive
update_vs_dotgame
chmod +x build.sh
'''
}
}
stage ("Build & Archive") {
agent {
label 'linux'
}
steps {
sh '''
#!/bin/bash
./build.sh
'''
}
post {
always {
archiveArtifacts artifacts: "Releases/*.zip"
cleanWs()
}
}
}
}
}