Skip to content

Commit 2031736

Browse files
committed
Enable CD
1 parent dfa928b commit 2031736

File tree

6 files changed

+34
-21
lines changed

6 files changed

+34
-21
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates
2+
3+
version: 2
4+
updates:
5+
- package-ecosystem: maven
6+
directory: /
7+
schedule:
8+
interval: monthly
9+
- package-ecosystem: github-actions
10+
directory: /
11+
schedule:
12+
interval: monthly

.github/release-drafter.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/cd.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
permissions:
11+
checks: read
12+
contents: write
13+
14+
jobs:
15+
maven-cd:
16+
uses: jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@v1
17+
secrets:
18+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
19+
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}

.github/workflows/release-drafter.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.mvn/maven.config

Lines changed: 1 addition & 0 deletions
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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<artifactId>scriptler</artifactId>
1010
<name>Scriptler</name>
11-
<version>${revision}${changelist}</version>
11+
<version>${changelist}</version>
1212
<packaging>hpi</packaging>
1313
<url>https://github.com/jenkinsci/scriptler-plugin</url>
1414
<inceptionYear>2010</inceptionYear>
@@ -25,8 +25,7 @@
2525
</pluginRepository>
2626
</pluginRepositories>
2727
<properties>
28-
<revision>4.0</revision>
29-
<changelist>-SNAPSHOT</changelist>
28+
<changelist>999999-SNAPSHOT</changelist>
3029
<gitHubRepo>jenkinsci/scriptler-plugin</gitHubRepo>
3130
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3231
<maven.javadoc.skip>true</maven.javadoc.skip>

0 commit comments

Comments
 (0)