AMDVLK/Jenkinsfile

27 lines
509 B
Plaintext
Raw Normal View History

#!/usr/bin/env groovy
/**
* Pipeline for building and upload deb package of AMDVLK
*
* Build parameters:
* @githubToken: token to access github
*/
2018-03-23 16:49:32 -04:00
pipeline {
agent none
stages {
stage("BuildPackage") {
agent { label "ubuntu && 16-04" }
steps {
runScript()
}
2018-03-23 17:51:33 -04:00
}
2018-03-23 16:49:32 -04:00
}
}
def runScript() {
def workDir = "${WORKSPACE}"
sh "python ${WORKSPACE}/utils/amdvlk_build_deb_from_tag.py -w ${WORKSPACE} -a ${githubToken}"
}