cd_project_url

This commit is contained in:
Marc Beninca 2024-06-08 17:41:57 +02:00
parent 3c16e68d91
commit d73dd66251
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

3
cd.sh
View file

@ -359,7 +359,6 @@ Acquire::https::Verify-Peer False;
[ "${CD_PROJECT_BRANCH}" ] || cd_error_ci "CD_PROJECT_BRANCH"
#
CD_PROJECTS_URL="${CD_SERVER_URL}/${CD_PROJECTS_GROUP}"
CD_PROJECT_URL="${CD_PROJECTS_URL}/${CD_PROJECT_NAME}"
#
cd_split
cd_echo "CD_CA"
@ -367,7 +366,7 @@ Acquire::https::Verify-Peer False;
cd_echo "CD_SERVER_URL" \
"CD_PROJECTS_GROUP" "CD_PROJECT_NAME" "CD_PROJECT_BRANCH"
cd_split
cd_echo "CD_PROJECTS_URL" "CD_PROJECT_URL"
cd_echo "CD_PROJECTS_URL"
# TODO move to Python
case "${CD_PM}" in
"${CD_PM_APK}"|"${CD_PM_APT}") CD_PKG_SSH="openssh-client" ;;