Compare commits

...

No commits in common. "c7ae8dba6ba08cb80535aa469ecb6e1c5d9470c7" and "3134930d5f01d19f01a0b6744550f4daadf7e5ff" have entirely different histories.

1 changed files with 8 additions and 3 deletions

11
Jenkinsfile vendored
View File

@ -1,11 +1,16 @@
node 'arm' {
def containerName
node('arm') {
stage('Checkout SCM') {
checkout scm
}
stage('Agent Setup') {
def name = sh \
containerName = sh \
script: 'sha256sum Containerfile',
returnStdout: true
sh "podman build -t ${name} -f Containerfile"
sh "podman build -t ${containerName} -f Containerfile"
}
stage('Build Wheels') {
sh "podman run ${containerName} -w ${WORKSPACE} -v ${WORKSPACE}:${WORKSPACE} sh build.sh"
}
}