Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

jenkinsfile run curl in a function

def response = sh 'curl https://some-host/some-service/getApi?apikey=someKey'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jenkinsfile #run #curl #function
ADD COMMENT
Topic
Name
7+6 =