Skip to content
Snippets Groups Projects
Commit 2db725ca authored by dcieri's avatar dcieri
Browse files

FEATURE: Remove last reference to WriteGitLabNote.sh script (using glab now)

parent b9f84544
No related branches found
Tags Hog2024.2-1 v8.15.1
No related merge requests found
......@@ -346,6 +346,7 @@ check-timing:
variables:
GIT_STRATEGY: clone
script:
- glab auth login -t $HOG_PUSH_TOKEN -h $CI_SERVER_HOST
- if [ -d $CI_PROJECT_DIR/bin ]; then
cd $CI_PROJECT_DIR/bin/;
else
......@@ -366,8 +367,8 @@ check-timing:
- cd ../
- if [ "$FAILED_PRJS" != "" ]; then
echo "The following projects have failed timing:$FAILED_PRJS";
echo "The following projects have failed timing:$FAILED_PRJS" > mr_msg.md;
./Hog/Other/WriteGitlabNote.sh $HOG_PUSH_TOKEN $CI_API_V4_URL $CI_PROJECT_ID $CI_MERGE_REQUEST_IID mr_msg.md;
mr_msg="The following projects have failed timing:$FAILED_PRJS";
glab mr note $CI_MERGE_REQUEST_IID -m "$mr_msg";
exit 1;
else
echo "All projects met timing. All good!";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment