Update 'Jenkinsfile'
Some checks failed
gitea-sync/antos-deb/pipeline/head There was a failure building this commit

This commit is contained in:
dany 2023-01-01 12:38:39 +01:00
parent d85bb18afe
commit 0d06d4ca19

5
Jenkinsfile vendored
View File

@ -21,7 +21,7 @@ def ArrayList<String> getBranches(projectName){
def generateStage(name) { def generateStage(name) {
return { return {
stage("ANTOS ${name} AMD64") { stage("ANTOS ${name} AMD64") {
copyArtifacts(projectName: 'gitea-sync/antos/' + name, target: 'antos/frontend/' + name); //copyArtifacts(projectName: 'gitea-sync/antos/' + name, target: 'antos/frontend/' + name);
env.tag = name; env.tag = name;
env.arch = x86_64 env.arch = x86_64
sh''' sh'''
@ -31,7 +31,7 @@ def generateStage(name) {
''' '''
} }
stage("ANTOS ${name} ARM64") { stage("ANTOS ${name} ARM64") {
copyArtifacts(projectName: 'gitea-sync/antos/' + name, target: 'antos/frontend/' + name); //copyArtifacts(projectName: 'gitea-sync/antos/' + name, target: 'antos/frontend/' + name);
env.tag = name; env.tag = name;
env.arch = aarch64 env.arch = aarch64
sh''' sh'''
@ -84,6 +84,7 @@ pipeline{
[ -d build ] && rm -rf build [ -d build ] && rm -rf build
mkdir build mkdir build
[ -d antos ] && rm -rf antos [ -d antos ] && rm -rf antos
mkdir antos
''' '''
copyArtifacts(projectName: 'gitea-sync/antos-appimage/master', target: 'antos/'); copyArtifacts(projectName: 'gitea-sync/antos-appimage/master', target: 'antos/');
script script