Add jenkinsfile for pipeline build and dockerfile for build

Signed-off-by: brian <brian@brutex.de>
master
Brian Rosenberger 2022-10-26 10:25:27 +02:00
parent 6107c7efef
commit 286cf061ab
1 changed files with 13 additions and 10 deletions

View File

@ -20,10 +20,6 @@
*/ */
pipeline { pipeline {
agent none
stages {
parallel {
agent { agent {
dockerfile { dockerfile {
filename 'Dockerfile' filename 'Dockerfile'
@ -33,7 +29,13 @@ pipeline {
//args '--gpus all' --needed for test only, you can build without GPU //args '--gpus all' --needed for test only, you can build without GPU
} }
} }
stages {
stage("Build all chip") {
parallel {
stage('prep-build-environment-linux-cuda') { stage('prep-build-environment-linux-cuda') {
steps { steps {
checkout scm checkout scm
//sh 'nvidia-smi' //sh 'nvidia-smi'
@ -61,3 +63,4 @@ pipeline {
} }
} }
} }
}