Groovy web console

subscribe to the feed Subscribe
to this
site

GIT_COMMIT_MESSAGE

Published 1 month ago by Willi
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def GIT_COMMIT_MESSAGE= '''I am
a multiline string with [commits]
and also [docker] and other
stuff'''

if(GIT_COMMIT_MESSAGE.contains('[docker]')){ println("DOCKER found")}