mirror of
https://github.com/antos-rde/antos.git
synced 2024-11-08 06:28:25 +01:00
fix(CI): set build agent based on stage
Some checks failed
gitea-sync/antos/pipeline/head There was a failure building this commit
Some checks failed
gitea-sync/antos/pipeline/head There was a failure building this commit
This commit is contained in:
parent
43347010a8
commit
a29325781f
30
Jenkinsfile
vendored
30
Jenkinsfile
vendored
@ -1,9 +1,7 @@
|
||||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
image 'xsangle/ci-tools:latest'
|
||||
reuseNode true
|
||||
args ' --device /dev/fuse --privileged '
|
||||
agent {
|
||||
node { label'master' }
|
||||
}
|
||||
}
|
||||
options {
|
||||
@ -40,6 +38,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Build AMD64)') {
|
||||
agent {
|
||||
docker {
|
||||
image 'xsangle/ci-tools:latest'
|
||||
reuseNode true
|
||||
args ' --device /dev/fuse --privileged '
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh'''
|
||||
DESTDIR=$(realpath build) \
|
||||
@ -51,6 +56,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Build ARM64)') {
|
||||
agent {
|
||||
docker {
|
||||
image 'xsangle/ci-tools:latest'
|
||||
reuseNode true
|
||||
args ' --device /dev/fuse --privileged '
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh'''
|
||||
DESTDIR=$(realpath build) \
|
||||
@ -62,6 +74,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Build ARM)') {
|
||||
agent {
|
||||
docker {
|
||||
image 'xsangle/ci-tools:latest'
|
||||
reuseNode true
|
||||
args ' --device /dev/fuse --privileged '
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh'''
|
||||
DESTDIR=$(realpath build) \
|
||||
@ -73,6 +92,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Checking build)') {
|
||||
agent {
|
||||
node { label'workstation' }
|
||||
}
|
||||
steps {
|
||||
sh'''
|
||||
./scripts/ckarch.sh build
|
||||
|
Loading…
Reference in New Issue
Block a user