修改build脚本
This commit is contained in:
parent
47c4bc86ac
commit
c4b569bb85
|
@ -43,6 +43,7 @@ cd ${baseDir}
|
|||
|
||||
# 拉取指定分支的最新代码
|
||||
echo "Checking out and pulling branch $branch..."
|
||||
|
||||
git stash
|
||||
git checkout $branch
|
||||
if [ $? -ne 0 ]; then
|
||||
|
@ -57,7 +58,8 @@ if [ $? -ne 0 ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
chmod +777 *.sh
|
||||
chmod +777 ${baseDir}/*.sh
|
||||
|
||||
# 创建目录
|
||||
mkdir -p ${baseDir}/k8s/dockerfiles/jar
|
||||
mkdir -p ${baseDir}/k8s/dockerfiles/html
|
||||
|
|
Loading…
Reference in New Issue