Skip to content

Commit 7664e3b

Browse files
authored
Merge pull request #248 from jenkinsci/cd
Plugin release automation
2 parents 3b1b31c + 04c1f16 commit 7664e3b

File tree

5 files changed

+22
-23
lines changed

5 files changed

+22
-23
lines changed

.github/release-drafter.yml

Lines changed: 0 additions & 4 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+
-Pchangelist.format=%d.v%s

pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@
99
</parent>
1010

1111
<properties>
12-
<revision>0.40</revision>
13-
<changelist>-SNAPSHOT</changelist>
12+
<changelist>999999-SNAPSHOT</changelist>
1413
<jenkins.version>2.361.4</jenkins.version>
1514
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
1615
</properties>
1716

1817
<groupId>org.jenkins-ci.plugins</groupId>
1918
<artifactId>github-oauth</artifactId>
20-
<version>${revision}${changelist}</version>
19+
<version>${changelist}</version>
2120
<name>GitHub Authentication plugin</name>
2221
<description>A Jenkins authentication plugin that delegates to GitHub. We also implement an Authorization Strategy that uses the acquired OAuth token to interact with the GitHub API to determine a user's level of access to Jenkins.</description>
2322
<packaging>hpi</packaging>

0 commit comments

Comments
 (0)