Release Automation

 View Only
  • 1.  Optimizing Regex to run on the huge log file(nimi.log) ?

    Posted Sep 24, 2017 04:02 AM

    Hi All,

    I am trying to get Deployment status from action log information of nimi.log file.

    i.e : I will get Action Status of the deployment action step , if the action result is true then it will be Success and if the action result is false then it Failed.

    Regex for getting action status of the deployment

     

    This solution working fine. But log file size is huge so it is taking a very long time or not responding due to huge file.

     

    Any idea how can we optimize this to get this action faster ?

     

    like change in regex or another way?

     

     

    NOTE : This is to solve below issue.

    Getting Deployment (Deployment) Status runtime (Succeeded or Failed)? 



  • 2.  Re: Optimizing Regex to run on the huge log file(nimi.log) ?

    Posted Sep 24, 2017 12:35 PM

    Instead of parsing this file we can parse application log files and get the details. still my original problem is not solved because if my previous action(s) fails my flow will not reach till this action(which gives deployment status to get the flow status.

     

    I mean i can get the Deployment Status if my Flow is Succeeded.

     

    If my Flow fails somewhere then i cannot get the below action status.



  • 3.  Re: Optimizing Regex to run on the huge log file(nimi.log) ?

    Broadcom Employee
    Posted Sep 25, 2017 03:17 AM

    Hi,

    Not sure what you mean with your last update. If you clear the "pause on failure" flag in the actions, the 'status' action will eventually be reached with the proper links set (on passed, on failed, on canceled).



  • 4.  Re: Optimizing Regex to run on the huge log file(nimi.log) ?
    Best Answer

    Posted Sep 29, 2017 11:42 PM

    This issue is related RA this is completed based on Regex and we cannot do much on RA for this issue . So  Pleasel ignore this question.