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

Consistently use sandbox for CpsFlowDefinitions #79

Merged
merged 1 commit into from
Aug 19, 2019

Conversation

basil
Copy link
Member

@basil basil commented Aug 19, 2019

While looking at the test suite for this plugin, I noticed the CpsFlowDefinitions in the tests don't consistently use the script security sandbox. Always using the script security sandbox makes the tests consistent with each other, and it's also a more realistic environment given that the script security sandbox should always be enabled in production.

I In this change, I replaced any usages of the deprecated single-argument constructor for CpsFlowDefinition with usages of the non-deprecated two-argument constructor, passing in true as the second argument in order to enable the script security sandbox.

@dwnusbaum dwnusbaum merged commit 3ecb10b into jenkinsci:master Aug 19, 2019
@basil basil deleted the sandbox branch August 19, 2019 19:04
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