This commit is contained in:
병준 박 2025-04-08 23:19:34 +00:00
parent 1e3412f6e0
commit ffa18e9726

View File

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