diff --git a/Jenkinsfile b/Jenkinsfile index 4ef3101..b0d3e48 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -955,7 +955,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 diff --git a/book/Jenkinsfile b/book/Jenkinsfile index ea92058..9ee5676 100644 --- a/book/Jenkinsfile +++ b/book/Jenkinsfile @@ -953,7 +953,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