|
@@ -83,7 +83,7 @@ pipeline {
|
|
git clone ${SWARM_GIT_URL} && cd ${SWARM_GIT_NAME}
|
|
git clone ${SWARM_GIT_URL} && cd ${SWARM_GIT_NAME}
|
|
if [ $(git branch --list -a | grep -q ${branch}; echo $?) == 0 ];then echo "${branch} is already exist";git checkout ${branch}; \
|
|
if [ $(git branch --list -a | grep -q ${branch}; echo $?) == 0 ];then echo "${branch} is already exist";git checkout ${branch}; \
|
|
else echo "${branch} does not exist!!!"; git checkout -b ${branch};fi
|
|
else echo "${branch} does not exist!!!"; git checkout -b ${branch};fi
|
|
- echo -n ${SERIAL} > tags/${DOCKER_IMAGE}.version
|
|
|
|
|
|
+ echo -n \${SERIAL} > tags/${DOCKER_IMAGE}.version
|
|
git add -A
|
|
git add -A
|
|
git config --global user.email "${JENKINS_MAIL}"
|
|
git config --global user.email "${JENKINS_MAIL}"
|
|
git config --global user.name "Jenkins"
|
|
git config --global user.name "Jenkins"
|