Groovy web console

subscribe to the feed Subscribe
to this
site

Untitled

Published 2 weeks ago by Anonymous
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
        withCredentials([string(credentialsId: 'vault_token_test', variable: 'vault_token_test')]) {          // try to debug parts
          if ("${vault_token_test.length()}" >0 || "${vault_token_test.trim()}" != ''){
            tokenlen = ${vault_token_test.length()}
            println "vault token is not empty . ${tokenlen}"
          }
}