From 661decf8957f986604322987b3e377fec764dda3 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 7 Aug 2026 15:52:24 +0100 Subject: [PATCH 1/2] Install specific version of lewis package --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index dde389f..4bd4eb3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -155,6 +155,7 @@ pipeline { @echo Running IOC tests on node ${env.NODE_NAME} pushd "C:\\Instrument\\Apps\\EPICS" call config_env.bat + python -m pip install git+https://github.com/ISISComputingGroup/lewis@c79836a93d62b93a5a43a3398d664b246e975b31 REM make will usually stop on first test failure as python will return an error. We can pass -i to make to ignore REM this and we will still usually see a problem as the python unittest XML output will list it, but we miss REM the case when python crashes with no XML output. So we will try using -k which looks to "keep going" From 78e0e94632fa21f4c963d5a3e2989e065e7cd7a2 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 7 Aug 2026 16:21:20 +0100 Subject: [PATCH 2/2] Remove first part of tests from Jenkinsfile Removed first part of tests execution and related error handling. --- Jenkinsfile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4bd4eb3..1c43812 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -143,14 +143,7 @@ pipeline { call C:\\Instrument\\Apps\\EPICS\\swap_galil.bat NEW ) call clean_files.bat - @echo FIRST PART OF TESTS STARTED - call run_tests.bat - set errcode1=%errorlevel% - if %errcode1% NEQ 0 ( - @echo ERROR: FIRST PART OF TESTS FAILED WITH CODE %errcode1% - ) else ( - @echo OK: FIRST PART OF TESTS SUCCEEDED - ) + @echo SECOND PART OF TESTS STARTED @echo Running IOC tests on node ${env.NODE_NAME} pushd "C:\\Instrument\\Apps\\EPICS"