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

This commit is contained in:
dany 2022-09-29 22:42:06 +02:00
parent b512b3a70d
commit 9f9bbee602

4
Jenkinsfile vendored
View File

@ -3,7 +3,7 @@
def copyArtifactsByBranches(projectName){ def copyArtifactsByBranches(projectName){
jenkins.model.Jenkins.instance.getItemByFullName('gitea-sync/antos').getAllJobs().each { job -> jenkins.model.Jenkins.instance.getItemByFullName('gitea-sync/antos').getAllJobs().each { job ->
String name = job.getName(); String name = job.getName();
copyArtifacts(projectName: 'gitea-sync/antos/' + name, target: 'build/frontend/'); copyArtifacts(projectName: 'gitea-sync/antos/' + name, target: 'build/frontend/' + name);
echo name; echo name;
} }
} }
@ -45,7 +45,7 @@ pipeline{
{ {
copyArtifactsByBranches("gitea-sync/antos"); copyArtifactsByBranches("gitea-sync/antos");
} }
//copyArtifacts(projectName: 'gitea-sync/antos/*', target: 'build/frontend'); copyArtifacts(projectName: 'gitea-sync/antos/*', target: 'build/frontend');
//copyArtifacts(projectName: 'gitea-sync/antd-web-apps/master', target: 'build/backend'); //copyArtifacts(projectName: 'gitea-sync/antd-web-apps/master', target: 'build/backend');
sh''' sh'''
tree build tree build