1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/vars/fetchUrl.groovy
Daniel Kurzynski 22ee06dc17 Enable configuration via yaml file + mavenExecute as example (#18)
* Enable configuration via yaml file
* Add documentation 
* Add tests
2017-12-06 12:03:06 +01:00

6 lines
99 B
Groovy

import com.cloudbees.groovy.cps.NonCPS
@NonCPS
def call(url) {
return new URL(url).getText()
}