Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

jenkinsfile run curl in a function

def response = sh(script: 'curl https://some-host/some-service/getApi?apikey=someKey', returnStdout: true)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jenkinsfile #run #curl #function
ADD COMMENT
Topic
Name
8+1 =