Closed mikejoh closed 6 years ago
In the jobdsl-gradle/src/jobs/resources/pipelines/jenkinsdeploy.groovy job we need to add escape sequences to the pipe-character so that the gradlew run works as expected:
jobdsl-gradle/src/jobs/resources/pipelines/jenkinsdeploy.groovy
gradlew
def nonProxy = "" if ( env.no_proxy ) { def hostList = env.no_proxy.replace(',','\\|') nonProxy = "-Dhttp.nonProxyHosts=${hostList} -Dhttps.nonProxyHosts=${hostList}".replace('\\|.','\\|*.') }
In the
jobdsl-gradle/src/jobs/resources/pipelines/jenkinsdeploy.groovy
job we need to add escape sequences to the pipe-character so that thegradlew
run works as expected: