add jenkinsfile
Some checks failed
gitea-sync/luafcgi/pipeline/head There was a failure building this commit

This commit is contained in:
DanyLE 2023-01-26 20:18:28 +01:00
parent 61f630b2e1
commit 452a582682

32
Jenkinsfile vendored
View File

@ -25,7 +25,7 @@ def build_luad() {
} }
pipeline { pipeline {
agent { node { label'master' } } agent { node{ label'workstation' }}
options { options {
// Limit build history with buildDiscarder option: // Limit build history with buildDiscarder option:
// daysToKeepStr: history is only kept up to this many days. // daysToKeepStr: history is only kept up to this many days.
@ -51,16 +51,6 @@ pipeline {
} }
} }
stage('Build AMD64') { stage('Build AMD64') {
agent {
docker {
image 'xsangle/ci-tools:bionic-amd64'
// Run the container on the node specified at the
// top-level of the Pipeline, in the same workspace,
// rather than on a new node entirely:
reuseNode true
registryUrl 'http://workstation:5000/'
}
}
steps { steps {
script { script {
env.arch = 'amd64' env.arch = 'amd64'
@ -69,16 +59,6 @@ pipeline {
} }
} }
stage('Build ARM64') { stage('Build ARM64') {
agent {
docker {
image 'xsangle/ci-tools:bionic-arm64'
// Run the container on the node specified at the
// top-level of the Pipeline, in the same workspace,
// rather than on a new node entirely:
reuseNode true
registryUrl 'http://workstation:5000/'
}
}
steps { steps {
script { script {
env.arch = 'arm64' env.arch = 'arm64'
@ -87,16 +67,6 @@ pipeline {
} }
} }
stage('Build ARM') { stage('Build ARM') {
agent {
docker {
image 'xsangle/ci-tools:bionic-arm'
// Run the container on the node specified at the
// top-level of the Pipeline, in the same workspace,
// rather than on a new node entirely:
reuseNode true
registryUrl 'http://workstation:5000/'
}
}
steps { steps {
script { script {
env.arch = 'arm' env.arch = 'arm'