Skip to content

Commit 75db4e7

Browse files
Use jenkins.baseline to reduce bom update mistakes
1 parent 33a5b79 commit 75db4e7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pom.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,17 @@
103103
<revision>3.4.1</revision>
104104
<changelist>999999-SNAPSHOT</changelist>
105105
<gitHubRepo>jenkinsci/postbuildscript-plugin</gitHubRepo>
106-
<jenkins.version>2.479.1</jenkins.version>
106+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
107+
<jenkins.baseline>2.479</jenkins.baseline>
108+
<jenkins.version>${jenkins.baseline}.1</jenkins.version>
107109
<hpi.compatibleSinceVersion>3.0.0</hpi.compatibleSinceVersion>
108110
</properties>
109111

110112
<dependencyManagement>
111113
<dependencies>
112114
<dependency>
113115
<groupId>io.jenkins.tools.bom</groupId>
114-
<artifactId>bom-2.462.x</artifactId>
116+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
115117
<version>4051.v78dce3ce8b_d6</version>
116118
<type>pom</type>
117119
<scope>import</scope>

0 commit comments

Comments
 (0)