GitLab CI/CD 测试
Admin area -> Overview -> Users -> New user
- Name:devops
- Username: devops (登录账号)
- Email: devops@example.com

创建完成后,编辑用户,设置密码:

首次登录时需要重新设置密码:

Admin area -> Overview -> Groups -> New group
- Group name: test


Group members -> Manage members -> Invete member


Admin area -> Overview -> Projects -> New Project

⚠️ 注意:Project name 和 Project slug 保持一致





Project -> Settings -> Repository -> Branch defaults -> Default branch -> 选择 dev

# clone
git clone http://192.168.101.201:7000/test/spring-boot-hello.git
# 进入项目目录
cd spring-boot-hello
# Git 配置
git config core.autocrlf input
git config core.bare false
git config core.filemode true
git config core.ignorecase false
git config core.quotepath false
git config core.repositoryformatversion 0
git config core.safecrlf true
git config credential.helper store
git config pull.rebase false
git config --unset core.excludesfile
git config user.name devops
git config user.email devops@example.com
