Release Automation

 View Only
  • 1.  Dependency in a Step

    Posted May 26, 2016 04:50 AM

    Hello,

    I have a File with the steps of a deployment:

     

    xpcara01.lpcdv501./usr/local/pr/ca/temp/PaP> more Ejemplo_Deploy_26_05_2016__1

    StartInstancia_JBOSS##servidor1##JBOSS/Global/UserInputs/Instancia_JBOSS;;Instancia1

    StartInstancia_JBOSS##Servidor 2##JBOSS/Global/UserInputs/Instancia_JBOSS;;Instancia2

     

    I have problem with the first one.

     

     

    In my flow first aI create the step, then I update the parameters adn the last one links the dependencies.

    The first one should not have dependency, but I don not know how to write it.

     

    If iwrite the dependency (the name of the step) as

    ->Empty Value --> the error is that Step does not exit

    --> No Value --> i get this error

     

     

     

    How I should write this value. This is the one that is fill in the field "Preceding Step Names"

     

     

    regards

    Javi



  • 2.  Re: Dependency in a Step
    Best Answer

    Posted May 26, 2016 06:06 AM

    You should add another action (e.g compare two strings action) that validate if the step name equal to the name of the first step and only if its not the same run the "add dependencies" action)

    Another option is to check how many steps currently exist in the deployment and if it is one don't run the set dependencies action (This required building more complicate logic)



  • 3.  Re: Dependency in a Step

    Posted May 26, 2016 06:18 AM

    Hello,

    that is something I did, but make the flow a bit more complex.

     

    thanks alot