Migration From V1.5 Build 7 JAF - V1.5 Build 8 JAF
- Download JAF binaries from https://download.castsoftware.com/ToolingDownload/CBWS/cbws1.5/CastBatchWSServer-1.5_Build8.zip
- Backup existing CBWS installation folder “<Installed_path>\ CastBatchWSServer” to a new folder e.g. “<Installed_path>\CastBatchWSServer _<current_date>”.
- Unzip CastBatchWSServer-1.5_Build8.zip to a temp path e.g. <Temp_path>\WSBatchServer-1.5_Build8
- Stop “Jenkins” service

- Stop “CastBatchWSServer” service

- Delete below highlighted files and folder (i.e dependency, CastAIPWS.hpi, cbws_version.txt, WSBatchServer-1.5.jar) from the installed path “<Installed_path>\CastBatchWSServer”.
- Copy highlighted file and folders from the path <Temp_path>\WSBatchServer-1.5_Build8 and replace the same in “<Installed_path>\CastBatchWSServer”.

Note: The below step is applicable If the “delete.prvs.snapshot=true” entry is not present in CastAIPWS.properties.
Edit file CastAIPWS.properties in the CBWS installation folder e.g. <Installation_path>\CastBatchWSServer\CastAIPWS.properties
Add a new line “delete.prvs.snapshot=true” as below.
Close and save the file.
Start service “CastBatchWSServer”.
Start “Jenkins” service

Upload the CastAIPWS.hpi in Jenkins from path “<Installed_path>\CastBatchWSServer” under Manage Jenkins → Manage Plugin → Advanced → Upload Plugin.

Ensure the new uploaded version is displayed in the Installed Tab against CAST Jenkins Plugin.
Restart “Jenkins”.
Now the JAF automation is upgraded to Version 1.5 Build 8.