Skip to content

Commit efe4372

Browse files
Fixes for new jenkins build names
1 parent 1be4b32 commit efe4372

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

installation_and_upgrade/IBEX_upgrade.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ def _get_latest_existing_dir_path(release_dir: str, component: str) -> str:
117117
parser.add_argument(
118118
"--server_winbuild",
119119
dest="server_winbuild",
120-
default="win7",
121-
choices=["win7", "win10", "win11"],
120+
default="win",
121+
choices=["win"],
122122
help="Server winbuild.",
123123
)
124124

installation_and_upgrade/ibex_install_utils/tasks/server_tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def upgrade_instrument_configuration(self) -> None:
252252
"""Update the configuration on the instrument using its upgrade config script."""
253253
manual_prompt = (
254254
"Merge the master configurations branch into the instrument configuration. "
255-
"From C:\Instrument\Settings\config\[machine name] run:\n"
255+
"From C:\\Instrument\\Settings\\config\\[machine name] run:\n"
256256
" 0. Clean up any in progress merge (e.g. git merge --abort)\n"
257257
" 1. git checkout master\n"
258258
" 2. git pull\n"
@@ -340,7 +340,7 @@ def setup_calibrations_repository(self) -> None:
340340
self.update_calibrations_repository()
341341
else:
342342
repo_url = "https://gitlab.stfc.ac.uk/isisexperimentcontrols/common.git"
343-
location = "C:\Instrument\Settings\config\common"
343+
location = r"C:\Instrument\Settings\config\common"
344344
RunProcess(
345345
working_dir=os.curdir,
346346
executable_file="git",

installation_and_upgrade/ibex_install_utils/tasks/vhd_tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def deploy_vhds(self):
259259
@task("Initialize var dir")
260260
def initialize_var_dir(self):
261261
"""
262-
Creates the folder structure for the C:\instrument\var directory.
262+
Creates the folder structure for the C:\\instrument\\var directory.
263263
"""
264264
# config_env creates all the necessary directories for us
265265
RunProcess(working_dir=EPICS_PATH, executable_file="config_env.bat").run()

installation_and_upgrade/instrument_install_latest_build_only.bat

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
REM Install latest version of IBEX
22
REM argument 1 is CLEAN, INCR or RELEASE for type of build touse (default: CLEAN)
33
REM argument 2 is a server build prefix
4-
REM normally will use EPICS_win7_x64 or EPICS_CLEAN_win7_x64 depending on incremental/clean
5-
REM with prefix specified will use {prefix}_win7_x64 and {prefix}_CLEAN_win7_x64 for server install source directory
4+
REM normally will use EPICS_win_x64 or EPICS_CLEAN_win_x64 depending on incremental/clean
5+
REM with prefix specified will use {prefix}_win_x64 and {prefix}_CLEAN_win_x64 for server install source directory
66
REM argument 3 can be x86 or x64, defaults to x64 if not specified.
7-
REM this will change e.g. {prefix}_win7_x64 to {prefix}_win7_x86 as server source directory to use
8-
REM argument 4 can be server winbuild, defaults to win7 if not specified.
9-
REM this will change e.g. {prefix}_win7_x64 to {prefix}_win1_x64 as server source directory to use
7+
REM this will change e.g. {prefix}_win_x64 to {prefix}_win_x86 as server source directory to use
8+
REM argument 4 can be server winbuild, defaults to win if not specified.
9+
REM this will change e.g. {prefix}_win_x64 to {prefix}_winABC_x64 as server source directory to use
1010

1111
setlocal EnableDelayedExpansion
1212

0 commit comments

Comments
 (0)