Skip to content

Enable automated plugin release #286

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}
12 changes: 0 additions & 12 deletions .github/workflows/release-drafter.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,4 @@
<artifactId>git-changelist-maven-extension</artifactId>
<version>1.8</version>
</extension>
<!--extension>
<groupId>org.apache.maven.extensions</groupId>
<artifactId>maven-build-cache-extension</artifactId>
<version>1.0.0</version>
</extension-->
</extensions>
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
4 changes: 2 additions & 2 deletions declarative-pipeline-migration-assistant-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<parent>
<groupId>org.jenkins-ci.plugins.to-declarative</groupId>
<artifactId>declarative-pipeline-migration-assistant-parent</artifactId>
<version>${revision}${changelist}</version>
<version>${changelist}</version>
</parent>
<artifactId>declarative-pipeline-migration-assistant-api</artifactId>
<version>${revision}${changelist}</version>
<version>${changelist}</version>
<packaging>hpi</packaging>
<name>Declarative Pipeline Migration Assistant API</name>
<description>Declarative Pipeline Migration Assistant API (this plugin contains APIs used to convert Freestyle Jobs into Declarative Pipelines).</description>
Expand Down
4 changes: 2 additions & 2 deletions declarative-pipeline-migration-assistant/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<parent>
<groupId>org.jenkins-ci.plugins.to-declarative</groupId>
<artifactId>declarative-pipeline-migration-assistant-parent</artifactId>
<version>${revision}${changelist}</version>
<version>${changelist}</version>
</parent>
<artifactId>declarative-pipeline-migration-assistant</artifactId>
<version>${revision}${changelist}</version>
<version>${changelist}</version>
<packaging>hpi</packaging>
<name>Declarative Pipeline Migration Assistant</name>
<description>Declarative Pipeline Migration Assistant Plugin.</description>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<groupId>org.jenkins-ci.plugins.to-declarative</groupId>
<artifactId>declarative-pipeline-migration-assistant-parent</artifactId>
<version>${revision}${changelist}</version>
<version>${changelist}</version>
<packaging>pom</packaging>
<name>Declarative Pipeline Migration Assistant</name>

Expand All @@ -60,7 +60,7 @@
</scm>

<properties>
<changelist>-SNAPSHOT</changelist>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/declarative-pipeline-migration-assistant-plugin</gitHubRepo>
<jacoco.coverage.target>0.70</jacoco.coverage.target>
<!-- For non-ci builds we'd like the build to still complete if jacoco metrics aren't met. -->
Expand Down
Loading