getting a Shell script job progress

Viewing 3 posts - 1 through 3 (of 3 total)
  • 25th January 2020 at 2:51 pm #28140

    Hello,

    I’m trying to get job progress of shell(bat) script.

    I added onCheckForSubframeProgress to generic_script.py like:

    def onCheckForSubframeProgress(self,line, progressOut):
    	result = re.search(r'(\d+)\% done', line)
    	if result != None:
    		progressOut.setString(result.group(1))
    		return 1
    	return 0
    

    I think if script print progress like “50% done”, this function tell progress to Muster but It looks doesn’t work.

    Do I have to do more or any recommended way?

    Best
    Hiroshi

    25th January 2020 at 3:45 pm #28143

    Muster 8 does not support capturing progresses in a single task job. This is supported in Muster 9.

    Regards.

    25th January 2020 at 4:03 pm #28144

    Oh… I see. Thank you for your quick response!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.