Release Automation

Expand all | Collapse all

My pre-deployment flow is always failing

Jump to Best Answer
  • 1.  My pre-deployment flow is always failing

    Posted 12-20-2017 06:32 AM

    Hi guys,

     

    Let me explain what I want to do. I have a flow, that goes to git, clone a project, reads some manifest data that allow me to do download the last builded package from nexus. It works great when I use action dowload http. 

     

    What I need now is instead of downloading the package, I'd like to create an artifact (type http) dynamically during my pre-deployment initialization. 

     

    My idea is using ROC - Create Artifact Definition to create a new definition with data from the package and finally ROC - Create Http Artifact to create the artifact that is going to be used during deployment.

     

    I know that I have to create a deployment plan to test this flow. I did so, one with no deploy, just the pre-deployment and no matter what I do, I always get my process entirely cancelled.

     

    I even tryed a flow with only a check OS action and a delay, but still,

     

     

     

    this is my create http artifact

    The variables used on the URL I read 

     

     

     

    My flow looks like this

     

     

     

     

    what am I doing wrong?



  • 2.  Re: My pre-deployment flow is always failing
    Best Answer

    Posted 12-20-2017 12:48 PM

    Well, I just figure that out.

    The problem was that no artifact type were selected on my deploy plan

     

     

    now everything runs and passes



  • 3.  Re: My pre-deployment flow is always failing

    Broadcom Employee
    Posted 01-02-2018 09:17 AM

    Hi Marcel 

     

    Great you already found the problem , if there are any other questions let us know 

     

    Regards

    Dirk