fd0e5dbc75
Build the deb package on Ubuntu only
27 lines
515 B
Groovy
27 lines
515 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 "linux-build && ubuntu" }
|
|
steps {
|
|
runScript()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
def runScript() {
|
|
def workDir = "${WORKSPACE}"
|
|
|
|
sh "python ${WORKSPACE}/utils/amdvlk_build_deb_from_tag.py -w ${WORKSPACE} -a ${githubToken}"
|
|
}
|