@@ -213,7 +213,7 @@ pipeline
213213 {
214214 parallel
215215 {
216- stage(' Linux Test' )
216+ stage(' Linux Unit Test' )
217217 {
218218 agent { label ' linux' }
219219 steps
@@ -228,7 +228,24 @@ pipeline
228228 }
229229 post { failure { script { FAILED_STAGE = env. STAGE_NAME } } }
230230 }
231- stage(' Windows Test' )
231+ stage(' Linux Integration Test' )
232+ {
233+ agent { label ' linux' }
234+ steps
235+ {
236+ cleanWs()
237+ bash " ls -lah"
238+ unstash ' linux_build'
239+ bash " ls -lah"
240+ bash " ls -lah ./Build/Src/Tests"
241+ bash " cd ./Build && ./runcpp2 -l " +
242+ " -c ../DefaultYAMLs/DefaultUserConfig.yaml " +
243+ " --log-level info ../Examples/test.cpp"
244+ }
245+ post { failure { script { FAILED_STAGE = env. STAGE_NAME } } }
246+ }
247+
248+ stage(' Windows Unit Test' )
232249 {
233250 agent { label ' windows' }
234251 steps
@@ -239,6 +256,22 @@ pipeline
239256 bat ' dir'
240257 bat ' dir .\\ Build\\ Src\\ Tests\\ Debug'
241258 bat ' cd .\\ Build\\ Src\\ Tests && .\\ RunAllTests.bat -d'
259+
260+ }
261+ post { failure { script { FAILED_STAGE = env. STAGE_NAME } } }
262+ }
263+ stage(' Windows Integration Test' )
264+ {
265+ agent { label ' windows' }
266+ steps
267+ {
268+ cleanWs()
269+ bat ' dir'
270+ unstash ' windows_build'
271+ bat ' dir'
272+ bat " cd .\\ Build\\ Debug && .\\ runcpp2.exe -l " +
273+ " -c ..\\ ..\\ DefaultYAMLs\\ DefaultUserConfig.yaml " +
274+ " --log-level info ..\\ ..\\ Examples\\ test.cpp"
242275 }
243276 post { failure { script { FAILED_STAGE = env. STAGE_NAME } } }
244277 }
0 commit comments