Skip to content

Commit a0b49de

Browse files
committed
ci: run git clean with -dfx
1 parent 8e288ab commit a0b49de

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

Jenkinsfile

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def windows_wheels(pythonVersions, testPackages, params, wheelStashes){
143143
script: "docker image rm --no-prune ${dockerImageName}",
144144
returnStatus: true
145145
)
146-
bat "${tool(name: 'Default', type: 'git')} clean -dfx"
146+
bat "${tool(name: 'Default', type: 'git')} clean -dffx"
147147
}
148148
}
149149
}
@@ -188,7 +188,7 @@ def windows_wheels(pythonVersions, testPackages, params, wheelStashes){
188188
}
189189
}
190190
} finally {
191-
bat "${tool(name: 'Default', type: 'git')} clean -dfx"
191+
bat "${tool(name: 'Default', type: 'git')} clean -dffx"
192192
}
193193
}
194194
}
@@ -236,7 +236,7 @@ def linux_wheels(pythonVersions, testPackages, params, wheelStashes){
236236
}
237237
}
238238
} finally {
239-
sh "${tool(name: 'Default', type: 'git')} clean -dfx"
239+
sh "${tool(name: 'Default', type: 'git')} clean -dffx"
240240
}
241241
}
242242
}
@@ -269,7 +269,7 @@ def linux_wheels(pythonVersions, testPackages, params, wheelStashes){
269269
}
270270
}
271271
} finally {
272-
sh "${tool(name: 'Default', type: 'git')} clean -dfx"
272+
sh "${tool(name: 'Default', type: 'git')} clean -dffx"
273273
}
274274
}
275275
}
@@ -327,7 +327,7 @@ def mac_wheels(pythonVersions, testPackages, params, wheelStashes){
327327
wheelStashes << "python${pythonVersion} mac ${arch} wheel"
328328
archiveArtifacts artifacts: 'dist/*.whl'
329329
} finally {
330-
sh "${tool(name: 'Default', type: 'git')} clean -dfx"
330+
sh "${tool(name: 'Default', type: 'git')} clean -dffx"
331331
}
332332
}
333333
}
@@ -353,7 +353,7 @@ def mac_wheels(pythonVersions, testPackages, params, wheelStashes){
353353
}
354354
}
355355
} finally {
356-
sh "${tool(name: 'Default', type: 'git')} clean -dfx"
356+
sh "${tool(name: 'Default', type: 'git')} clean -dffx"
357357
}
358358
}
359359
}
@@ -401,7 +401,7 @@ def mac_wheels(pythonVersions, testPackages, params, wheelStashes){
401401
archiveArtifacts artifacts: 'dist/*.whl'
402402
}
403403
} finally{
404-
sh "${tool(name: 'Default', type: 'git')} clean -dfx"
404+
sh "${tool(name: 'Default', type: 'git')} clean -dffx"
405405
}
406406
}
407407
}
@@ -434,7 +434,7 @@ def mac_wheels(pythonVersions, testPackages, params, wheelStashes){
434434
}
435435
archiveArtifacts artifacts: 'dist/*.whl'
436436
} finally {
437-
sh "${tool(name: 'Default', type: 'git')} clean -dfx"
437+
sh "${tool(name: 'Default', type: 'git')} clean -dffx"
438438
}
439439
}
440440
}
@@ -884,7 +884,7 @@ pipeline {
884884
}
885885
post{
886886
cleanup{
887-
sh "git clean -dfx"
887+
sh "git clean -dffx"
888888
}
889889
}
890890
}
@@ -920,7 +920,7 @@ pipeline {
920920
).trim().split('\n')
921921
}
922922
} finally{
923-
sh "${tool(name: 'Default', type: 'git')} clean -dfx"
923+
sh "${tool(name: 'Default', type: 'git')} clean -dffx"
924924
}
925925
}
926926

@@ -952,7 +952,7 @@ pipeline {
952952
}
953953
}
954954
} finally{
955-
sh "${tool(name: 'Default', type: 'git')} clean -dfx"
955+
sh "${tool(name: 'Default', type: 'git')} clean -dffx"
956956
}
957957
}
958958
} finally {
@@ -1002,7 +1002,7 @@ pipeline {
10021002
}
10031003
}
10041004
} finally{
1005-
bat "${tool(name: 'Default', type: 'git')} clean -dfx"
1005+
bat "${tool(name: 'Default', type: 'git')} clean -dffx"
10061006
}
10071007
}
10081008
parallel(
@@ -1051,7 +1051,7 @@ pipeline {
10511051
}
10521052
}
10531053
} finally {
1054-
bat "${tool(name: 'Default', type: 'git')} clean -dfx"
1054+
bat "${tool(name: 'Default', type: 'git')} clean -dffx"
10551055
}
10561056
} finally{
10571057
if (image){
@@ -1204,7 +1204,7 @@ pipeline {
12041204
}
12051205
}
12061206
}finally{
1207-
sh "${tool(name: 'Default', type: 'git')} clean -dfx"
1207+
sh "${tool(name: 'Default', type: 'git')} clean -dffx"
12081208
}
12091209
}
12101210
}
@@ -1276,7 +1276,7 @@ pipeline {
12761276
}
12771277
}
12781278
} finally {
1279-
bat "${tool(name: 'Default', type: 'git')} clean -dfx"
1279+
bat "${tool(name: 'Default', type: 'git')} clean -dffx"
12801280

12811281
}
12821282
}
@@ -1352,7 +1352,7 @@ pipeline {
13521352
}
13531353
}
13541354
} finally{
1355-
sh "${tool(name: 'Default', type: 'git')} clean -dfx"
1355+
sh "${tool(name: 'Default', type: 'git')} clean -dffx"
13561356
}
13571357
} finally{
13581358
if(image){

0 commit comments

Comments
 (0)