If someone know how to do this easily:
I have a manual approval stage that does the software installation.
I want this manual approval to be "approved" or activated at 3h00 AM if necessary (if it was not previously runned).
Any idea how to achieve this with the GoServer?
BTW I'm thinking of a complicated solution involving a <timer> that run at 3h00 AM everyday that triggers a NANT script which uses curl to programatically press on the "manual approval" using GoServer API. It works - but works even if the pipeline was already accepted (it runs it again everyday). !!!!!
Any clever idea?
Thanks!
Comments
1 comment
Hi frank,
Go does not support timer triggers at the stage level, so your "complicated" solution in fact would be the way to go.
In terms of figuring out the last stage that ran, you can use the stages feed that Go exposes:
From this feed, you can figure out the last run stage for that pipeline and based on that, you can choose to trigger the stage or not.
Please sign in to leave a comment.