Skip to content

Commit c0def9d

Browse files
Update CI to test interactive tutorial
1 parent ee02091 commit c0def9d

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

Jenkinsfile

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ pipeline
360360
bash "cd ./Build && ./runcpp2 -l " +
361361
"-c ../DefaultYAMLs/DefaultUserConfig.yaml " +
362362
"--log-level info ../Tests/test.cpp"
363-
bash "cd ./Build && ./runcpp2 -l -b " +
363+
bash "cd ./Build && ./runcpp2 -l -b -o . " +
364364
"-c ../DefaultYAMLs/DefaultUserConfig.yaml " +
365365
"--log-level info ../Tests/test.cpp"
366366
bash "ls -lah ./Build"
@@ -371,7 +371,7 @@ pipeline
371371
unstash 'linux_build'
372372
bash "ls -lah"
373373
bash "ls -lah ./Build/Src/Tests"
374-
bash "cd ./Build && ./runcpp2 -l -b " +
374+
bash "cd ./Build && ./runcpp2 -l -b -o . " +
375375
"-c ../DefaultYAMLs/DefaultUserConfig.yaml " +
376376
"--log-level info ../Tests/test_static.cpp"
377377
bash "ls -lah ./Build"
@@ -385,6 +385,17 @@ pipeline
385385
bash "cd ./Build && ./runcpp2 -l " +
386386
"-c ../DefaultYAMLs/DefaultUserConfig.yaml " +
387387
"--log-level info ../Tests/testLocalDependency.cpp"
388+
389+
390+
cleanWs()
391+
bash "ls -lah"
392+
unstash 'linux_build'
393+
bash "ls -lah"
394+
bash "ls -lah ./Build/Src/Tests"
395+
bash "cd ./Build && ./runcpp2 -l " +
396+
"-c ../DefaultYAMLs/DefaultUserConfig.yaml " +
397+
"../Examples/InteractiveTutorial.cpp --test " +
398+
"./runcpp2 ../DefaultYAMLs/DefaultUserConfig.yaml"
388399
}
389400
post { failure { script { FAILED_STAGE = env.STAGE_NAME } } }
390401
}
@@ -416,7 +427,7 @@ pipeline
416427
bat "cd .\\Build\\Debug && .\\runcpp2.exe -l " +
417428
"-c ..\\..\\DefaultYAMLs\\DefaultUserConfig.yaml " +
418429
"--log-level info ..\\..\\Tests\\test.cpp"
419-
bat "cd .\\Build\\Debug && .\\runcpp2.exe -l -b " +
430+
bat "cd .\\Build\\Debug && .\\runcpp2.exe -l -b -o . " +
420431
"-c ..\\..\\DefaultYAMLs\\DefaultUserConfig.yaml " +
421432
"--log-level info ..\\..\\Tests\\test.cpp"
422433
bat "dir .\\Build\\Debug"
@@ -426,7 +437,7 @@ pipeline
426437
bat 'dir'
427438
unstash 'windows_build'
428439
bat 'dir'
429-
bat "cd .\\Build\\Debug && .\\runcpp2.exe -l -b " +
440+
bat "cd .\\Build\\Debug && .\\runcpp2.exe -l -b -o . " +
430441
"-c ..\\..\\DefaultYAMLs\\DefaultUserConfig.yaml " +
431442
"--log-level info ..\\..\\Tests\\test_static.cpp"
432443
bat "dir .\\Build\\Debug"
@@ -439,6 +450,16 @@ pipeline
439450
bat "cd .\\Build\\Debug && .\\runcpp2.exe -l " +
440451
"-c ..\\..\\DefaultYAMLs\\DefaultUserConfig.yaml " +
441452
"--log-level info ..\\..\\Tests\\testLocalDependency.cpp"
453+
454+
455+
cleanWs()
456+
bat 'dir'
457+
unstash 'windows_build'
458+
bat 'dir'
459+
bat "cd .\\Build\\Debug && .\\runcpp2.exe -l " +
460+
"-c ..\\..\\DefaultYAMLs\\DefaultUserConfig.yaml " +
461+
"..\\..\\Examples\\InteractiveTutorial.cpp --test " +
462+
".\\runcpp2.exe ..\\..\\DefaultYAMLs\\DefaultUserConfig.yaml"
442463
}
443464
post { failure { script { FAILED_STAGE = env.STAGE_NAME } } }
444465
}

0 commit comments

Comments
 (0)