File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ ort-scan:
23
23
- apk add curl jq
24
24
script :
25
25
- |
26
- OSS_CI_REVISION=${OSS_CI_REVISION:-main}
27
26
ORT_DOCKER_IMAGE=${ORT_DOCKER_IMAGE:-"${CI_REGISTRY_IMAGE}/ort-custom:latest"}
27
+ ORT_GITLAB_CI_REVISION=${OSS_GITLAB_CI_REVISION:-main}
28
28
resp=$(
29
29
curl -fksSL --request POST \
30
30
--form "token=${ORT_TRIGGER_API_TOKEN}" \
@@ -51,7 +51,7 @@ ort-scan:
51
51
--form "variables[UPSTREAM_MERGE_REQUEST_IID]=$CI_MERGE_REQUEST_IID" \
52
52
--form "variables[UPSTREAM_PIPELINE_URL]=$CI_PIPELINE_URL" \
53
53
--form "variables[DEPENDENT_ON_JOB_ID]=$DEPENDENT_ON_JOB_ID" \
54
- --form "ref=${OSS_CI_REVISION }" ${CI_API_V4_URL}/projects/${ORT_GITLAB_CI_PROJECT_ID}/trigger/pipeline \
54
+ --form "ref=${ORT_GITLAB_CI_REVISION }" ${CI_API_V4_URL}/projects/${ORT_GITLAB_CI_PROJECT_ID}/trigger/pipeline \
55
55
)
56
56
PIPELINE_ID=$(echo $resp | jq -r '.id')
57
57
web_url=$(echo $resp | jq -r '.web_url')
You can’t perform that action at this time.
0 commit comments