Skip to content

Commit f36318d

Browse files
committed
ci: use cleanWs instead of clean-git.sh script
Probable cause of nightly builds failures when fetching submodules. Referenced issue: * status-im/infra-ci#211
1 parent 9091d3e commit f36318d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

ci/Jenkinsfile.android

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ pipeline {
116116
post {
117117
success { script { github.notifyPR(true) } }
118118
failure { script { github.notifyPR(false) } }
119-
cleanup { sh './scripts/clean-git.sh' }
119+
cleanup { cleanWs(disableDeferredWipeout: true) }
120120
}
121121
}
122122

ci/Jenkinsfile.ios

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ pipeline {
125125
post {
126126
success { script { github.notifyPR(true) } }
127127
failure { script { github.notifyPR(false) } }
128-
cleanup { sh './scripts/clean-git.sh' }
128+
cleanup { cleanWs(disableDeferredWipeout: true) }
129129
}
130130
}
131131

ci/Jenkinsfile.linux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ pipeline {
164164
post {
165165
success { script { github.notifyPR(true) } }
166166
failure { script { github.notifyPR(false) } }
167-
cleanup { sh './scripts/clean-git.sh' }
167+
cleanup { cleanWs(disableDeferredWipeout: true) }
168168
}
169169
}
170170

ci/Jenkinsfile.linux-nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ pipeline {
130130
post {
131131
success { script { github.notifyPR(true) } }
132132
failure { script { github.notifyPR(false) } }
133-
cleanup { sh './scripts/clean-git.sh' }
133+
cleanup { cleanWs(disableDeferredWipeout: true) }
134134
}
135135
}
136136

ci/Jenkinsfile.macos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ pipeline {
167167
post {
168168
success { script { github.notifyPR(true) } }
169169
failure { script { github.notifyPR(false) } }
170-
cleanup { sh './scripts/clean-git.sh' }
170+
cleanup { cleanWs(disableDeferredWipeout: true) }
171171
}
172172
}
173173

0 commit comments

Comments
 (0)