AMDVLK/Jenkinsfile
2020-05-14 17:55:48 +08:00

27 lines
525 B
Groovy

#!/usr/bin/env groovy
/**
* Pipeline for building and upload deb package of AMDVLK
*
* Build parameters:
* @githubToken: token to access github
*/
pipeline {
agent none
stages {
stage("BuildPackage") {
agent { label "ubuntu && 18.04 && linux-build" }
steps {
runScript()
}
}
}
}
def runScript() {
def workDir = "${WORKSPACE}"
sh "python3 ${WORKSPACE}/utils/amdvlk_build_deb_from_tag.py -w ${WORKSPACE} -a ${githubToken}"
}