Update 'Jenkinsfile'
All checks were successful
gitea-sync/antos-deb/pipeline/head This commit looks good
All checks were successful
gitea-sync/antos-deb/pipeline/head This commit looks good
This commit is contained in:
parent
ee8ebccd46
commit
22432782a4
35
Jenkinsfile
vendored
35
Jenkinsfile
vendored
@ -21,55 +21,29 @@ def ArrayList<String> getBranches(projectName){
|
||||
def generateStage(name) {
|
||||
return {
|
||||
stage("ANTOS ${name} AMD64") {
|
||||
agent {
|
||||
docker {
|
||||
image 'xsangle/ci-tools:bionic-amd64'
|
||||
reuseNode true
|
||||
}
|
||||
}
|
||||
steps {
|
||||
script{
|
||||
//copyArtifacts(projectName: 'gitea-sync/antos/' + name, target: 'antos/frontend/' + name);
|
||||
env.tag = name;
|
||||
env.arch = "x86_64";
|
||||
}
|
||||
sh'''
|
||||
echo "Deploy antos webapps for version $tag on architecture $arch"
|
||||
set -e
|
||||
set -x
|
||||
'''
|
||||
}
|
||||
}
|
||||
stage("ANTOS ${name} ARM64") {
|
||||
agent {
|
||||
docker {
|
||||
image 'xsangle/ci-tools:bionic-arm64'
|
||||
reuseNode true
|
||||
}
|
||||
}
|
||||
steps {
|
||||
script{
|
||||
//copyArtifacts(projectName: 'gitea-sync/antos/' + name, target: 'antos/frontend/' + name);
|
||||
env.tag = name;
|
||||
env.arch = "aarch64";
|
||||
}
|
||||
sh'''
|
||||
echo "Deploy antos webapps for version $tag on architecture $arch"
|
||||
set -e
|
||||
set -x
|
||||
'''
|
||||
}
|
||||
}
|
||||
stage("ANTOS ${name} ARM64") {
|
||||
agent {
|
||||
docker {
|
||||
image 'xsangle/ci-tools:bionic-arm'
|
||||
reuseNode true
|
||||
}
|
||||
}
|
||||
steps {
|
||||
script{
|
||||
stage("ANTOS ${name} ARM") {
|
||||
//copyArtifacts(projectName: 'gitea-sync/antos/' + name, target: 'antos/frontend/' + name);
|
||||
env.tag = name;
|
||||
env.arch = "armv7l";
|
||||
}
|
||||
sh'''
|
||||
echo "Deploy antos webapps for version $tag on architecture $arch"
|
||||
set -e
|
||||
@ -77,7 +51,6 @@ def generateStage(name) {
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def parallelStagesMap = getBranches("gitea-sync/antos").collectEntries {
|
||||
|
Loading…
Reference in New Issue
Block a user