Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ajmoorexyz/8a8454f01ef0dbee15ade85755d6e090 to your computer and use it in GitHub Desktop.
Save ajmoorexyz/8a8454f01ef0dbee15ade85755d6e090 to your computer and use it in GitHub Desktop.
#Add Groovy Script Permissions: Manage Jenkins » In-process Script Approval and Approve
def job = jenkins.model.Jenkins.instance.getItemByFullName('folder//projname')
def myBuild = job.getBuild('123')
myBuild.keepLog(true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment