-
Notifications
You must be signed in to change notification settings - Fork 56
Enable CD #320
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 CD #320
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1 @@ | ||
| _extends: .github | ||
| tag-template: plugins-compat-tester-aggregator-$NEXT_MINOR_VERSION | ||
| # We want to use semver here... at some point | ||
| version-template: $MAJOR.$MINOR.$PATCH | ||
| name-template: Plugin Compatibility Tester $NEXT_PATCH_VERSION |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # 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: | ||
| 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/[email protected] | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Set up JDK 8 | ||
| uses: actions/setup-java@v2 | ||
| with: | ||
| distribution: 'adopt' | ||
| 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 }} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| -Pconsume-incrementals | ||
| -Pmight-produce-incrementals | ||
| -Dchangelist.format=%d.v%s |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ | |
| <parent> | ||
| <groupId>org.jenkins-ci.tests</groupId> | ||
| <artifactId>plugins-compat-tester-aggregator</artifactId> | ||
| <version>${revision}${changelist}</version> | ||
| <version>${changelist}</version> | ||
| </parent> | ||
|
|
||
| <artifactId>plugins-compat-tester-model</artifactId> | ||
|
|
@@ -53,4 +53,17 @@ | |
| <artifactId>jenkins-core</artifactId> | ||
| </dependency> | ||
| </dependencies> | ||
|
|
||
| <build> | ||
| <plugins> | ||
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-deploy-plugin</artifactId> | ||
| <configuration> | ||
| <skip>true</skip> | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I figure the module structure of this repo is uninteresting to consumers—they only wish to use the CLI artifact.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. his is incorrect - anyone that wants to write hooks needs to consume the model. May aw well just push everything and be done. |
||
| </configuration> | ||
| </plugin> | ||
| </plugins> | ||
| </build> | ||
|
|
||
| </project> | ||
Uh oh!
There was an error while loading. Please reload this page.