Skip to content
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

Enable automatic release on merge to master #138

Merged
merged 1 commit into from
Nov 22, 2022
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
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@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
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>ircbot</artifactId>
<packaging>hpi</packaging>
<version>${revision}${changelist}</version>
<version>${revision}.${changelist}</version>

<name>Jenkins IRC Plugin</name>
<description>A build status publisher that notifies channels on an IRC server</description>
Expand All @@ -29,11 +29,11 @@
</licenses>

<properties>
<revision>2.47</revision>
<changelist>-SNAPSHOT</changelist>
<revision>3</revision>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
<version.instant-messaging.plugin>1.53</version.instant-messaging.plugin>
<jenkins.version>2.332.4</jenkins.version>
<jenkins.version>2.332.4</jenkins.version>
<!-- Note: keep in sync with io.jenkins.tools.bom version below -->
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -62,7 +62,7 @@
<dependency>
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>instant-messaging</artifactId>
<version>${version.instant-messaging.plugin}</version>
<version>1.53</version>
<exclusions>
<!-- Provided by Jenkins core -->
<exclusion>
Expand Down