Skip to content

Commit 4982a07

Browse files
committed
Try to get the DMXLib itself from the DMX Plugin Job
1 parent e3148ff commit 4982a07

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

JenkinsFile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ pipeline {
3434
script{
3535
try {
3636
println('Copy artefacts from Job \"Lumos DMXPlugins (Pipeline)/' + env.BRANCH_NAME.replaceAll("/", "%2F") + '\"')
37-
copyArtifacts(projectName: 'Lumos DMXPlugins (Pipeline)/' + env.BRANCH_NAME.replaceAll("/", "%2F") , target: 'dep');
37+
copyArtifacts(projectName: 'Lumos DMXPlugins (Pipeline)/' + env.BRANCH_NAME.replaceAll("/", "%2F"), filter: "build/DMXLIB/*.*", target: 'dep', flatten: true);
3838
} catch (hudson.AbortException e) {
3939
println('Job \"Lumos DMXPlugins (Pipeline)/' + env.BRANCH_NAME.replaceAll("/", "%2F") + '\" does not exist. Copy from default Job')
40-
copyArtifacts(projectName: 'Lumos DMXPlugins (Pipeline)/master', target: 'dep');
40+
copyArtifacts(projectName: 'Lumos DMXPlugins (Pipeline)/master', filter: "build/DMXLIB/*.*", target: 'dep', flatten: true);
4141
}
4242
}
4343
}

0 commit comments

Comments
 (0)