Skip to content

Commit f1ad043

Browse files
Update Jenkinsfile
1 parent 340ad65 commit f1ad043

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Jenkinsfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
pipeline {
22
options {
33
disableConcurrentBuilds()
4-
skipDefaultCheckout(true)
54
}
65
agent { label 'dss-plugin-tests'}
76
environment {
@@ -10,12 +9,6 @@ pipeline {
109
INTEGRATION_TEST_FILES_STATUS_CODE = sh(script: 'ls ./tests/*/integration/test*', returnStatus: true)
1110
}
1211
stages {
13-
stage('Clear Workspace') {
14-
steps {
15-
cleanWs()
16-
checkout scm
17-
}
18-
}
1912
stage('Run Unit Tests') {
2013
when { environment name: 'UNIT_TEST_FILES_STATUS_CODE', value: "0"}
2114
steps {
@@ -54,6 +47,7 @@ pipeline {
5447

5548
def status = currentBuild.currentResult
5649
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()
5751
}
5852
}
5953
}

0 commit comments

Comments
 (0)