AMDVLK/Jenkinsfile
Jacob He 45222f88e3 Update Jenkinsfile:
Build deb package on Ubuntu 16.04 so that it could be installed for both
Ubuntu 18.04 and Ubuntu 16.04
2019-01-08 16:39:48 +08:00

27 lines
509 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 && 16-04" }
steps {
runScript()
}
}
}
}
def runScript() {
def workDir = "${WORKSPACE}"
sh "python ${WORKSPACE}/utils/amdvlk_build_deb_from_tag.py -w ${WORKSPACE} -a ${githubToken}"
}