diff --git a/.jenkins/linux-x86_64-docker-all-publish.jenkinsfile b/.jenkins/linux-x86_64-docker-all-publish.jenkinsfile index f853fdbd2..2e1708e57 100644 --- a/.jenkins/linux-x86_64-docker-all-publish.jenkinsfile +++ b/.jenkins/linux-x86_64-docker-all-publish.jenkinsfile @@ -20,20 +20,22 @@ */ pipeline { - agent none + agent { + dockerfile { + filename 'Dockerfile' + dir '.docker' + label 'linux && docker && cuda' + //additionalBuildArgs '--build-arg version=1.0.2' + //args '--gpus all' --needed for test only, you can build without GPU + } + } stages { + stage("Build all chip") { parallel { - agent { - dockerfile { - filename 'Dockerfile' - dir '.docker' - label 'linux && docker && cuda' - //additionalBuildArgs '--build-arg version=1.0.2' - //args '--gpus all' --needed for test only, you can build without GPU - } - } + stage('prep-build-environment-linux-cuda') { + steps { checkout scm //sh 'nvidia-smi' @@ -59,5 +61,6 @@ pipeline { } } } + } } }