获取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
暂无评论
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14
2024-06-14