Skip to content

Commit bac13eb

Browse files
Use jenkins.baseline to reduce bom update mistakes (#183)
1 parent 9f0721f commit bac13eb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pom.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ THE SOFTWARE.
4747
</scm>
4848

4949
<properties>
50-
<jenkins.version>2.462.3</jenkins.version>
50+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
51+
<jenkins.baseline>2.462</jenkins.baseline>
52+
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
5153
<hpi.compatibleSinceVersion>3.0</hpi.compatibleSinceVersion>
5254
<influxdb-client-java.version>4.1.0</influxdb-client-java.version>
5355
<cobertura.version>1.17</cobertura.version>
@@ -86,7 +88,7 @@ THE SOFTWARE.
8688
<dependencies>
8789
<dependency>
8890
<groupId>io.jenkins.tools.bom</groupId>
89-
<artifactId>bom-2.462.x</artifactId>
91+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
9092
<version>3696.vb_b_4e2d1a_0542</version>
9193
<scope>import</scope>
9294
<type>pom</type>

0 commit comments

Comments
 (0)