JenkinsFile run läuft in einer Funktion Curl
def response = sh(script: 'curl https://some-host/some-service/getApi?apikey=someKey', returnStdout: true)
Grotesque Grivet
def response = sh(script: 'curl https://some-host/some-service/getApi?apikey=someKey', returnStdout: true)
def response = sh 'curl https://some-host/some-service/getApi?apikey=someKey'