Skip to content

Commit 60c027d

Browse files
authored
Enable CD (#102)
1 parent 3b601b5 commit 60c027d

File tree

5 files changed

+22
-26
lines changed

5 files changed

+22
-26
lines changed

.github/release-drafter.yml

Lines changed: 0 additions & 5 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 & 18 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
@@ -12,7 +12,7 @@
1212
<groupId>io.jenkins.plugins</groupId>
1313
<artifactId>folder-auth</artifactId>
1414
<packaging>hpi</packaging>
15-
<version>${revision}${changelist}</version>
15+
<version>${changelist}</version>
1616
<name>Folder-based Authorization Strategy</name>
1717
<description>Manage access to Folders</description>
1818
<url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>
@@ -26,8 +26,7 @@
2626
</developers>
2727

2828
<properties>
29-
<revision>1.5</revision>
30-
<changelist>-SNAPSHOT</changelist>
29+
<changelist>999999-SNAPSHOT</changelist>
3130
<jenkins.baseline>2.479</jenkins.baseline>
3231
<jenkins.version>${jenkins.baseline}.1</jenkins.version>
3332
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>

0 commit comments

Comments
 (0)