Groovy web console

subscribe to the feed Subscribe
to this
site

jenkins911

Published 3 months ago by Anonymous
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
GIT_COMMIT_MESSAGE_1 = '@JENKINS911 Madoka help me!'
GIT_COMMIT_MESSAGE_2 = 'Madoka help me not! @JENKINS911'
GIT_COMMIT_MESSAGE_3 = 'Madoka help me not!'

println(GIT_COMMIT_MESSAGE_1 ==~ '^@JENKINS911.*')
println(GIT_COMMIT_MESSAGE_2 ==~ '^@JENKINS911.*')
println(GIT_COMMIT_MESSAGE_3 ==~ '^@JENKINS911.*')