Skip to content

Commit 44a109d

Browse files
authored
Merge pull request #43 from bzzitsme/cd-enable
2 parents 772e272 + 780b751 commit 44a109d

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

.github/dependabot.yml

+4
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ updates:
66
interval: monthly
77
open-pull-requests-limit: 10
88
target-branch: master
9+
- package-ecosystem: github-actions
10+
directory: /
11+
schedule:
12+
interval: monthly

.github/workflows/cd.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Note: additional setup is required, see https://www.jenkins.io/redirect/continuous-delivery-of-plugins
2+
3+
name: cd
4+
on:
5+
workflow_dispatch:
6+
check_run:
7+
types:
8+
- completed
9+
10+
jobs:
11+
maven-cd:
12+
uses: jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@v1
13+
secrets:
14+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
15+
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}

.mvn/maven.config

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
-Pconsume-incrementals
22
-Pmight-produce-incrementals
3+
-Dchangelist.format=%d.v%s

pom.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<groupId>org.jenkinsci.plugins</groupId>
1010
<artifactId>kubernetes-credentials</artifactId>
11-
<version>${revision}${changelist}</version>
11+
<version>${changelist}</version>
1212
<name>Kubernetes Credentials Plugin</name>
1313
<url>https://github.com/jenkinsci/kubernetes-credentials-plugin/</url>
1414
<packaging>hpi</packaging>
@@ -36,8 +36,7 @@
3636
</developers>
3737

3838
<properties>
39-
<revision>0.12</revision>
40-
<changelist>-SNAPSHOT</changelist>
39+
<changelist>999999-SNAPSHOT</changelist>
4140

4241
<!-- jenkins versions -->
4342
<jenkins.version>2.401.1</jenkins.version>

0 commit comments

Comments
 (0)