Skip to content

Commit

Permalink
Enable continuous delivery
Browse files Browse the repository at this point in the history
When a relevant change is merged to the master branch, a new release
will be created. The changelog will be published based on content from
merged pull requests and their labels.
  • Loading branch information
MarkEWaite committed Nov 28, 2022
1 parent 9fac99c commit 692fff7
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 20 deletions.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates

version: 2
updates:
- package-ecosystem: maven
directory: /
schedule:
interval: monthly
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
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@v1
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 @@ -33,7 +33,7 @@ THE SOFTWARE.
<artifactId>clone-workspace-scm</artifactId>
<packaging>hpi</packaging>
<name>Jenkins Clone Workspace SCM Plug-in</name>
<version>${revision}${changelist}</version>
<version>${changelist}</version>
<url>https://github.com/${gitHubRepo}</url>

<licenses>
Expand All @@ -52,8 +52,7 @@ THE SOFTWARE.
</developers>

<properties>
<revision>0.7</revision>
<changelist>-SNAPSHOT</changelist>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/jenkins-clone-workspace-scm-plugin</gitHubRepo>
<jenkins.version>2.346.3</jenkins.version>
</properties>
Expand Down

0 comments on commit 692fff7

Please sign in to comment.