Skip to content

Commit

Permalink
Merge branch 'master' into JENKINS-37241/autocomplete-improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
timja authored Dec 4, 2024
2 parents d017d30 + 171df4d commit a1a3138
Show file tree
Hide file tree
Showing 18 changed files with 278 additions and 274 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-release-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
wget -q https://get.jenkins.io/${REPO}/${PROJECT_VERSION}/${FILE_NAME}
- name: Upload Release Asset
id: upload-war
uses: softprops/action-gh-release@e7a8f85e1c67a31e6ed99a94b41bd0b71bbee6b8 # v2.0.9
uses: softprops/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974 # v2.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
- name: Upload Release Asset
id: upload-deb
if: always()
uses: softprops/action-gh-release@e7a8f85e1c67a31e6ed99a94b41bd0b71bbee6b8 # v2.0.9
uses: softprops/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974 # v2.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
- name: Upload Release Asset
id: upload-rpm
if: always()
uses: softprops/action-gh-release@e7a8f85e1c67a31e6ed99a94b41bd0b71bbee6b8 # v2.0.9
uses: softprops/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974 # v2.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
- name: Upload Release Asset
id: upload-msi
if: always()
uses: softprops/action-gh-release@e7a8f85e1c67a31e6ed99a94b41bd0b71bbee6b8 # v2.0.9
uses: softprops/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974 # v2.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
- name: Upload Release Asset
id: upload-suse-rpm
if: always()
uses: softprops/action-gh-release@e7a8f85e1c67a31e6ed99a94b41bd0b71bbee6b8 # v2.0.9
uses: softprops/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974 # v2.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion ath.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -o xtrace
cd "$(dirname "$0")"

# https://github.com/jenkinsci/acceptance-test-harness/releases
export ATH_VERSION=6072.vc7e4e6a_970b_c
export ATH_VERSION=6081.v29b_ce3c2771c

if [[ $# -eq 0 ]]; then
export JDK=17
Expand Down
12 changes: 6 additions & 6 deletions bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ THE SOFTWARE.

<properties>
<commons-fileupload2.version>2.0.0-M2</commons-fileupload2.version>
<stapler.version>1922.v3f3302a_7f16f</stapler.version>
<stapler.version>1928.v9115fe47607f</stapler.version>
<groovy.version>2.4.21</groovy.version>
</properties>

Expand All @@ -62,15 +62,15 @@ THE SOFTWARE.
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-framework-bom</artifactId>
<version>6.1.14</version>
<version>6.2.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<!-- https://docs.spring.io/spring-security/reference/6.3/getting-spring-security.html#getting-maven-no-boot -->
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-bom</artifactId>
<version>6.3.4</version>
<version>6.4.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -129,7 +129,7 @@ THE SOFTWARE.
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.17.0</version>
<version>2.18.0</version>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
Expand Down Expand Up @@ -295,7 +295,7 @@ THE SOFTWARE.
<dependency>
<groupId>org.jvnet.hudson</groupId>
<artifactId>commons-jelly-tags-define</artifactId>
<version>1.1-jenkins-20240903</version>
<version>1.1-jenkins-20241115</version>
</dependency>
<dependency>
<groupId>org.jvnet.localizer</groupId>
Expand Down Expand Up @@ -335,7 +335,7 @@ THE SOFTWARE.
<dependency>
<groupId>org.kohsuke.stapler</groupId>
<artifactId>json-lib</artifactId>
<version>2.4-jenkins-7</version>
<version>2.4-jenkins-8</version>
</dependency>
<dependency>
<groupId>org.kohsuke.stapler</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* newer than {@link RemotingVersionInfo#getMinimumSupportedVersion}.
* (Core and plugin APIs will be identical to those run inside the controller.)
* @param <V> the return type; note that this must either be defined in your plugin or included in the stock JEP-200 whitelist
* @since TODO
* @since 2.485
*/
public interface ControllerToAgentCallable<V, T extends Throwable> extends Callable<V, T> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* {@link FilePath.FileCallable} meant to be serialized then run on an agent.
* Like {@link ControllerToAgentCallable} this will typically be a {@link Record}.
* @param <T> the return type; note that this must either be defined in your plugin or included in the stock JEP-200 whitelist
* @since TODO
* @since 2.485
*/
public interface ControllerToAgentFileCallable<T> extends FilePath.FileCallable<T> {

Expand Down
4 changes: 2 additions & 2 deletions core/src/main/java/jenkins/model/Nodes.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,15 @@ public void setNodes(final @NonNull Collection<? extends Node> nodes) throws IOE
toRemove.putAll(Nodes.this.nodes);
for (var node : nodes) {
final var name = node.getNodeName();
Nodes.this.nodes.put(name, node);
node.onLoad(Nodes.this, name);
var oldNode = toRemove.get(name);
if (oldNode != null) {
NodeListener.fireOnUpdated(oldNode, node);
toRemove.remove(name);
} else {
NodeListener.fireOnCreated(node);
}
Nodes.this.nodes.put(name, node);
node.onLoad(Nodes.this, name);
}
Nodes.this.nodes.keySet().removeAll(toRemove.keySet());
jenkins.updateComputerList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@ THE SOFTWARE.
<j:otherwise>
<j:set var="changelog_url" value="${app.CHANGELOG_URL}"/>
${%NewVersionAvailable(ucData.core.version,ucData.core.url,changelog_url)}
<j:if test="${ucData.canUpgrade()}">
<form method="post" action="${rootURL}/updateCenter/upgrade">
<f:submit value="${%Or Upgrade Automatically}"/>
</form>
</j:if>
<l:isAdmin>
<j:if test="${ucData.canUpgrade()}">
<form method="post" action="${rootURL}/updateCenter/upgrade">
<f:submit value="${%Or Upgrade Automatically}"/>
</form>
</j:if>
</l:isAdmin>
</j:otherwise>
</j:choose>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def listWarnings(warnings, boolean core) {
}
}
}
if (fixables == warnings.size) {
if (fixables == warnings.size()) {
dd {
if (fixables == 1) {
raw(_(core ? "allFixable1Core" : "allFixable1", rootURL))
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/resources/lib/form/helpLink.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ THE SOFTWARE.
</st:documentation>
<j:choose>
<j:when test="${attrs.url!=null}">
<j:set var="altText" value="${attrs.featureName != null ? '%Help for feature:' + ' ' + h.escape(attrs.featureName) : '%Help'}" />
<j:set var="altText" value="${attrs.featureName != null ? '%Help for feature:' + ' ' + attrs.featureName : '%Help'}" />
<a href="#" class="jenkins-help-button" tooltip="${altText}" helpURL="${rootURL}${attrs.url}">
<!-- .jenkins-help-button span element is required as it's restyled in CSS -->
<span>?</span>
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/resources/lib/layout/card.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ THE SOFTWARE.
<div class="jenkins-card__title">
${attrs.title}
<div class="jenkins-card__controls">
<j:out value="${controls}"/>
<j:out value="${attrs.controls}"/>
<j:if test="${attrs.expandable != null}">
<a href="${attrs.expandable}" class="jenkins-card__reveal" tooltip="${%Expand}">
<l:icon src="symbol-expand" />
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,26 @@
"@babel/cli": "7.25.9",
"@babel/core": "7.26.0",
"@babel/preset-env": "7.26.0",
"@eslint/js": "9.14.0",
"@eslint/js": "9.16.0",
"babel-loader": "9.2.1",
"clean-webpack-plugin": "4.0.0",
"css-loader": "7.1.2",
"css-minimizer-webpack-plugin": "7.0.0",
"eslint": "9.14.0",
"eslint": "9.16.0",
"eslint-config-prettier": "9.1.0",
"eslint-formatter-checkstyle": "8.40.0",
"globals": "15.12.0",
"handlebars-loader": "1.7.3",
"mini-css-extract-plugin": "2.9.2",
"postcss": "8.4.47",
"postcss": "8.4.49",
"postcss-loader": "8.1.1",
"postcss-preset-env": "10.0.9",
"postcss-preset-env": "10.1.1",
"postcss-scss": "4.0.9",
"prettier": "3.3.3",
"sass": "1.80.6",
"prettier": "3.4.1",
"sass": "1.81.0",
"sass-loader": "16.0.3",
"style-loader": "4.0.0",
"stylelint": "16.10.0",
"stylelint": "16.11.0",
"stylelint-checkstyle-reporter": "1.0.0",
"stylelint-config-standard": "36.0.1",
"webpack": "5.96.1",
Expand All @@ -57,7 +57,7 @@
"hotkeys-js": "3.12.2",
"jquery": "3.7.1",
"lodash": "4.17.21",
"sortablejs": "1.15.3",
"sortablejs": "1.15.6",
"tippy.js": "6.3.7",
"window-handle": "1.0.1"
},
Expand All @@ -68,5 +68,5 @@
"engines": {
"node": ">=20.0.0"
},
"packageManager": "[email protected].1"
"packageManager": "[email protected].3"
}
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ THE SOFTWARE.
</issueManagement>

<properties>
<revision>2.485</revision>
<revision>2.489</revision>
<changelist>-SNAPSHOT</changelist>
<project.build.outputTimestamp>2024-11-05T13:51:04Z</project.build.outputTimestamp>
<project.build.outputTimestamp>2024-12-03T13:54:11Z</project.build.outputTimestamp>

<!-- configuration for patch tracker plugin -->
<project.patchManagement.system>github</project.patchManagement.system>
Expand All @@ -98,7 +98,7 @@ THE SOFTWARE.
<spotless.check.skip>false</spotless.check.skip>
<!-- Make sure to keep the jetty-ee9-maven-plugin version in war/pom.xml in sync with the Jetty release in Winstone: -->
<winstone.version>8.2</winstone.version>
<node.version>20.18.0</node.version>
<node.version>20.18.1</node.version>
</properties>

<!--
Expand Down Expand Up @@ -281,7 +281,7 @@ THE SOFTWARE.
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>10.20.1</version>
<version>10.20.2</version>
</dependency>
</dependencies>
<executions>
Expand Down
6 changes: 3 additions & 3 deletions src/main/scss/abstracts/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ $semantics: (
:root,
.app-theme-picker__picker[data-theme="none"] {
// Font related properties
--font-family-sans: system-ui, "Segoe UI", roboto, "Noto Sans", oxygen, ubuntu,
cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", arial, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
--font-family-sans: system-ui, "Segoe UI", roboto, "Noto Sans", oxygen,
ubuntu, cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", arial,
sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
--font-family-mono: ui-monospace, sfmono-regular, sf mono, jetbrainsmono,
consolas, monospace;
--font-size-base: 1rem; // 16px
Expand Down
12 changes: 6 additions & 6 deletions test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ THE SOFTWARE.
<!-- requireUpperBoundDeps via matrix-project and junit -->
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>script-security</artifactId>
<version>1367.vdf2fc45f229c</version>
<version>1369.v9b_98a_4e95b_2d</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
Expand All @@ -134,7 +134,7 @@ THE SOFTWARE.
<!-- Required by plugin-util-api -->
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-support</artifactId>
<version>932.vb_555de1b_a_b_94</version>
<version>936.v9fa_77211ca_e1</version>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down Expand Up @@ -178,7 +178,7 @@ THE SOFTWARE.
<dependency>
<groupId>org.jenkins-ci.main</groupId>
<artifactId>jenkins-test-harness</artifactId>
<version>2345.v699712948764</version>
<version>2363.vf95c19b_2ca_72</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand Down Expand Up @@ -218,7 +218,7 @@ THE SOFTWARE.
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>cloudbees-folder</artifactId>
<version>6.955.v81e2a_35c08d3</version>
<version>6.959.v4ed5cc9e2dd4</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -344,15 +344,15 @@ THE SOFTWARE.
<artifactItem>
<groupId>io.jenkins.plugins</groupId>
<artifactId>design-library</artifactId>
<version>307.vecc0205ca_707</version>
<version>325.v40b_a_ccf974db_</version>
<type>hpi</type>
<outputDirectory>${project.build.outputDirectory}/plugins</outputDirectory>
<destFileName>design-library.jpi</destFileName>
</artifactItem>
<artifactItem>
<groupId>io.jenkins.plugins</groupId>
<artifactId>prism-api</artifactId>
<version>1.29.0-17</version>
<version>1.29.0-18</version>
<type>hpi</type>
<outputDirectory>${project.build.outputDirectory}/plugins</outputDirectory>
<destFileName>prism-api.jpi</destFileName>
Expand Down
1 change: 1 addition & 0 deletions test/src/test/java/jenkins/model/NodesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ public static class CheckSetNodes extends NodeListener {

@Override
protected void onCreated(@NonNull Node node) {
node.getRootDir();
created.add(node.getNodeName());
}

Expand Down
2 changes: 1 addition & 1 deletion test/src/test/java/jenkins/security/Security2779Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private void noCrossSiteScriptingInHelp(String selector) throws Exception {

// assert leading space to identify unintentional double-escaping (&amp;lt;) as test failure
assertThat("tooltip does not contain dangerous HTML", jsResultString, not(containsString(" <img src=x")));
assertThat("tooltip contains safe text", jsResultString, containsString("lt;img src=x"));
assertThat("tooltip contains safe text", jsResultString, containsString(" &lt;img src=x"));
}

@TestExtension
Expand Down
6 changes: 3 additions & 3 deletions war/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ THE SOFTWARE.
<!-- dependency of command-launcher, junit, matrix-project, and workflow-support -->
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>script-security</artifactId>
<version>1367.vdf2fc45f229c</version>
<version>1369.v9b_98a_4e95b_2d</version>
<type>hpi</type>
</artifactItem>
<artifactItem>
Expand Down Expand Up @@ -350,7 +350,7 @@ THE SOFTWARE.
<!-- dependency of checks-api and plugin-util-api -->
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-support</artifactId>
<version>932.vb_555de1b_a_b_94</version>
<version>936.v9fa_77211ca_e1</version>
<type>hpi</type>
</artifactItem>

Expand Down Expand Up @@ -439,7 +439,7 @@ THE SOFTWARE.
<!-- detached after 2.86 -->
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>command-launcher</artifactId>
<version>115.vd8b_301cc15d0</version>
<version>116.vd85919c54a_d6</version>
<type>hpi</type>
</artifactItem>
<artifactItem>
Expand Down
Loading

0 comments on commit a1a3138

Please sign in to comment.