From 24c7176753a37fbe728b3d37e6b281b6e315961c Mon Sep 17 00:00:00 2001 From: qwerty287 Date: Sat, 19 Feb 2022 09:50:15 +0100 Subject: [PATCH] Link to pipeline instead of overview (#1038) See https://docs.gitlab.com/ee/ci/variables/predefined_variables.html. Links to the exact pipeline instead of the pipeline overview. Co-authored-by: qwerty287 Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1038 Reviewed-by: M M Arif Co-authored-by: qwerty287 Co-committed-by: qwerty287 --- scripts/add-commit-status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/add-commit-status.sh b/scripts/add-commit-status.sh index fcf606ef..cc4988bd 100755 --- a/scripts/add-commit-status.sh +++ b/scripts/add-commit-status.sh @@ -11,7 +11,7 @@ context="GitLab CI" description="GitLab continuous integration tool" state=$STATE -target_url="https://gitlab.com/mmarif4u/gitnex-ci/-/pipelines" +target_url=$CI_PIPELINE_URL body=' {