Skip to content

Commit

Permalink
Merge branch 'master' into groupId
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick authored Jun 29, 2022
2 parents 52fc0b3 + 25d365a commit e9fdfec
Show file tree
Hide file tree
Showing 34 changed files with 6 additions and 964 deletions.
56 changes: 5 additions & 51 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,54 +8,8 @@ on:
- completed

jobs:
validate:
runs-on: ubuntu-latest
outputs:
should_release: ${{ steps.verify-ci-status.outputs.result == 'success' && steps.interesting-categories.outputs.interesting == 'true' }}
steps:
- name: Verify CI status
uses: jenkins-infra/[email protected]
id: verify-ci-status
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
output_result: true

- name: Release Drafter
uses: release-drafter/release-drafter@v5
if: steps.verify-ci-status.outputs.result == 'success'
with:
name: next
tag: next
version: next
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check interesting categories
uses: jenkins-infra/[email protected]
id: interesting-categories
if: steps.verify-ci-status.outputs.result == 'success'
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

release:
runs-on: ubuntu-latest
needs: [validate]
if: needs.validate.outputs.should_release == 'true'
steps:
- name: Check out
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up JDK 8
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8

- name: Release
uses: jenkins-infra/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}
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 }}
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ GitHub](https://github.com/jenkinsci/pipeline-plugin). Quick links:
Engine](https://github.com/jenkinsci/workflow-cps-plugin)
- [SCM
step](https://github.com/jenkinsci/workflow-scm-step-plugin/blob/master/README.md)
- [Pipeline demo Docker
image](https://github.com/jenkinsci/workflow-aggregator-plugin/blob/master/demo/README.md)

Formerly known as the Workflow plugin. Originally inspired by the discontinued [Build
Flow Plugin](https://github.com/jenkinsci/build-flow-plugin).
Expand Down
13 changes: 0 additions & 13 deletions clone-all

This file was deleted.

2 changes: 0 additions & 2 deletions demo/.gitignore

This file was deleted.

61 changes: 0 additions & 61 deletions demo/Dockerfile

This file was deleted.

42 changes: 0 additions & 42 deletions demo/JENKINS_HOME/config.xml

This file was deleted.

10 changes: 0 additions & 10 deletions demo/JENKINS_HOME/hudson.tasks.Maven.xml

This file was deleted.

1 change: 0 additions & 1 deletion demo/JENKINS_HOME/jenkins.install.UpgradeWizard.state

This file was deleted.

This file was deleted.

93 changes: 0 additions & 93 deletions demo/JENKINS_HOME/jobs/cd/config.xml

This file was deleted.

14 changes: 0 additions & 14 deletions demo/JENKINS_HOME/log/Workflow.xml

This file was deleted.

30 changes: 0 additions & 30 deletions demo/JENKINS_HOME/maven-settings-files.xml

This file was deleted.

4 changes: 0 additions & 4 deletions demo/JENKINS_HOME/org.jenkinsci.main.modules.sshd.SSHD.xml

This file was deleted.

This file was deleted.

Loading

0 comments on commit e9fdfec

Please sign in to comment.