File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,12 @@ tcp_port=$((2001 + port_offset))
1414kubectl delete --ignore-not-found --now pod jenkins
1515sed " s/@HTTP_PORT@/$http_port /g; s/@TCP_PORT@/$tcp_port /g" < test-in-k8s.yaml | kubectl apply -f -
1616kubectl wait --for=condition=Ready --timeout=15m pod/jenkins
17+ # Copy temporary split files
18+ kubectl exec jenkins -- mkdir " $WORKSPACE_TMP "
19+ tar cf - " $WORKSPACE_TMP " | kubectl exec -i jenkins -- tar xf - -C " $WORKSPACE_TMP "
20+ # Copy plugin files
1721kubectl exec jenkins -- mkdir /checkout
18- kubectl cp pom.xml jenkins:/checkout/pom.xml
19- kubectl cp .mvn jenkins:/checkout/.mvn
20- kubectl cp src jenkins:/checkout/src
22+ tar cf - pom.xml .mvn src | kubectl exec -i jenkins -- tar xf - -C /checkout
2123kubectl exec jenkins -- \
2224 mvn \
2325 -B \
You can’t perform that action at this time.
0 commit comments