Fix gitlab section logs
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
gitlab_start_log_section() {
|
gitlab_start_log_section() {
|
||||||
NAME="$1"
|
NAME="$1"
|
||||||
HEADER="2"
|
HEADER="$2"
|
||||||
echo -e "\e[0Ksection_start:`date +%s`:${NAME}\r\e[0K${HEADER}"
|
echo -e "\e[0Ksection_start:`date +%s`:${NAME}\r\e[0K${HEADER}"
|
||||||
}
|
}
|
||||||
|
|
||||||
gitlab_end_log_section() {
|
gitlab_end_log_section() {
|
||||||
NAME="$1"
|
NAME="$1"
|
||||||
echo -e "\e[0Ksection_start:`date +%s`:${NAME}\r\e[0K${HEADER}"
|
echo -e "\e[0Ksection_end:`date +%s`:${NAME}\r\e0K"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user