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