| Jenkinsfile | ●●●●● patch | view | raw | blame | history | |
| README.md | ●●●●● patch | view | raw | blame | history | |
| test.js | ●●●●● patch | view | raw | blame | history |
Jenkinsfile
@@ -65,6 +65,9 @@ stage('version add') { when { allOf { not { branch 'master' } anyOf { changeset "**/*.js" changeset "**/*.css" @@ -78,11 +81,13 @@ } } } steps { versionAdd("${project_name}","${GIT_CREDENTIALS_ID}","${url}","${GIT_BRANCH}") steps{ echo "todo add version" } } stage('deploy') { when { branch 'master' } steps { sh 'echo test' } README.md
@@ -9,3 +9,4 @@ ## 博客 > - [廖雪峰的官方网站git教程](https://www.liaoxuefeng.com/wiki/896043488029600) > - 其他推荐博客可在此提交推荐 > - test test.js
New file @@ -0,0 +1 @@ test.fsdf