Created
March 3, 2017 16:07
-
-
Save tuanpembual/56ed9450fe55da5f180da5c525e37b20 to your computer and use it in GitHub Desktop.
Jenkins Job
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String app = "JobGitHUb" | |
folder("${app}") { | |
description "Semua jobs dari github" | |
} | |
job("${app}/Package") { | |
description "Ini adalah\nDeskripsi" | |
logRotator { | |
daysToKeep(7) | |
numToKeep(10) | |
} | |
label('slave') | |
scm { | |
git { | |
remote { | |
url('https://github.com/tuanpembual/jenkins-jobs.git') | |
credentials('jenkins') | |
} | |
branch('master') | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment