Release Automation

Expand all | Collapse all

Is it possible to add some sort of sequence to a deployment name

Jump to Best Answer
  • 1.  Is it possible to add some sort of sequence to a deployment name

    Posted 02-04-2019 11:53 AM

    Hi everyone,

     

    Is it possible to add a kind of sequence to the deployment name like seen in the screen shot :

     

     

    I understand adding the sequence in the screen see here is probably impossible. We would like to know if there is a way to add such a sequence after the deploy started. Hope my question is clear.

     

    Regards,

    GGV



  • 2.  Re: Is it possible to add some sort of sequence to a deployment name

    Broadcom Employee
    Posted 02-04-2019 11:17 PM

    Hi,

     If I comprehend correctly I assume you are referring to a way to create some labels/tag to mark sequence of deployment.

     

    Ideally the description field can be used to create some form of label/tags marking a sequence. This field is available in deployment listing make it possible to sort based on these sequence.

     

     

    The other way to create a sequence of deployments is to use the naming convention for releases created out of deployment template. I have seen this more prevalent in practice as the deployment name is part of your deployment overview on dashboard it makes it easy to filter via deployment name.

     

    Let me know if the above helps!

     

    Regards,

    Saurabh



  • 3.  Re: Is it possible to add some sort of sequence to a deployment name

    Posted 02-05-2019 09:00 AM

    Hi Saurabh,

     

    You answer does help me a bit, but it's not what I am looking for exactly.

     

    I'm looking for a way to do this automaticly without user intervention. Is it possible ? I've checked the API list and didn't find an entry to "update deployment name", so maybe it's just not possible to do it automaticly ???

     

    Regards,

    GGV



  • 4.  Re: Is it possible to add some sort of sequence to a deployment name
    Best Answer

    Broadcom Employee
    Posted 02-05-2019 11:39 PM

    Hi,

     The way to automate I prefer below

     

    1: If following naming convention the way is to create deployment via REST API /run-deployment-plan where you can pass relevant information like release name and description.

     

    {
    "application": "string",
    "applicationId": 0,
    "artifactPackage": "string",
    "artifactPackageAsXML": "string",
    "build": "string",
    "deployment": "string",
    "deploymentDescription": "string",
    "deploymentPlan": "string",
    "deploymentPlanDescription": "string",
    "deploymentPlanType": "MINOR",
    "deploymentStageToPerform": "string",
    "deploymentTemplate": "string",
    "environmentIds": [
    0
    ],.......
    }

     

    Regards,

    Saurabh