Skip to content

Instantly share code, notes, and snippets.

/groovy
Created Mar 23, 2017

Embed
What would you like to do?
groovy syntax error....
stage ('Cleaning') {
steps {
/*echo "cleaning"*/
if (env.BRANCH_NAME == 'Trunk') {
sh "xbuild /p:Configuration=${env.TRUNK_BUILD_CONFIGURATION} /t:Clean ${env.SOLUTION_NAME}"
} else {
sh "xbuild /p:Configuration=${env.RELEASE_BUILD_CONFIGURATION} /t:Clean ${env.SOLUTION_NAME}"
}
echo "cleaning complete"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.