Skip to content

Commit

Permalink
Merge pull request #239 from jtnord/enable-cd
Browse files Browse the repository at this point in the history
Enable cd
  • Loading branch information
jtnord committed May 5, 2023
2 parents 640dc3a + 9d4889b commit 93bf840
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 28 deletions.
2 changes: 0 additions & 2 deletions .github/release-drafter.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Note: additional setup is required, see https://www.jenkins.io/redirect/continuous-delivery-of-plugins

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

permissions:
checks: read
contents: write

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 }}
16 changes: 0 additions & 16 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
13 changes: 3 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
Lots of boilerplate from: https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins
-->
<artifactId>google-storage-plugin</artifactId>
<version>1.5.9-SNAPSHOT</version>
<version>${revision}.${changelist}</version>
<packaging>hpi</packaging>

<name>Google Cloud Storage plugin</name>
Expand Down Expand Up @@ -63,8 +63,8 @@

<!-- Bring some sanity to version numbering... -->
<properties>
<revision>1.5.7</revision>
<changelist>-SNAPSHOT</changelist>
<revision>1</revision>
<changelist>999999-SNAPSHOT</changelist>
<jenkins.version>2.361.4</jenkins.version>
<gitHubRepo>jenkinsci/${project.artifactId}</gitHubRepo>
<hpi.compatibleSinceVersion>1.5.0</hpi.compatibleSinceVersion>
Expand Down Expand Up @@ -296,13 +296,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<completionGoals>xml-format:xml-format tidy:pom</completionGoals>
</configuration>
</plugin>
<plugin>
<groupId>com.spotify.fmt</groupId>
<artifactId>fmt-maven-plugin</artifactId>
Expand Down

0 comments on commit 93bf840

Please sign in to comment.