Created
September 24, 2015 20:12
-
-
Save marcelbirkner/ee5c36d960da7c29e913 to your computer and use it in GitHub Desktop.
Jenkins Job DSL Example
This file contains hidden or 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
job('jersey-rest-server') { | |
scm { | |
git { | |
remote { | |
url('[email protected]:marcelbirkner/jersey-rest-server.git') | |
} | |
createTag(false) | |
} | |
} | |
triggers { | |
scm('H/15 * * * *') | |
} | |
steps { | |
maven { | |
goals('-e clean install') | |
mavenOpts('-Xms256m') | |
mavenOpts('-Xmx512m') | |
properties skipTests: true | |
mavenInstallation('Maven 3.3.3') | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment