commit | a76d7ce4876c2cac3c767b72fdb694b2203e587f | [log] [tgz] |
---|---|---|
author | Lei YU <yulei.sh@bytedance.com> | Mon May 11 15:20:56 2020 +0800 |
committer | Lei YU <mine260309@gmail.com> | Tue Jun 16 02:15:42 2020 +0000 |
tree | 8524aad85d8b6bd64e9760018d69d7d9737a01e2 | |
parent | 93ba3ca3b6e60ca4f80b7377573cc31f3d679284 [diff] |
build-setup: Use flock to setup global configs In case multiple jobs are started simultaneously (e.g. a matrix configuration project), the setup script will get an error on writing the config files, e.g. git config --global will fail with: error: could not lock config file Use flock to make sure they are not accessing the file simultaneously. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: Ida902593995739a1b5ae7164a29221ad18c914ac
Build script for CI jobs in Jenkins.