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 #17

Merged
merged 1 commit into from
Jul 22, 2019

Conversation

basil
Copy link
Member

@basil basil commented Jul 21, 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. Using the script security sandbox results in a more realistic environment given that the script security sandbox should always be enabled in production.

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 always enable the script security sandbox.

@dwnusbaum dwnusbaum merged commit f518615 into jenkinsci:master Jul 22, 2019
@basil basil deleted the sandbox branch July 29, 2019 20:21
@jglick jglick added the tests label Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants