Skip to content

Commit db6b3cf

Browse files
authored
Merge pull request jenkinsci#225 from jenkinsci/chore/master/misc-modernization
Enable CD
2 parents 5b66f14 + 9553523 commit db6b3cf

12 files changed

Lines changed: 120 additions & 62 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @jenkinsci/tikal-multijob-plugin-developers

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: maven
4+
directory: "/"
5+
schedule:
6+
interval: weekly
7+
open-pull-requests-limit: 10
8+
target-branch: master
9+
labels:
10+
- dependencies
11+
- package-ecosystem: github-actions
12+
directory: /
13+
schedule:
14+
interval: daily

.github/release-drafter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_extends: .github

.github/worklfows/cd.yaml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: cd
2+
on:
3+
workflow_dispatch:
4+
check_run:
5+
types:
6+
- completed
7+
8+
jobs:
9+
validate:
10+
runs-on: ubuntu-latest
11+
outputs:
12+
should_release: ${{ steps.verify-ci-status.outputs.result == 'success' && steps.interesting-categories.outputs.interesting == 'true' }}
13+
steps:
14+
- name: Verify CI status
15+
uses: jenkins-infra/[email protected]
16+
id: verify-ci-status
17+
with:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
output_result: true
20+
21+
- name: Release Drafter
22+
uses: release-drafter/release-drafter@v5
23+
if: steps.verify-ci-status.outputs.result == 'success'
24+
with:
25+
name: next
26+
tag: next
27+
version: next
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
31+
- name: Check interesting categories
32+
uses: jenkins-infra/[email protected]
33+
id: interesting-categories
34+
if: steps.verify-ci-status.outputs.result == 'success'
35+
with:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
38+
release:
39+
runs-on: ubuntu-latest
40+
needs: [validate]
41+
if: needs.validate.outputs.should_release == 'true'
42+
steps:
43+
- name: Check out
44+
uses: actions/checkout@v3
45+
with:
46+
fetch-depth: 0
47+
- name: Set up JDK 11
48+
uses: actions/setup-java@v3
49+
with:
50+
distribution: temurin
51+
java-version: 11
52+
- name: Release
53+
uses: jenkins-infra/[email protected]
54+
with:
55+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
57+
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Jenkins Security Scan
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
types: [ opened, synchronize, reopened ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
security-scan:
12+
uses: jenkins-infra/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@v2
13+
with:
14+
java-cache: '' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate.
15+
java-version: 11 # What version of Java to set up for the build.

.mvn/extensions.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
2+
<extension>
3+
<groupId>io.jenkins.tools.incrementals</groupId>
4+
<artifactId>git-changelist-maven-extension</artifactId>
5+
<version>1.3</version>
6+
</extension>
7+
</extensions>

.mvn/maven.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-Pconsume-incrementals
2+
-Pmight-produce-incrementals
3+
-Dchangelist.format=%d.v%s
File renamed without changes.

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1+
## Does anyone want to become a maintainer of this plugin?
2+
This plugin was very popular for many years, but since most of Jenkins usage now is based on Jenkins Pipeline, and the 'parallel' step along with 'BlueOcean' can basically do whatever this plugin does, it is no longer in [Tikal's radar](https://fullstackradar.tikalk.com/tikal/radar/index.html).
3+
Also, we published the [parallelPhase library class](https://github.com/TikalCI/tci-library/blob/master/src/tci/pipeline/parallelPhase.groovy) that can do in pipelines what the plugin does.
4+
Still, there are many users of the plugin that asked for fixes and new features, so we'll appreciate anyone willing to become a maintainer of the plugin.
5+
16
## When to use MultiJob (tikal-multijob-plugin) plugin ?
27
- If you'd like to stop the mess with downstream / upstream jobs chains definitions
38
- When you want to add full hierarchy of Jenkins jobs that will be executed in sequence or in parallel
49
- Add context to your buildflow implementing parameter inheritance from the MultiJob to all its Phases and Jobs, Phases are sequential whilst jobs inside each Phase are parallel
510

6-
### More info on wiki page @: https://wiki.jenkins.io/display/JENKINS/Multijob+Plugin
11+
### More info on wiki page @: https://plugins.jenkins.io/jenkins-multijob-plugin/
712

813
### Found a bug ? require a new feature ?
914
#### Feel free to open an issue: https://github.com/jenkinsci/tikal-multijob-plugin/issues
1015
****
11-
### Plugin CI job: https://jenkins.ci.cloudbees.com/job/plugins/job/tikal-multijob-plugin/
1216

1317
========
14-
## Does anyone want to become a maintainer of this plugin???
15-
This plugin was very popular for many years, but since most of Jenkins usage now is based on Jenkins Pipeline, and the 'parallel' step along with 'BlueOcean' can basically do whatever this plugin does, it is no longer in [Tikal's radar](https://fullstackradar.tikalk.com/tikal/radar/index.html).
16-
Also, we published the [parallelPhase library class](https://github.com/TikalCI/tci-library/blob/master/src/tci/pipeline/parallelPhase.groovy) that can do in pipelines what the plugin does.
17-
Still, there are many users of the plugin that asked for fixes and new features, so we'll appreciate anyone willing to become a maintainer of the plugin.
18+

hudson-pom.xml

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)