Currently when doing a sasjs deploy we get a URL like below:
It would be a great user experience if the user can go straight to the deployed folder to verify. To make that happen, we need to formulate a URL, depending on the value of serverType, to either (SAS Viya):
In each relevant case, a web app will be launched. For Viya, the user will need to navigate, whilst for SAS 9 the user will be taken straight to the relevant folder.
We can add this as a final line (after ✔ Service pack has been successfully deployed.) as follows (note change from "Service pack to Build pack):
SAS 9:
✔ Build pack has been successfully deployed.
✔ https://sas.analytium.co.uk:8343/SASStoredProcess?_path=/Public/app/folder-navigator&_action=1063
SAS Viya:
✔ Build pack has been successfully deployed.
✔ https://sas.analytium.co.uk/SASJobExecution?_path=/Public/app/folder-navigator&_action=1063
Currently when doing a sasjs deploy we get a URL like below:
It would be a great user experience if the user can go straight to the deployed folder to verify. To make that happen, we need to formulate a URL, depending on the value of
serverType
, to either (SAS Viya):$(serverUrl)/SASJobExecution?_path=$(appLoc)&_action=1063
or (SAS 9):
$(serverUrl)/SASStoredProcess?_path=$(appLoc)&_action=1063
In each relevant case, a web app will be launched. For Viya, the user will need to navigate, whilst for SAS 9 the user will be taken straight to the relevant folder.
We can add this as a final line (after
✔ Service pack has been successfully deployed.
) as follows (note change from "Service pack to Build pack):SAS 9:
SAS Viya: