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
9279e61812
commit
c9aff7544b
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -3,10 +3,11 @@
|
|||||||
def copyArtifactsByBranches(projectName){
|
def copyArtifactsByBranches(projectName){
|
||||||
def jobs = jenkins.model.Jenkins.instance.getItemByFullName('gitea-sync/antos').getAllJobs();
|
def jobs = jenkins.model.Jenkins.instance.getItemByFullName('gitea-sync/antos').getAllJobs();
|
||||||
Iterator<?> iterator = jobs.iterator();
|
Iterator<?> iterator = jobs.iterator();
|
||||||
while (iterator.hasNext()) {
|
while (iterator.hasNext()) {
|
||||||
def job = iterator.next();
|
def job = iterator.next();
|
||||||
copyArtifacts(projectName: 'gitea-sync/antos/' + job.getName(), target: 'build/frontend/' + job.getName());
|
copyArtifacts(projectName: 'gitea-sync/antos/' + job.getName(), target: 'build/frontend/' + job.getName());
|
||||||
}
|
}
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
pipeline{
|
pipeline{
|
||||||
agent { node{ label'workstation' }}
|
agent { node{ label'workstation' }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user