echo"$METHOD request to $REQUEST did not succeed! Responds with code $code instead of $EXPECTED"
exit 99
}
...
...
@@ -106,7 +111,7 @@ if [[ "a${TRIGGERTOKEN}a" == "aa" ]]; then
fi
echo"Trigger pipeline ..."
gitlab 201 POST projects/"$PRJID"/trigger/pipeline --data"token=$TRIGGERTOKEN"--data"ref=${branch}"--data"variables[TRIGGERTASK]=$mode"
gitlab 201 POST projects/"$PRJID"/trigger/pipeline --data"token=$TRIGGERTOKEN"--data"ref=${branch}"--data"variables[TRIGGERTASK]=$mode"--data"variables[TRIGGER_INPUT]=$branch"