Skip to content

Commit 059e786

Browse files
JKRTclaude
andauthored
Add newBackend-daeMode on-demand test job (#217) (#269)
Adds a new Jenkins job combining --newBackend and --daeMode=true flags, running on ryzen-5950x-2 (ripper2) with its own report overview pages. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 369beff commit 059e786

1 file changed

Lines changed: 30 additions & 3 deletions

File tree

.CI/Jenkinsfile

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ pipeline {
2121

2222
booleanParam(name: 'newInst_daeMode', defaultValue: false, description: 'master branch, --daeMode with -d=newInst (ryzen-5950x-2)')
2323
booleanParam(name: 'newInst_newBackend', defaultValue: false, description: 'master branch, -d=newInst --newBackend, (ryzen-5950x-1)')
24+
booleanParam(name: 'newBackend_daeMode', defaultValue: false, description: 'master branch, --newBackend --daeMode with -d=newInst (ryzen-5950x-2). This is an experimental job that does not run on a fixed schedule.')
2425
booleanParam(name: 'oldInst', defaultValue: false, description: 'master branch, with -d=nonewInst (ryzen-5950x-2)')
2526

2627
booleanParam(name: 'cpp_v1_24', defaultValue: false, description: 'maintenance/v1.24 branch, with --simCodeTarget=Cpp (ryzen-5950x-2).')
@@ -309,6 +310,22 @@ pipeline {
309310
runRegressiontest('master', 'newInst-daeMode', 'setCommandLineOptions("-d=newInst,-frontEndUnitCheck --daeMode=true")', '', 'ripper2', 'LibraryTestingRipper2DB', false, '', false, false)
310311
}
311312
}
313+
stage('newBackend-daeMode') {
314+
agent {
315+
node {
316+
label 'ryzen-5950x-2-1'
317+
customWorkspace 'ws/OpenModelicaLibraryTestingWork'
318+
}
319+
}
320+
options { skipDefaultCheckout() }
321+
when {
322+
beforeAgent true
323+
expression { params.newBackend_daeMode }
324+
}
325+
steps {
326+
runRegressiontest('master', 'newBackend-daeMode', 'setCommandLineOptions("-d=newInst,-frontEndUnitCheck --newBackend --daeMode=true")', '', 'ripper2', 'LibraryTestingRipper2DB', false, '', false, false)
327+
}
328+
}
312329
stage('oldInst') {
313330
agent {
314331
node {
@@ -529,12 +546,13 @@ pipeline {
529546
}
530547
when {
531548
beforeAgent true
532-
expression { params.fmi_v1_24 || params.fmi_v1_25 || params.fmi_master || params.fmpy_fmi_v1_24 || params.fmpy_fmi_v1_25 || params.fmpy_fmi_master || params.newInst_daeMode || params.oldInst || params.report_ryzen_5950x_2 || params.cpp || params.cvode || params.gbode || params.ida}
549+
expression { params.fmi_v1_24 || params.fmi_v1_25 || params.fmi_master || params.fmpy_fmi_v1_24 || params.fmpy_fmi_v1_25 || params.fmpy_fmi_master || params.newInst_daeMode || params.newBackend_daeMode || params.oldInst || params.report_ryzen_5950x_2 || params.cpp || params.cvode || params.gbode || params.ida}
533550
}
534551
environment {
535552
GITBRANCHES_FMI = 'maintenance/v1.12-fmi maintenance/v1.13-fmi maintenance/v1.14-fmi maintenance/v1.16-fmi maintenance/v1.17-fmi maintenance/v1.18-fmi maintenance/v1.19-fmi maintenance/v1.20-fmi maintenance/v1.21-fmi maintenance/v1.22-fmi maintenance/v1.23-fmi maintenance/v1.24-fmi maintenance/v1.25-fmi maintenance/v1.22-fmi-fmpy maintenance/v1.23-fmi-fmpy maintenance/v1.24-fmi-fmpy maintenance/v1.25-fmi-fmpy master-fmi master-fmi-fmpy'
536553
GITBRANCHES_NEWINST = 'oldInst'
537554
GITBRANCHES_DAE = 'newInst-daeMode'
555+
GITBRANCHES_NEWBACKEND_DAE = 'newBackend-daeMode'
538556
GITBRANCHES_CPP = 'v1.19-cpp v1.20-cpp v1.21-cpp v1.22-cpp v1.23-cpp v1.24-cpp v1.25-cpp cpp'
539557
PYTHONIOENCODING = 'utf-8'
540558
IDA_EMAIL = credentials('IDA email')
@@ -554,8 +572,8 @@ pipeline {
554572
sh 'wget -q https://libraries.openmodelica.org/sqlite3/ripper2/sqlite3.db'
555573
sh './clean-empty-omcversion-dates.py'
556574

557-
sh "./all-reports.py --email --omcgitdir=OpenModelica ${env.GITBRANCHES_FMI} ${env.GITBRANCHES_NEWINST} ${env.GITBRANCHES_DAE} ${env.GITBRANCHES_CPP} gbode cvode ida"
558-
sh "./all-plots.py ${env.GITBRANCHES_FMI} ${env.GITBRANCHES_NEWINST} ${env.GITBRANCHES_DAE} ${env.GITBRANCHES_CPP} gbode cvode ida"
575+
sh "./all-reports.py --email --omcgitdir=OpenModelica ${env.GITBRANCHES_FMI} ${env.GITBRANCHES_NEWINST} ${env.GITBRANCHES_DAE} ${env.GITBRANCHES_NEWBACKEND_DAE} ${env.GITBRANCHES_CPP} gbode cvode ida"
576+
sh "./all-plots.py ${env.GITBRANCHES_FMI} ${env.GITBRANCHES_NEWINST} ${env.GITBRANCHES_DAE} ${env.GITBRANCHES_NEWBACKEND_DAE} ${env.GITBRANCHES_CPP} gbode cvode ida"
559577

560578
sh "./report.py --branches='${env.GITBRANCHES_NEWINST}' configs/conf.json"
561579
sh "mv overview.html overview-oldinst.html"
@@ -584,6 +602,15 @@ pipeline {
584602
sh "./report.py --branches='${env.GITBRANCHES_DAE}' configs/conf-nonstandard.json"
585603
sh "mv overview.html overview-nonstandard-libs-dae.html"
586604

605+
sh "./report.py --branches='${env.GITBRANCHES_NEWBACKEND_DAE}' configs/conf.json"
606+
sh "mv overview.html overview-newbackend-dae.html"
607+
sh "./report.py --branches='${env.GITBRANCHES_NEWBACKEND_DAE}' configs/conf.json configs/conf-old.json configs/conf-nonstandard.json"
608+
sh "mv overview.html overview-combined-newbackend-dae.html"
609+
sh "./report.py --branches='${env.GITBRANCHES_NEWBACKEND_DAE}' configs/conf-old.json"
610+
sh "mv overview.html overview-old-libs-newbackend-dae.html"
611+
sh "./report.py --branches='${env.GITBRANCHES_NEWBACKEND_DAE}' configs/conf-nonstandard.json"
612+
sh "mv overview.html overview-nonstandard-libs-newbackend-dae.html"
613+
587614
sh "./report.py --branches='cvode' configs/conf.json"
588615
sh "mv overview.html overview-cvode.html"
589616

0 commit comments

Comments
 (0)