mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
commit
51b2241b2f
@ -1,6 +0,0 @@
|
|||||||
import com.cloudbees.groovy.cps.NonCPS
|
|
||||||
|
|
||||||
@NonCPS
|
|
||||||
def call(url) {
|
|
||||||
return new URL(url).getText()
|
|
||||||
}
|
|
@ -80,7 +80,8 @@ def call(Map parameters = [:]) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private downloadSettingsFromUrl(String url){
|
private downloadSettingsFromUrl(String url){
|
||||||
String settings = fetchUrl(url)
|
def settings = httpRequest url
|
||||||
writeFile file: 'settings.xml', text: settings
|
writeFile file: 'settings.xml', text: settings.getContent()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user