Skip to content

Commit 709f36e

Browse files
authored
Merge branch 'master' into master
2 parents 2c37311 + e690ade commit 709f36e

File tree

138 files changed

+5714
-1160
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+5714
-1160
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
<!-- Comment:
22
A great PR typically begins with the line below.
3-
Replace XXXXX with the numeric part of the issue ID you created in Jira.
4-
Note that if you want your changes backported into LTS, you need to create a Jira issue. See https://www.jenkins.io/download/lts/#backporting-process for more information.
3+
Replace <issue-number> with the issue number.
54
-->
65

7-
See [JENKINS-XXXXX](https://issues.jenkins.io/browse/JENKINS-XXXXX).
6+
Fixes #<issue-number>
87

98
<!-- Comment:
10-
If the issue is not fully described in Jira, add more information here (justification, pull request links, etc.).
9+
If the issue is not fully described in the issue tracker, add more information here (justification, pull request links, etc.).
1110
12-
* We do not require Jira issues for minor improvements.
13-
* Bug fixes should have a Jira issue to facilitate the backporting process.
14-
* Major new features should have a Jira issue.
11+
* We do not require an issue for minor improvements.
12+
* Major new features should have an issue created.
1513
-->
1614

1715
### Testing done
@@ -34,8 +32,8 @@ For refactoring and code cleanup changes, exercise the code before and after the
3432
The changelog entry should be in the imperative mood; e.g., write "do this"/"return that" rather than "does this"/"returns that".
3533
For examples, see: https://www.jenkins.io/changelog/
3634
37-
Do not include the Jira issue in the changelog entry.
38-
Include the Jira issue in the description of the pull request so that the changelog generator can find it and include it in the generated changelog.
35+
Do not include the issue in the changelog entry.
36+
Include the issue in the description of the pull request so that the changelog generator can find it and include it in the generated changelog.
3937
4038
You may add multiple changelog entries if applicable by adding a new entry to the list, e.g.
4139
- First changelog entry
@@ -82,7 +80,7 @@ The changelog generator relies on the presence of the upgrade guidelines section
8280

8381
### Submitter checklist
8482

85-
- [ ] The Jira issue, if it exists, is well-described.
83+
- [ ] The issue, if it exists, is well-described.
8684
- [ ] The changelog entries and upgrade guidelines are appropriate for the audience affected by the change (users or developers, depending on the change) and are in the imperative mood (see [examples](https://github.com/jenkins-infra/jenkins.io/blob/master/content/_data/changelogs/weekly.yml)). Fill in the **Proposed upgrade guidelines** section only if there are breaking changes or changes that may require extra steps from users during upgrade.
8785
- [ ] There is automated testing or an explanation as to why this change has no tests.
8886
- [ ] New public classes, fields, and methods are annotated with `@Restricted` or have `@since TODO` Javadocs, as appropriate.
@@ -108,4 +106,4 @@ Before the changes are marked as `ready-for-merge`:
108106
- [ ] Changelog entries in the pull request title and/or **Proposed changelog entries** are accurate, human-readable, and in the imperative mood.
109107
- [ ] Proper changelog labels are set so that the changelog can be generated automatically.
110108
- [ ] If the change needs additional upgrade steps from users, the `upgrade-guide-needed` label is set and there is a **Proposed upgrade guidelines** section in the pull request title (see [example](https://github.com/jenkinsci/jenkins/pull/4387)).
111-
- [ ] If it would make sense to backport the change to LTS, a Jira issue must exist, be a _Bug_ or _Improvement_, and be labeled as `lts-candidate` to be considered (see [query](https://issues.jenkins.io/issues/?filter=12146)).
109+
- [ ] If it would make sense to backport the change to LTS, be a _Bug_ or _Improvement_, and either the issue or pull request must be labeled as `lts-candidate` to be considered.

.github/renovate.json

Lines changed: 32 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,19 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
"config:recommended",
5-
":disableDependencyDashboard",
6-
":semanticCommitsDisabled"
7-
],
3+
"extends": ["config:recommended", ":semanticCommitsDisabled"],
84
"prHourlyLimit": 0,
95
"prConcurrentLimit": 0,
10-
"postUpdateOptions": [
11-
"yarnDedupeHighest"
12-
],
6+
"postUpdateOptions": ["yarnDedupeHighest"],
137
"packageRules": [
148
{
15-
"matchDatasources": [
16-
"npm"
17-
],
18-
"addLabels": [
19-
"javascript"
20-
],
9+
"matchDatasources": ["npm"],
10+
"addLabels": ["javascript"],
2111
"minimumReleaseAge": "3 days",
22-
"reviewers": [
23-
"team:sig-ux"
24-
]
12+
"reviewers": ["team:sig-ux"]
2513
},
2614
{
2715
"description": "Should be upgraded in lockstep in order to keep their corresponding Jetty versions aligned",
28-
"matchManagers": [
29-
"maven"
30-
],
16+
"matchManagers": ["maven"],
3117
"groupName": "Winstone and Jetty",
3218
"matchPackageNames": [
3319
"org.eclipse.jetty.ee9:jetty-ee9-maven-plugin",
@@ -36,9 +22,7 @@
3622
},
3723
{
3824
"description": "Provided by Jetty and should be aligned with the version provided by the version of Jetty we deliver. See: https://github.com/jenkinsci/jenkins/pull/5211",
39-
"matchManagers": [
40-
"maven"
41-
],
25+
"matchManagers": ["maven"],
4226
"enabled": false,
4327
"matchPackageNames": [
4428
"jakarta.servlet:jakarta.servlet-api",
@@ -47,140 +31,87 @@
4731
},
4832
{
4933
"description": "Needs significant testing. See: https://github.com/jenkinsci/jenkins/pull/5112#issuecomment-744429487 and https://github.com/jenkinsci/jenkins/pull/5116#issuecomment-744526638",
50-
"matchManagers": [
51-
"maven"
52-
],
34+
"matchManagers": ["maven"],
5335
"allowedVersions": "<2.5.0",
54-
"matchPackageNames": [
55-
"org.codehaus.groovy:groovy-all"
56-
]
36+
"matchPackageNames": ["org.codehaus.groovy:groovy-all"]
5737
},
5838
{
5939
"description": "Consumed by Groovy and should be updated in lockstep with Groovy. See: https://github.com/jenkinsci/jenkins/pull/5184",
60-
"matchManagers": [
61-
"maven"
62-
],
40+
"matchManagers": ["maven"],
6341
"enabled": false,
64-
"matchPackageNames": [
65-
"org.fusesource.jansi:jansi"
66-
]
42+
"matchPackageNames": ["org.fusesource.jansi:jansi"]
6743
},
6844
{
6945
"description": "Contains incompatible API changes and needs compatibility work. See: https://github.com/jenkinsci/jenkins/pull/4224",
70-
"matchManagers": [
71-
"maven"
72-
],
46+
"matchManagers": ["maven"],
7347
"enabled": false,
74-
"matchPackageNames": [
75-
"org.jfree:jfreechart"
76-
]
48+
"matchPackageNames": ["org.jfree:jfreechart"]
7749
},
7850
{
7951
"description": "Starting with 7.x, Guice switches from javax.* to jakarta.* bindings. See https://github.com/google/guice/wiki/Guice700",
80-
"matchManagers": [
81-
"maven"
82-
],
52+
"matchManagers": ["maven"],
8353
"allowedVersions": "<7.0.0",
84-
"matchPackageNames": [
85-
"com.google.inject:guice-bom"
86-
]
54+
"matchPackageNames": ["com.google.inject:guice-bom"]
8755
},
8856
{
89-
"matchFileNames": [
90-
"core/pom.xml",
91-
"test/pom.xml",
92-
"war/pom.xml"
93-
],
94-
"matchPackageNames": [
95-
"org.jenkins-ci.main:remoting"
96-
],
57+
"matchFileNames": ["core/pom.xml", "test/pom.xml", "war/pom.xml"],
58+
"matchPackageNames": ["org.jenkins-ci.main:remoting"],
9759
"description": "Avoid updating the remoting.minimum.supported.version property but still update latest one by not placing this property in the parent pom.xml",
9860
"enabled": false
9961
},
10062
{
101-
"matchPackageNames": [
102-
"net.jcip:jcip-annotations"
103-
],
104-
"matchDatasources": [
105-
"maven"
106-
],
63+
"matchPackageNames": ["net.jcip:jcip-annotations"],
64+
"matchDatasources": ["maven"],
10765
"enabled": false,
10866
"description": "maven-metadata.xml is missing for this really old package which is required by renovate"
10967
}
11068
],
11169
"customManagers": [
11270
{
11371
"customType": "regex",
114-
"fileMatch": [
115-
"pom.xml"
116-
],
117-
"matchStrings": [
118-
"<node.version>(?<currentValue>.*?)</node.version>"
119-
],
72+
"managerFilePatterns": ["/pom.xml/"],
73+
"matchStrings": ["<node.version>(?<currentValue>.*?)</node.version>"],
12074
"depNameTemplate": "node",
12175
"datasourceTemplate": "node-version"
12276
},
12377
{
12478
"customType": "regex",
125-
"fileMatch": [
126-
"ath.sh"
127-
],
128-
"matchStrings": [
129-
"export ATH_VERSION=(?<currentValue>.*?)\n"
130-
],
79+
"managerFilePatterns": ["/ath.sh/"],
80+
"matchStrings": ["export ATH_VERSION=(?<currentValue>.*?)\n"],
13181
"depNameTemplate": "jenkins/ath",
13282
"datasourceTemplate": "docker",
13383
"versioningTemplate": "loose"
13484
},
13585
{
13686
"customType": "regex",
137-
"fileMatch": [
138-
".gitpod/Dockerfile"
139-
],
140-
"matchStrings": [
141-
"ARG MAVEN_VERSION=(?<currentValue>.*?)\n"
142-
],
87+
"managerFilePatterns": ["/.gitpod/Dockerfile/"],
88+
"matchStrings": ["ARG MAVEN_VERSION=(?<currentValue>.*?)\n"],
14389
"depNameTemplate": "org.apache.maven:maven-core",
14490
"datasourceTemplate": "maven"
14591
},
14692
{
14793
"customType": "regex",
148-
"fileMatch": [
149-
"core/src/site/site.xml"
150-
],
151-
"matchStrings": [
152-
"lit@(?<currentValue>.*?)/"
153-
],
94+
"managerFilePatterns": ["/core/src/site/site.xml/"],
95+
"matchStrings": ["lit@(?<currentValue>.*?)/"],
15496
"depNameTemplate": "lit",
15597
"datasourceTemplate": "npm"
15698
},
15799
{
158100
"customType": "regex",
159-
"fileMatch": [
160-
"core/src/site/site.xml"
161-
],
162-
"matchStrings": [
163-
"webcomponentsjs@(?<currentValue>.*?)/"
164-
],
101+
"managerFilePatterns": ["/core/src/site/site.xml/"],
102+
"matchStrings": ["webcomponentsjs@(?<currentValue>.*?)/"],
165103
"depNameTemplate": "@webcomponents/webcomponentsjs",
166104
"datasourceTemplate": "npm"
167105
},
168106
{
169107
"customType": "regex",
170-
"fileMatch": [
171-
"core/src/site/site.xml"
172-
],
173-
"matchStrings": [
174-
"<version>(?<currentValue>.*?)</version>"
175-
],
108+
"managerFilePatterns": ["/core/src/site/site.xml/"],
109+
"matchStrings": ["<version>(?<currentValue>.*?)</version>"],
176110
"depNameTemplate": "org.apache.maven.skins:maven-fluido-skin",
177111
"datasourceTemplate": "maven"
178112
}
179113
],
180-
"labels": [
181-
"dependencies",
182-
"skip-changelog"
183-
],
114+
"labels": ["dependencies", "skip-changelog"],
184115
"rebaseWhen": "conflicted",
185116
"ignorePaths": [
186117
"**/node_modules/**",

.github/workflows/changelog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ jobs:
4444
runs-on: ubuntu-latest
4545
if: github.repository_owner == 'jenkinsci'
4646
steps:
47-
- uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
47+
- uses: actions/create-github-app-token@7e473efe3cb98aa54f8d4bac15400b15fad77d94 # v2.2.0
4848
id: generate-token
4949
with:
5050
app-id: ${{ secrets.JENKINS_CHANGELOG_UPDATER_APP_ID }}
5151
private-key: ${{ secrets.JENKINS_CHANGELOG_UPDATER_PRIVATE_KEY }}
5252
owner: jenkins-infra
5353
repositories: jenkins.io
5454
- name: Check out
55-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
55+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
5656
with:
5757
fetch-depth: 0
5858
- name: Publish jenkins.io changelog draft

.github/workflows/publish-release-artifact.yml

Lines changed: 6 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
is-lts: ${{ steps.set-version.outputs.is-lts }}
1717
is-rc: ${{ steps.set-version.outputs.is-rc }}
1818
steps:
19-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
19+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2020
- name: Set up JDK 21
21-
uses: actions/setup-java@de5a937a1dc73fbc1a67d7d1aa4bebc1082f3190 #v 5.0.0
21+
uses: actions/setup-java@4e7e684fbb6e33f88ecb2cf1e6b3797739cf499b #v 5.0.0
2222
with:
2323
distribution: "temurin"
2424
java-version: 21
@@ -114,7 +114,7 @@ jobs:
114114
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
115115
with:
116116
files: ${{ steps.fetch-deb.outputs.file-name }}
117-
redhat:
117+
rpm:
118118
permissions:
119119
contents: write # to upload release asset (softprops/action-gh-release)
120120

@@ -128,15 +128,16 @@ jobs:
128128
run: |
129129
PROJECT_VERSION=${{ needs.determine-version.outputs.project-version }}
130130
echo $PROJECT_VERSION
131-
FILE_NAME=jenkins-${PROJECT_VERSION}-1.1.noarch.rpm
131+
FILE_NAME=jenkins-${PROJECT_VERSION}-1.noarch.rpm
132132
IS_LTS=${{ needs.determine-version.outputs.is-lts }}
133133
134134
echo "file-name=$FILE_NAME" >> $GITHUB_OUTPUT
135135
136-
REPO=redhat
136+
REPO=rpm
137137
if [ ${IS_LTS} = 'true' ]
138138
then
139139
REPO=redhat-stable
140+
FILE_NAME=jenkins-${PROJECT_VERSION}-1.1.noarch.rpm
140141
fi
141142
142143
echo $REPO
@@ -186,39 +187,3 @@ jobs:
186187
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
187188
with:
188189
files: ${{ steps.fetch-msi.outputs.file-name }}
189-
suse:
190-
permissions:
191-
contents: write # to upload release asset (softprops/action-gh-release)
192-
193-
runs-on: ubuntu-latest
194-
needs: determine-version
195-
if: ${{ needs.determine-version.outputs.is-rc == 'false' }}
196-
steps:
197-
- name: Fetch suse rpm
198-
id: fetch-suse-rpm
199-
if: always()
200-
run: |
201-
PROJECT_VERSION=${{ needs.determine-version.outputs.project-version }}
202-
echo $PROJECT_VERSION
203-
# we need opensuse to the file
204-
OUTPUT_FILE_NAME=jenkins-${PROJECT_VERSION}-1.2-opensuse.noarch.rpm
205-
IS_LTS=${{ needs.determine-version.outputs.is-lts }}
206-
echo "file-name=$OUTPUT_FILE_NAME" >> $GITHUB_OUTPUT
207-
208-
REPO=opensuse
209-
if [ ${IS_LTS} = 'true' ]
210-
then
211-
REPO=opensuse-stable
212-
fi
213-
214-
echo $REPO
215-
216-
wget -q https://get.jenkins.io/${REPO}/jenkins-${PROJECT_VERSION}-1.2.noarch.rpm -O ${OUTPUT_FILE_NAME}
217-
- name: Upload Release Asset
218-
id: upload-suse-rpm
219-
if: always()
220-
uses: softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2.4.2
221-
env:
222-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
223-
with:
224-
files: ${{ steps.fetch-suse-rpm.outputs.file-name }}

.github/workflows/run-since-updater.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
if: ${{ github.repository_owner == 'jenkinsci' }}
1616
steps:
17-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
17+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
1818
with:
1919
fetch-depth: 0
2020
- name: Run update-since-todo.py
@@ -29,7 +29,7 @@ jobs:
2929
id: run_script
3030
shell: bash
3131
- name: Create Pull Request
32-
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
32+
uses: peter-evans/create-pull-request@84ae59a2cdc2258d6fa0732dd66352dddae2a412 # v7.0.9
3333
with:
3434
token: ${{ secrets.GITHUB_TOKEN }}
3535
commit-message: Fill in since annotations

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ This page provides information about contributing code to the Jenkins core codeb
1818

1919
If you want to contribute to Jenkins, or just learn about the project,
2020
you can start by fixing some easier issues.
21-
In the Jenkins issue tracker we mark such issues as `newbie-friendly`.
22-
You can find them by using this query (check the link) for [newbie friendly issues](<https://issues.jenkins.io/issues/?jql=project%20%3D%20JENKINS%20AND%20status%20in%20(Open%2C%20%22In%20Progress%22%2C%20Reopened)%20AND%20component%20%3D%20core%20AND%20labels%20in%20(newbie-friendly)>).
21+
In the Jenkins issue tracker we mark such issues as `good first issue`.
22+
You can find them by using this query (check the link) for [good first issues](https://github.com/jenkinsci/jenkins/issues?q=is%3Aissue%20is%3Aopen%20label%3A%22good%20first%20issue%22).
2323

2424
## Building and Debugging
2525

@@ -261,4 +261,4 @@ just submit a pull request.
261261
- [Jenkins Contribution Landing Page](https://www.jenkins.io/participate/)
262262
- [Jenkins Chat Channels](https://www.jenkins.io/chat/)
263263
- [Beginners Guide To Contributing](https://www.jenkins.io/participate/)
264-
- [List of newbie-friendly issues in the core](<https://issues.jenkins.io/issues/?jql=project%20%3D%20JENKINS%20AND%20status%20in%20(Open%2C%20%22In%20Progress%22%2C%20Reopened)%20AND%20component%20%3D%20core%20AND%20labels%20in%20(newbie-friendly)>)
264+
- [List of good first issues in core](https://github.com/jenkinsci/jenkins/issues?q=is%3Aissue%20is%3Aopen%20label%3A%22good%20first%20issue%22)

0 commit comments

Comments
 (0)