Groovy web console

subscribe to the feed Subscribe
to this
site
doRelease (via #groovywebconsole)
tweet this snippet Tweet
this
script

doRelease

Published 5 months ago by roman with tags jenkins
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def doRelease = 'false'
if (doRelease) {
  println 'Do string release'
}
if (doRelease.toBoolean()) {
  println 'Do boolean release'
} else {
  println "Don't do boolean release"
}