Skip to content

Commit 2cf0e42

Browse files
committed
fix(ort-scan): Add the missing handling for the VCS_PATH parameter
Signed-off-by: Frank Viernau <[email protected]>
1 parent 9ed42f8 commit 2cf0e42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/ort-scan.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@
290290
echo -e "\e[1;33m Not running ORT Downloader, as the already cloned sources are to be analyzed..."
291291
else
292292
echo -e "\e[1;33m Running ORT Downloader to download project to scan... "
293-
echo -e "\e[1;33m ${PROJECT_VCS_TYPE} project revision ${PROJECT_VCS_REVISION} located at ${PROJECT_VCS_URL}... "
293+
echo -e "\e[1;33m ${PROJECT_VCS_TYPE} project revision ${PROJECT_VCS_REVISION} located at ${PROJECT_VCS_URL} in path '${PROJECT_VCS_PATH}'... "
294294
295295
${ORT_CLI} \
296296
--${ORT_LOG_LEVEL} \
@@ -300,6 +300,7 @@
300300
--vcs-type "${PROJECT_VCS_TYPE}" \
301301
--project-url "${PROJECT_VCS_URL}" \
302302
--vcs-revision "${PROJECT_VCS_REVISION}" \
303+
--vcs-path "${PROJECT_VCS_PATH}" \
303304
--project-name "${SW_NAME_SAFE}" \
304305
|| ORT_CLI_DOWNLOAD_EXIT_CODE=$? \
305306
&& export ORT_CLI_DOWNLOAD_EXIT_CODE="${ORT_CLI_DOWNLOAD_EXIT_CODE:-0}"

0 commit comments

Comments
 (0)