Skip to content

Migrate legacy checkUrl to checkDependsOn (JENKINS-74507)#194

Merged
cesan3 merged 1 commit into
jenkinsci:masterfrom
cesan3:fix/JENKINS-74507-legacy-checkurl
Apr 30, 2026
Merged

Migrate legacy checkUrl to checkDependsOn (JENKINS-74507)#194
cesan3 merged 1 commit into
jenkinsci:masterfrom
cesan3:fix/JENKINS-74507-legacy-checkurl

Conversation

@cesan3
Copy link
Copy Markdown
Contributor

@cesan3 cesan3 commented Apr 30, 2026

Summary

  • Replaces the legacy JavaScript-style checkUrl expression in index.jelly with the modern checkUrl + checkDependsOn form, following the Jenkins CSP migration guide.

Fixes #184 / JENKINS-74507.

Test plan

  • mvn clean verify passes
  • mvn hpi:run — verified the parameter validation still works in the UI (invalid YAML shows the validation error, valid YAML clears it)

Replaces the legacy JavaScript-style checkUrl expression with the modern
checkUrl + checkDependsOn form per the Jenkins CSP migration guide.

Fixes jenkinsci#184
@cesan3 cesan3 requested a review from a team as a code owner April 30, 2026 03:43
@cesan3 cesan3 added enhancement New feature or request java Pull requests that update Java code labels Apr 30, 2026
@cesan3 cesan3 merged commit 9389a3e into jenkinsci:master Apr 30, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request java Pull requests that update Java code

Projects

None yet

1 participant