We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b440fc6 commit 80592f0Copy full SHA for 80592f0
Jenkinsfile
@@ -199,7 +199,20 @@ pipeline
199
bat 'dir'
200
unstash 'source'
201
202
- bat 'Build.bat -DRUNCPP2_BUILD_TESTS=ON'
+ script
203
+ {
204
+ try
205
206
+ bat 'Build.bat -DRUNCPP2_BUILD_TESTS=ON'
207
+ }
208
+ catch(error)
209
210
+ echo "Build failed. Maybe .pdb is locked? Retrying..."
211
+ sleep 5
212
213
214
215
+
216
stash 'windows_build'
217
}
218
post { failure { script { FAILED_STAGE = env.STAGE_NAME } } }
0 commit comments