Skip to content

Commit

Permalink
docs: add gitlab vars
Browse files Browse the repository at this point in the history
  • Loading branch information
levy committed Dec 8, 2023
1 parent 58fb344 commit fff8786
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/git/gitlab-ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,12 @@ build-image:
```
## 其他问题与解决方案
### 环境变量
Settings -> CI/CD -> Variables
![](https://cdn.nlark.com/yuque/0/2023/png/160590/1701856198558-fbb7db94-a26a-46c2-9e05-06daa09f1ee7.png)
如果想隐藏变量值,不在日志中打印,可以在添加变量时勾选 Mask variable:
![](https://cdn.nlark.com/yuque/0/2023/png/160590/1701856682934-425f5ecc-a09f-493f-8a65-d6f2f74fb26a.png)
### Node.js
本文主要以 Java 项目为例进行 Gitlab CI 相关的讲解,如果需要 Node.js 项目的示例,可以查看另外两篇文章:
- [Playwright UI自动化测试](../software-testing/use-playwright-for-ui-testing.html#%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90)
Expand Down

0 comments on commit fff8786

Please sign in to comment.