Groovy web console

subscribe to the feed Subscribe
to this

Jenkins fails

Published 1 month ago by no with tags test
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def bits = 'aaa'
def bots = 'bbb'
def myfunc(String bits, String bots) {
    println 'bits:'
    println bits
    println 'bots:'
    println bots
    sh '''
        echo "bits: ${bits}, bots: ${bots}"

myfunc('bbb', bits)