init
This commit is contained in:
parent
b927a34a11
commit
1696d601ea
@ -48,7 +48,7 @@ spec:
|
|||||||
- name: workshop
|
- name: workshop
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
description: workshop inside the `output` Workspace to clone the repo into.
|
description: workshop inside the `shared` Workspace to clone the repo into.
|
||||||
|
|
||||||
- name: sparseCheckoutDirectories
|
- name: sparseCheckoutDirectories
|
||||||
type: string
|
type: string
|
||||||
@ -91,7 +91,7 @@ spec:
|
|||||||
description: Absolute path to the user's home directory.
|
description: Absolute path to the user's home directory.
|
||||||
|
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: output
|
- name: shared
|
||||||
description: The workspace where the repository will be cloned.
|
description: The workspace where the repository will be cloned.
|
||||||
|
|
||||||
- name: ssh-directory
|
- name: ssh-directory
|
||||||
@ -156,7 +156,7 @@ spec:
|
|||||||
git config --global http.sslVerify false
|
git config --global http.sslVerify false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd /workspace/output
|
cd /workspace/shared
|
||||||
|
|
||||||
CLONE_DIR="$(params.workshop)"
|
CLONE_DIR="$(params.workshop)"
|
||||||
if [ -z "$CLONE_DIR" ]; then
|
if [ -z "$CLONE_DIR" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user