Skip to content

Commit 3ef790f

Browse files
committed
Merge remote-tracking branch 'origin/master' into Ticket8614_mercury_IPS_magnet_supply
2 parents 5e1be17 + f13e161 commit 3ef790f

File tree

143 files changed

+215331
-980
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+215331
-980
lines changed

.github/workflows/lint.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ jobs:
44
check-opi-format:
55
runs-on: "windows-latest"
66
steps:
7-
- uses: actions/checkout@v4
8-
- uses: actions/setup-python@v5
7+
- uses: actions/checkout@v5
8+
- uses: actions/setup-python@v6
99
with:
1010
python-version: '3.12'
1111
- name: OPI checker dependencies
@@ -18,8 +18,8 @@ jobs:
1818
check-build:
1919
runs-on: "ubuntu-latest"
2020
steps:
21-
- uses: actions/checkout@v4
22-
- uses: actions/setup-python@v5
21+
- uses: actions/checkout@v5
22+
- uses: actions/setup-python@v6
2323
with:
2424
python-version: '3.12'
2525
- name: Run check_build
@@ -29,8 +29,8 @@ jobs:
2929
scriptgenerator-tests:
3030
runs-on: "ubuntu-latest"
3131
steps:
32-
- uses: actions/checkout@v4
33-
- uses: actions/setup-python@v5
32+
- uses: actions/checkout@v5
33+
- uses: actions/setup-python@v6
3434
with:
3535
python-version: '3.12'
3636
- name: Install dependencies
@@ -42,8 +42,8 @@ jobs:
4242
checkstyle:
4343
runs-on: "ubuntu-latest"
4444
steps:
45-
- uses: actions/checkout@v4
46-
- uses: actions/setup-java@v4
45+
- uses: actions/checkout@v5
46+
- uses: actions/setup-java@v5
4747
with:
4848
distribution: 'temurin'
4949
java-version: '21'
@@ -64,14 +64,14 @@ jobs:
6464
permissions:
6565
security-events: write
6666
steps:
67-
- uses: actions/checkout@v4
68-
- uses: actions/setup-java@v4
67+
- uses: actions/checkout@v5
68+
- uses: actions/setup-java@v5
6969
with:
7070
distribution: 'temurin'
7171
java-version: '21'
72-
- uses: github/codeql-action/init@v3
72+
- uses: github/codeql-action/init@v4
7373
with:
7474
languages: ${{ matrix.language }}
7575
build-mode: ${{ matrix.buildmode }}
7676
queries: +security-and-quality
77-
- uses: github/codeql-action/analyze@v3
77+
- uses: github/codeql-action/analyze@v4

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pipeline {
44

55
// agent defines where the pipeline will run.
66
agent {
7-
label "${params.LABEL}"
7+
label "gui"
88
}
99

1010
environment {

Jenkinsfile_linux

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -82,35 +82,6 @@ pipeline {
8282
"""
8383
}
8484
}
85-
86-
// stage("OPI Checker") {
87-
// steps {
88-
// bat """
89-
// set PYTHON3=C:\\Instrument\\Apps\\Python3\\python.exe
90-
// %PYTHON3% .\\base\\uk.ac.stfc.isis.ibex.opis\\check_opi_format.py -strict
91-
// """
92-
// }
93-
// }
94-
95-
// stage("Collate Unit Tests") {
96-
// steps {
97-
// junit '**/surefire-reports/TEST-*.xml,**/test-reports/TEST-*.xml'
98-
// }
99-
// }
100-
101-
stage("Checkstyle") {
102-
steps {
103-
archiveCheckstyleResults()
104-
}
105-
}
106-
107-
// stage("Doxygen") {
108-
// steps {
109-
// bat '''
110-
// "C:\\Program Files\\doxygen\\bin\\doxygen.exe" build\\ibex_gui_doxy.config
111-
// '''
112-
// }
113-
// }
11485
}
11586
}
11687

base/uk.ac.stfc.isis.ibex.nicos/src/uk/ac/stfc/isis/ibex/nicos/NicosModel.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ public class NicosModel extends ModelObject {
8888
private long lastEntryTime;
8989
private List<QueuedScript> queuedScripts = new ArrayList<>();
9090

91-
private NicosErrorState error = NicosErrorState.NO_ERROR;
91+
// Start with a 'connection failed' error. This will get cleared when
92+
// a successful connection gets made.
93+
private NicosErrorState error = NicosErrorState.CONNECTION_FAILED;
9294

9395
/**
9496
* Default constructor.

0 commit comments

Comments
 (0)