Update 'Jenkinsfile'
Some checks failed
gitea-sync/antos-appimage/pipeline/head There was a failure building this commit
Some checks failed
gitea-sync/antos-appimage/pipeline/head There was a failure building this commit
This commit is contained in:
parent
b512b3a70d
commit
9f9bbee602
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -3,7 +3,7 @@
|
||||
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/');
|
||||
copyArtifacts(projectName: 'gitea-sync/antos/' + name, target: 'build/frontend/' + name);
|
||||
echo name;
|
||||
}
|
||||
}
|
||||
@ -45,7 +45,7 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user