Created
July 3, 2014 19:27
-
-
Save chrisking/084892e217e11671292c to your computer and use it in GitHub Desktop.
maven config
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
| //Checking for HOST OS to determine maven command | |
| def maven_command = ""; | |
| if (System.properties['os.name'].toLowerCase().contains('windows')) { | |
| //Is Windows | |
| maven_command = "mvn.bat"; | |
| } else { | |
| //Is Not Windows | |
| maven_command = "mvn"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment