fix: dont use the master node
All checks were successful
gitea-sync/antos/pipeline/head This commit looks good
gitea-sync/antos/pipeline/tag This commit looks good

This commit is contained in:
DanyLE 2024-03-11 00:35:04 +01:00
parent 637a6c39f3
commit 3c7afca22a

11
Jenkinsfile vendored
View File

@ -1,6 +1,6 @@
pipeline { pipeline {
agent { agent {
node { label'master' } node { label'workstation' }
} }
options { options {
// Limit build history with buildDiscarder option: // Limit build history with buildDiscarder option:
@ -21,9 +21,6 @@ pipeline {
stages stages
{ {
stage('Prepare dependencies') { stage('Prepare dependencies') {
agent {
node { label'workstation' }
}
steps { steps {
sh''' sh'''
cd antd/luasocket && git stash || true cd antd/luasocket && git stash || true
@ -90,9 +87,6 @@ pipeline {
} }
} }
stage('Checking build)') { stage('Checking build)') {
agent {
node { label'workstation' }
}
steps { steps {
sh''' sh'''
./scripts/ckarch.sh build ./scripts/ckarch.sh build
@ -100,9 +94,6 @@ pipeline {
} }
} }
stage('Build docker') { stage('Build docker') {
agent {
node { label'workstation' }
}
steps { steps {
script { script {
if (env.TAG_NAME) { if (env.TAG_NAME) {