init
This commit is contained in:
parent
1e3412f6e0
commit
ffa18e9726
@ -47,7 +47,7 @@ spec:
|
||||
A workspace containing CA certificates, this will be used by Git to
|
||||
verify the peer with when fetching or pushing over HTTPS.
|
||||
params:
|
||||
- name: url
|
||||
- name: repo-url
|
||||
description: Repository URL to clone from.
|
||||
type: string
|
||||
- name: revision
|
||||
@ -81,7 +81,7 @@ spec:
|
||||
- name: HOME
|
||||
value: "$(params.userHome)"
|
||||
- name: PARAM_URL
|
||||
value: $(params.url)
|
||||
value: $(params.repo-url)
|
||||
- name: PARAM_REVISION
|
||||
value: $(params.revision)
|
||||
- name: PARAM_VERBOSE
|
||||
@ -147,4 +147,4 @@ spec:
|
||||
RESULT_COMMITTER_DATE="$(git log -1 --pretty=%ct)"
|
||||
printf "%s" "${RESULT_COMMITTER_DATE}" > "$(results.committer-date.path)"
|
||||
printf "%s" "${RESULT_SHA}" > "$(results.commit.path)"
|
||||
printf "%s" "$(params.url)" > "$(results.url.path)"
|
||||
printf "%s" "${PARAM_URL}" > "$(results.url.path)"
|
Loading…
x
Reference in New Issue
Block a user