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

Adjust for script security #229

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

hashar
Copy link
Contributor

@hashar hashar commented Nov 4, 2024

246c635 updates the bom which updates script security plugin from 1366 to 1367 and it can now throw a FormException.

Before submitting a pull request, please make sure the following is done:

  1. Fork the repository and create your branch from master.
  2. If you've fixed a bug or added code that should be tested, please add JUnit tests.
  3. Ensure the test suite passes (mvn clean verify).
  4. Run mvn hpi:run and go to http://localhost:8080/jenkins/ to test your changes. Add a job that produces your bug / feature scenario.

246c635 updates the bom which updates script security plugin from
1366 to 1367 and it can now throw a FormException.
@hashar
Copy link
Contributor Author

hashar commented Nov 4, 2024

That comes from jenkinsci/script-security-plugin#585 which was updated while upgrading the bom in #228 228

@dheid
Copy link
Contributor

dheid commented Nov 4, 2024

Thanks!!!

@dheid dheid merged commit e6114c5 into jenkinsci:main Nov 4, 2024
0 of 3 checks passed
hashar added a commit to hashar/postbuildscript-plugin that referenced this pull request Nov 5, 2024
In jenkinsci#229, I have adjust the source code to take in account the scripty
security plugin can now throw a FormException. I only checked it with
`mvn compile` and missed that tests were not compiled and had to be
adjusted.

Tested locally with `mvn verify`
@hashar
Copy link
Contributor Author

hashar commented Nov 5, 2024

I only ran mvn compile and missed a test file had to be adjusted as well. I have done it with #231

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants