| Jenkinsfile | ●●●●● patch | view | raw | blame | history | |
| test.js | ●●●●● patch | view | raw | blame | history |
Jenkinsfile
@@ -34,6 +34,9 @@ stage('version add') { when { allOf { not { branch 'master' } anyOf { changeset "**/*.js" changeset "**/*.css" @@ -48,10 +51,12 @@ } } steps { versionAdd("${project_name}","${GIT_CREDENTIALS_ID}","${url}","${GIT_BRANCH}") echo "todo add version" } } stage('deploy') { when { branch 'master' } steps { sh 'echo test' } test.js
New file @@ -0,0 +1 @@ test.fsdf