Skip to content

Commit

Permalink
Enable CD (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
timja authored May 31, 2022
1 parent 89748f2 commit aa5e906
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 23 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ updates:
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
3 changes: 0 additions & 3 deletions .github/release-drafter.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/cd.yaml
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@setup # TODO main after https://github.com/jenkins-infra/github-reusable-workflows/pull/1
secrets:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}
17 changes: 0 additions & 17 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
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@
<relativePath />
</parent>
<artifactId>junit</artifactId>
<version>${revision}${changelist}</version>
<version>${changelist}</version>
<packaging>hpi</packaging>
<name>JUnit Plugin</name>
<description>Allows JUnit-format test results to be published.</description>
<url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>
<properties>
<revision>1.53.2</revision>
<changelist>-SNAPSHOT</changelist>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
<jenkins.version>2.332.1</jenkins.version>
<no-test-jar>false</no-test-jar>
Expand Down

0 comments on commit aa5e906

Please sign in to comment.