Skip to content

Commit fd9d13e

Browse files
committed
Figure out correct path to copy files to
1 parent 19ba0d2 commit fd9d13e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test-in-k8s.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ kubectl delete --ignore-not-found --now pod jenkins
1515
sed "s/@HTTP_PORT@/$http_port/g; s/@TCP_PORT@/$tcp_port/g" < test-in-k8s.yaml | kubectl apply -f -
1616
kubectl wait --for=condition=Ready --timeout=15m pod/jenkins
1717
# Copy temporary split files
18-
kubectl exec jenkins -- mkdir -p "$WORKSPACE_TMP"
19-
tar cf - "$WORKSPACE_TMP" | kubectl exec -i jenkins -- tar xf - -C "$WORKSPACE_TMP"
18+
tar cf - "$WORKSPACE_TMP" | kubectl exec -i jenkins -- tar xf -
2019
# Copy plugin files
2120
kubectl exec jenkins -- mkdir /checkout
2221
tar cf - pom.xml .mvn src | kubectl exec -i jenkins -- tar xf - -C /checkout

0 commit comments

Comments
 (0)