From 40a07e9c959d7278913b925de4d4d81ca9168384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Fri, 10 Jan 2025 13:31:21 +0100 Subject: [PATCH] FIX: wget does not produce output --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cd3e46b..782768d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -107,7 +107,7 @@ stages: - if [ -z "$PYLIB" ]; then if echo "$CI_COMMIT_REF_NAME" | grep -c "^f-" ; then echo "Check if pylib has branch $CI_COMMIT_REF_NAME" ; - if wget https://gitlab.indiscale.com/api/v4/projects/97/repository/branches/${CI_COMMIT_REF_NAME} ; then + if wget -O /dev/null https://gitlab.indiscale.com/api/v4/projects/97/repository/branches/${CI_COMMIT_REF_NAME}>/dev/null ; then PYLIB=$CI_COMMIT_REF_NAME ; fi; fi; @@ -118,7 +118,7 @@ stages: - if [ -z "$ADVANCED" ]; then if echo "$CI_COMMIT_REF_NAME" | grep -c "^f-" ; then echo "Check if advanced user tools have branch $CI_COMMIT_REF_NAME" ; - if wget https://gitlab.indiscale.com/api/v4/projects/104/repository/branches/${CI_COMMIT_REF_NAME} ; then + if wget -O /dev/null https://gitlab.indiscale.com/api/v4/projects/104/repository/branches/${CI_COMMIT_REF_NAME} ; then ADVANCED=$CI_COMMIT_REF_NAME ; fi; fi; @@ -265,6 +265,7 @@ build-testenv: - pushes needs: [] script: + - *env - df -h - command -v wget -- GitLab