Skip to content

Commit

Permalink
Merge pull request #345 from sghill/infra/cd
Browse files Browse the repository at this point in the history
Enable CD
  • Loading branch information
sghill committed Aug 16, 2023
2 parents 94f5b17 + 696683b commit fa89195
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 27 deletions.
14 changes: 10 additions & 4 deletions .github/dependabot.yml
@@ -1,6 +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: "weekly"
- package-ecosystem: maven
directory: /
schedule:
interval: daily
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
3 changes: 0 additions & 3 deletions .github/release-drafter.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/cd.yaml
@@ -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 }}
17 changes: 0 additions & 17 deletions .github/workflows/release-drafter.yml

This file was deleted.

1 change: 1 addition & 0 deletions .mvn/maven.config
@@ -1,2 +1,3 @@
-Pconsume-incrementals
-Pmight-produce-incrementals
-Dchangelist.format=%d.v%s
6 changes: 3 additions & 3 deletions pom.xml
Expand Up @@ -8,14 +8,14 @@
</parent>
<packaging>hpi</packaging>
<properties>
<revision>1.29</revision>
<changelist>-SNAPSHOT</changelist>
<revision>1</revision>
<changelist>999999-SNAPSHOT</changelist>
<!-- Baseline Jenkins version you use to build the plugin. Users must have this version or newer to run. -->
<jenkins.version>2.346.3</jenkins.version>
<hpi.compatibleSinceVersion>1.9</hpi.compatibleSinceVersion>
</properties>
<artifactId>stashNotifier</artifactId>
<version>${revision}${changelist}</version>
<version>${revision}.${changelist}</version>
<name>Bitbucket Server Notifier</name>
<description>
Jenkins plugin to notify Atlassian Bitbucket Server (formerly known as Stash)
Expand Down

0 comments on commit fa89195

Please sign in to comment.