Skip to content

Commit

Permalink
Use jenkins.baseline to match archetype (#169)
Browse files Browse the repository at this point in the history
* Use dependabot config from archetype

* Avoid bom version mismatches with jenkins.baseline

The Jenkins plugin archetype uses jenkins.baseline to prevent
inconsistencies between the minimum required Jenkins version and the
Jenkins plugin bill of materials version.  Use the same technique in
this plugin.
  • Loading branch information
MarkEWaite authored Nov 23, 2024
1 parent 53a554c commit ca32cb2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
18 changes: 10 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates
---
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates

version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
labels:
- "dependencies"
schedule:
interval: "monthly"
- package-ecosystem: maven
directory: /
schedule:
interval: monthly
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
</scm>

<properties>
<jenkins.version>2.426.3</jenkins.version>
<jenkins.baseline>2.426</jenkins.baseline>
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
<revision>1.34</revision>
<changelist>-SNAPSHOT</changelist>
<spotbugs.effort>Max</spotbugs.effort>
Expand All @@ -42,7 +43,7 @@
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.426.x</artifactId>
<artifactId>bom-${jenkins.baseline}.x</artifactId>
<version>3208.vb_21177d4b_cd9</version>
<type>pom</type>
<scope>import</scope>
Expand Down

0 comments on commit ca32cb2

Please sign in to comment.