Skip to content
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

Restore script-security updates #2817

Merged
merged 4 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ updates:
open-pull-requests-limit: 25
directory: "/bom-weekly"
ignore:
- dependency-name: "org.jenkins-ci.plugins:script-security"
versions: ["1310.vf24a_dfce068b_"]
- dependency-name: "io.jenkins.plugins:custom-folder-icon"
versions: ["2.11"]
schedule:
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,15 @@ DOCKERIZED=true

to reproduce image-specific failures.

You can also pass

```sh
PCT_OPTS=--local-checkout-dir=/path/to/plugin
```

to check a local patch without waiting for incrementals deployment,
if you have switched the version in `bom-weekly/pom.xml` to a `*-SNAPSHOT`.

To minimize cloud resources, PCT is not run at all by default on pull requests, only some basic sanity checks.
Add the label `full-test` to run PCT in a PR.
If you lack triage permission and so cannot add this label, then you may instead
Expand Down
2 changes: 1 addition & 1 deletion bom-weekly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>script-security</artifactId>
<version>1305.v487433146192</version>
<version>1313.v7a_6067dc7087</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
Expand Down
1 change: 1 addition & 0 deletions pct.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ exec java \
--include-plugins "${PLUGINS}" \
--working-dir "$(pwd)/target/pct-work" \
$PCT_D_ARGS \
${PCT_OPTS-} \
-Djth.jenkins-war.path="$(pwd)/target/megawar-$LINE.war" \
-Dsurefire.excludesFile="$(pwd)/excludes.txt"

Expand Down