Jenkinsfile Run Curl dalam suatu fungsi
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'