获取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
2023-06-15 06:05:15 阅读次数:419
获取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
上一篇:Jenkins(一)基于Role-based认证权限管理
下一篇:解决Jenkins用户没有权限“root is missing the Overall/Administer permission”的问题
docker快速部署gitlab
小课2:筛选信息命令
Jenkins凭证是用于在Jenkins中进行受限操作时的凭据,这些凭据通常包括密码、私钥文件等敏感信息。通过凭证管理,Jenkins能够安全地与第三方应用程序和系统进行交互,如代码仓库(如GitHub、Gitlab)、云存储系统等。
在 Jenkins pipeline 中,环境变量可以通过 env 前缀来引用。
shell脚本实现查询代码中定义了多少宏的方法
CICD 小提示:Jenkins 中使用 shell for 循环报错
spring cloud系统安装涉及的技术说明
【Python】使用numpy库实现Tic-Tac-Toe井字棋
gitlab个别服务无法启动可能原因
【linux】linux C 程序 注册信号处理函数
文章
32777
阅读量
4832848
2025-03-28 06:55:00
2025-03-28 06:50:00
2025-03-21 06:56:46
2024-11-25 09:13:09
2024-11-20 09:46:57
2024-11-20 09:46:24
2023-03-20 08:19:07
2023-04-23 09:32:49
2023-05-12 07:20:42
2023-05-15 10:03:24
2023-05-12 07:21:43
2023-06-07 07:36:41