Skip to content

Commit

Permalink
*.pom included so pom-only projects have something to successfully do…
Browse files Browse the repository at this point in the history
…wnload
  • Loading branch information
ao-apps committed Sep 8, 2023
1 parent 7bef721 commit a1dc0b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,9 @@ void deploySteps(niceCmd, projectDir, deployJdk, maven, mavenOpts, mavenOptsJdk1
copyArtifacts(
projectName: "/${JOB_NAME}",
selector: lastSuccessful(stable: true),
filter: '**/*.aar, **/*.jar, **/*.war, **/*.zip',
// *.pom included so pom-only projects have something to successfully download
// The other extensions match the types processed by ao-ant-tasks
filter: '**/*.pom, **/*.aar, **/*.jar, **/*.war, **/*.zip',
target: 'target/last-successful-artifacts',
flatten: true,
optional: !params.requireLastBuild
Expand Down
4 changes: 3 additions & 1 deletion book/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,9 @@ void deploySteps(niceCmd, projectDir, deployJdk, maven, mavenOpts, mavenOptsJdk1
copyArtifacts(
projectName: "/${JOB_NAME}",
selector: lastSuccessful(stable: true),
filter: '**/*.aar, **/*.jar, **/*.war, **/*.zip',
// *.pom included so pom-only projects have something to successfully download
// The other extensions match the types processed by ao-ant-tasks
filter: '**/*.pom, **/*.aar, **/*.jar, **/*.war, **/*.zip',
target: 'target/last-successful-artifacts',
flatten: true,
optional: !params.requireLastBuild
Expand Down

0 comments on commit a1dc0b8

Please sign in to comment.