mirror of https://github.com/jenkinsci/jenkins.git
Restore incrementals publishing (#6492)
* Restore incrementals publishing * fix mvn install * Exclude POM file Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
This commit is contained in:
parent
c3c5121ce1
commit
2830b3be32
|
@ -127,7 +127,7 @@ for (i = 0; i < buildTypes.size(); i++) {
|
||||||
dir(m2repo) {
|
dir(m2repo) {
|
||||||
archiveArtifacts(
|
archiveArtifacts(
|
||||||
artifacts: "**/*$changelist/*$changelist*",
|
artifacts: "**/*$changelist/*$changelist*",
|
||||||
excludes: '**/*.lastUpdated,**/jenkins-test*/',
|
excludes: '**/*.lastUpdated,**/jenkins-coverage*/,**/jenkins-test*/',
|
||||||
allowEmptyArchive: true, // in case we forgot to reincrementalify
|
allowEmptyArchive: true, // in case we forgot to reincrementalify
|
||||||
fingerprint: true
|
fingerprint: true
|
||||||
)
|
)
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>jenkins-coverage</artifactId>
|
<artifactId>jenkins-coverage</artifactId>
|
||||||
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>Jenkins coverage</name>
|
<name>Jenkins coverage</name>
|
||||||
<description>Compute aggregated test code coverage</description>
|
<description>Compute aggregated test code coverage</description>
|
||||||
|
@ -47,6 +48,13 @@
|
||||||
<skip>true</skip>
|
<skip>true</skip>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
|
<!-- Version specified in grandparent POM -->
|
||||||
|
<configuration>
|
||||||
|
<skipIfEmpty>true</skipIfEmpty>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue