0
点赞
收藏
分享

微信扫一扫

Jenkins把当前项目生成的文件传到gitlab的分支上

深夜瞎琢磨 2022-06-28 阅读 43

Jenkins把当前项目生成的文件传到gitlab的分支上_linux
Jenkins把当前项目生成的文件传到gitlab的分支上_git_02
Jenkins把当前项目生成的文件传到gitlab的分支上_docker_03
获取gitlab上的项目名,ssh方式
Jenkins把当前项目生成的文件传到gitlab的分支上_git_04
Jenkins把当前项目生成的文件传到gitlab的分支上_linux_05
假设是把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

Jenkins把当前项目生成的文件传到gitlab的分支上_linux_06


举报

相关推荐

0 条评论