Skip to content

Commit

Permalink
Merge pull request #88 from jglick/cd
Browse files Browse the repository at this point in the history
Enable CD
  • Loading branch information
jglick committed Jul 29, 2022
2 parents cb1f6e1 + cb84f75 commit a0826ab
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 11 deletions.
12 changes: 8 additions & 4 deletions .github/dependabot.yml
@@ -1,6 +1,10 @@
version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: maven
directory: /
schedule:
interval: monthly
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
2 changes: 0 additions & 2 deletions .github/release-drafter.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/cd.yaml
@@ -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 }}
1 change: 1 addition & 0 deletions .mvn/maven.config
@@ -1,2 +1,3 @@
-Pconsume-incrementals
-Pmight-produce-incrementals
-Dchangelist.format=%d.v%s
9 changes: 4 additions & 5 deletions pom.xml
Expand Up @@ -5,19 +5,18 @@
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.44</version>
<relativePath />
<relativePath/>
</parent>

<artifactId>git-server</artifactId>
<version>${revision}${changelist}</version>
<version>${changelist}</version>
<packaging>hpi</packaging>

<name>Jenkins Git server Plugin</name>
<url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>

<properties>
<revision>1.12</revision>
<changelist>-SNAPSHOT</changelist>
<changelist>999999-SNAPSHOT</changelist>
<jenkins.version>2.357</jenkins.version>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
</properties>
Expand All @@ -32,7 +31,7 @@
<licenses>
<license>
<name>The MIT license</name>
<url>https://www.opensource.org/licenses/mit-license.php</url>
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
Expand Down

0 comments on commit a0826ab

Please sign in to comment.