Running with
git
lab-runner
12
.7.1 (003fe500)
on api deploy xLVW27yp
Using Shell executor...
Running on VM_222_
12
8_centos...
Fetching changes with
git
depth set to 50...
Reinitialized existing
Git
repository in /root/builds/xLVW27yp/0/wggweb-api/wggapi/.
git
/
fatal:
获取
最后
一次
commit的
时间
git
show --pretty=format:"%ci %cr" | head -1
2021-04-07 15:06:17 +0800 2 hours ago
获取
最后
一次
提交的commit Id
git
rev-parse HEAD
31
cab83b6cc7b844dc407291d47ac72f1d495690
获取
最后
一次
提交的short commit Id
git
rev-parse --short HEAD
31
cab83b6