You'll have to be more specific as based on what you've described I don't understand
- What this XaaS blueprint does
- What you're wanting to have happen outside of its logic.
I will try to make my self clearer.
I have a XaaS blueprint which does a few things.. and in the end i wish to publish a link that the job generated.
Once XaaS wf is completed successfully/failure there is a msg generated on "deployments" page.
for exmaple in this one "Jenkins Build #327 Is Unsuccessful "
which I made by writing in js "throw "Jenkins Build #" + currentBuildNumber + " Is Unsuccessful";"
How can I achieve the same behaivior with the link the WF generated? I want to publish it so it will be visible at deployments page.
As I wrote, you can display it on the Deployment, then History, Request Inputs and Step tab. You need to create an output of your workflow and map it to the Submitted request details form.
If your deployment is unsuccessful, the exception will be shown on the list of deployments page. This is not the case for successful deployments, then you'll see the std. text "The request was successfully completed".
You may try to update the deployment description based on Vsure's solution if you prefer: Solution Found for Updating Deployment Name/Description from vRO