Skip to content

Instantly share code, notes, and snippets.

@Talento90
Last active January 9, 2018 17:34
Show Gist options
  • Save Talento90/7a5f9a66727ed38ff4a23dd4de49a9a2 to your computer and use it in GitHub Desktop.
Save Talento90/7a5f9a66727ed38ff4a23dd4de49a9a2 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