×
The following examples are sourced from the the pipeline-examples repository on GitHub and contributed to by various members of the Jenkins project.
sandbox allow-same-origin; default-src 'none ... The CSP header sent by Jenkins can be modified by setting the Java system property hudson. ... In limited testing ...
Missing: example | Show results with:example
Groovy Sandbox; Script Approval. Approve assuming permissions check. Jenkins, and a number of plugins, allow users to execute Groovy scripts in Jenkins. These ...
This step pauses Pipeline execution and allows the user to interact and control the flow of the build. Only a basic "proceed" or "abort" option is provided ...
Sep 7, 2021 · Introduce a boolean sandbox field into your configuration. When unset, you need to call ScriptApproval.configuring in the @DataBoundConstructor ...
Missing: /search | Show results with:/search
Folder-based libraries are not considered "trusted:" they run in the Groovy sandbox just like typical Pipelines. Automatic Shared Libraries. Other plugins may ...
Your Groovy pipeline script can include functions, conditional tests, loops, try/catch/finally blocks, and so on. Sample syntax for one node in a Java ...
Multiple contexts. The Jenkins Script Console can run either on the controller or any configured agents.
This guide provides a small selection of best practices for pipelines and points out the most common mistakes. The goal is to point pipeline authors and ...
The following lists the properties and the version of Jenkins they were introduced in. Property - Java property name. Default - Default value if not explicitly ...