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:45:16 +02:00
parent 9f9bbee602
commit fee7a3fa97

7
Jenkinsfile vendored
View File

@ -2,9 +2,7 @@
@NonCPS
def copyArtifactsByBranches(projectName){
jenkins.model.Jenkins.instance.getItemByFullName('gitea-sync/antos').getAllJobs().each { job ->
String name = job.getName();
copyArtifacts(projectName: 'gitea-sync/antos/' + name, target: 'build/frontend/' + name);
echo name;
copyArtifacts(projectName: 'gitea-sync/antos/' + job.getName(), target: 'build/frontend/' + job.getName());
}
}
pipeline{
@ -45,10 +43,11 @@ pipeline{
{
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');
sh'''
tree build
exit 1
'''
}
}