Skip to content

Commit

Permalink
Enable CD (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault authored Jul 6, 2023
1 parent 266f8ba commit 8109e76
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc
_extends: .github
tag-template: maven-license-plugin-$NEXT_MINOR_VERSION
tag-template: license-maven-plugin-$NEXT_MINOR_VERSION
15 changes: 15 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Note: additional setup is required, see https://www.jenkins.io/redirect/continuous-delivery-of-plugins

name: cd
on:
workflow_dispatch:
check_run:
types:
- completed

jobs:
maven-cd:
uses: jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@v1
secrets:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}
14 changes: 0 additions & 14 deletions .github/workflows/release-drafter.yml

This file was deleted.

1 change: 1 addition & 0 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
-Pconsume-incrementals
-Pmight-produce-incrementals
-Dchangelist.format=%d.v%s
11 changes: 6 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@

<groupId>io.jenkins.tools.maven</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>1.18-SNAPSHOT</version>
<version>${changelist}</version>
<packaging>maven-plugin</packaging>

<name>License Maven Plugin</name>
<url>https://github.com/jenkinsci/maven-license-plugin</url>
<url>https://github.com/jenkinsci/license-maven-plugin</url>
<description>Maven plugin to process license information.</description>
<licenses>
<license>
Expand All @@ -33,6 +33,7 @@
</developers>

<properties>
<changelist>999999-SNAPSHOT</changelist>
<maven-plugin-tools.version>3.9.0</maven-plugin-tools.version>
<maven.version>3.8.1</maven.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand All @@ -43,9 +44,9 @@
</properties>

<scm>
<connection>scm:git:https://github.com/jenkinsci/maven-license-plugin.git</connection>
<developerConnection>scm:git:[email protected]:jenkinsci/maven-license-plugin.git</developerConnection>
<url>https://github.com/jenkinsci/maven-license-plugin</url>
<connection>scm:git:https://github.com/jenkinsci/license-maven-plugin.git</connection>
<developerConnection>scm:git:[email protected]:jenkinsci/license-maven-plugin.git</developerConnection>
<url>https://github.com/jenkinsci/license-maven-plugin</url>
<tag>HEAD</tag>
</scm>

Expand Down

0 comments on commit 8109e76

Please sign in to comment.