c020aaf7609e53ab71e358dbb17d705045818440..36709e2da3ecbeee4bf140776a64ae7e021e332d
2021-11-18 zhanglei
fix1
36709e diff | tree
2021-11-18 zhanglei
fix
89f56d diff | tree
2021-11-18 zhanglei
fix
3393d9 diff | tree
2021-11-18 zhanglei
test js
08c69c diff | tree
2021-11-18 zhanglei
only deploy master
8e4c08 diff | tree
2021-11-18 zhanglei
not master
690836 diff | tree
2021-11-16 zhanglei
test
a94c24 diff | tree
2 files modified
1 files added
11 ■■■■ changed files
Jenkinsfile 9 ●●●● patch | view | raw | blame | history
README.md 1 ●●●● patch | view | raw | blame | history
test.js 1 ●●●● 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