AMDVLK/Jenkinsfile

27 lines
515 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 23:49:32 +03:00
pipeline {
agent none
stages {
stage("BuildPackage") {
agent { label "linux-build && ubuntu" }
steps {
runScript()
}
2018-03-24 00:51:33 +03:00
}
2018-03-23 23:49:32 +03:00
}
}
def runScript() {
def workDir = "${WORKSPACE}"
sh "python ${WORKSPACE}/utils/amdvlk_build_deb_from_tag.py -w ${WORKSPACE} -a ${githubToken}"
}