获取gitlab上的项目名,ssh方式
假设是把docker-compose.yml文件传到gitlab的分支上
cd ${WORKSPACE}/deploy_compose/ && git checkout dev_compose
\cp ${WORKSPACE}/new/dockerwork/docker-compose.yml ${WORKSPACE}/deploy_compose/yyjg/
git add .
git commit -m "${new_tag}"
git push
微信扫一扫
获取gitlab上的项目名,ssh方式
假设是把docker-compose.yml文件传到gitlab的分支上
cd ${WORKSPACE}/deploy_compose/ && git checkout dev_compose
\cp ${WORKSPACE}/new/dockerwork/docker-compose.yml ${WORKSPACE}/deploy_compose/yyjg/
git add .
git commit -m "${new_tag}"
git push
相关推荐