Skip to content

Commit

Permalink
Support for incremental release (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
damianszczepanik authored Jan 31, 2024
1 parent 2c760ca commit f94e074
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
<extension>
<groupId>io.jenkins.tools.incrementals</groupId>
<artifactId>git-changelist-maven-extension</artifactId>
<version>1.7</version>
</extension>
</extensions>
2 changes: 2 additions & 0 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-Pconsume-incrementals
-Pmight-produce-incrementals
21 changes: 15 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,21 @@

<groupId>pl.damianszczepanik</groupId>
<artifactId>build-history-manager</artifactId>
<version>1.7.2-SNAPSHOT</version>
<version>${revision}${changelist}</version>
<packaging>hpi</packaging>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.387.x</artifactId>
<!-- Latest version based on
https://repo.jenkins-ci.org/artifactory/public/io/jenkins/tools/bom/
https://www.jenkins.io/doc/developer/plugin-development/dependency-management/#jenkins-plugin-bom
-->
<version>2483.v3b_22f030990a_</version>
<type>pom</type>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
Expand All @@ -35,6 +39,10 @@
<url>https://github.com/jenkinsci/build-history-manager-plugin</url>

<properties>
<revision>1.7.2</revision>
<changelist>-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/build-history-manager-plugin</gitHubRepo>

<jenkins.version>2.387.3</jenkins.version>

<asm.version>9.4</asm.version>
Expand All @@ -49,11 +57,12 @@
</properties>

<scm>
<connection>scm:git:https://github.com/jenkinsci/build-history-manager-plugin.git</connection>
<developerConnection>scm:git:[email protected]:jenkinsci/build-history-manager-plugin.git</developerConnection>
<url>https://github.com/jenkinsci/build-history-manager-plugin</url>
<tag>HEAD</tag>
<connection>scm:git:https://github.com/${gitHubRepo}.git</connection>
<developerConnection>scm:git:[email protected]:${gitHubRepo}.git</developerConnection>
<url>https://github.com/${gitHubRepo}</url>
<tag>${scmTag}</tag>
</scm>

<ciManagement>
<system>Jenkins</system>
<url>https://ci.jenkins.io/job/Plugins/job/build-history-manager-plugin/</url>
Expand Down

0 comments on commit f94e074

Please sign in to comment.