File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11pipeline {
2- options { disableConcurrentBuilds() }
2+ options {
3+ disableConcurrentBuilds()
4+ }
35 agent { label ' dss-plugin-tests' }
46 environment {
57 PLUGIN_INTEGRATION_TEST_INSTANCE = " $HOME /instance_config.json"
68 UNIT_TEST_FILES_STATUS_CODE = sh(script : ' ls ./tests/*/unit/test*' , returnStatus : true )
79 INTEGRATION_TEST_FILES_STATUS_CODE = sh(script : ' ls ./tests/*/integration/test*' , returnStatus : true )
8- }
10+ }
911 stages {
1012 stage(' Run Unit Tests' ) {
1113 when { environment name : ' UNIT_TEST_FILES_STATUS_CODE' , value : " 0" }
@@ -45,6 +47,7 @@ pipeline {
4547
4648 def status = currentBuild. currentResult
4749 sh " file_name=\$ (echo ${ env.JOB_NAME} | tr '/' '-').status; touch \$ file_name; echo \" ${ env.BUILD_URL} ;${ env.CHANGE_TITLE} ;${ env.CHANGE_AUTHOR} ;${ env.CHANGE_URL} ;${ env.BRANCH_NAME} ;${ status} ;\" >> $HOME /daily-statuses/\$ file_name"
50+ cleanWs()
4851 }
4952 }
5053 }
You can’t perform that action at this time.
0 commit comments