Skip to content

Commit 2bc3005

Browse files
committed
add java restricted http headers
1 parent 887414d commit 2bc3005

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Jenkinsfile.oke

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,7 @@ EOF
554554
echo "-Dwko.it.grafana.chart.version=\"${GRAFANA_CHART_VERSION}\"" >> ${WORKSPACE}/.mvn/maven.config
555555
echo "-Dwko.it.collect.logs.on.success=\"${COLLECT_LOGS_ON_SUCCESS}\"" >> ${WORKSPACE}/.mvn/maven.config
556556
echo "-Dwko.it.remoteconsole.version=\"${REMOTECONSOLE_VERSION}\"" >> ${WORKSPACE}/.mvn/maven.config
557+
echo "-Djdk.httpclient.allowRestrictedHeaders=\"host\"" >> ${WORKSPACE}/.mvn/maven.config
557558

558559
echo "${WORKSPACE}/.mvn/maven.config contents:"
559560
cat "${WORKSPACE}/.mvn/maven.config"

0 commit comments

Comments
 (0)