Hammer promote starts immediately on bash script without finishing 'publish' and terminates immediately due to a lock

Latest response

I have hammer publish/ promote automated script which runs via a cronjob every night. Lately, 'hammer promote' doesn't start due to a lock from 'hammer publish' even though i have 'wait $!' for a 'hammer publish' statement. Is this some type of bug? Looks like 'Hammer promote' starts immediately and doesn't wait for 'hammer publish' . Has anyone encountered this type of issue?

Responses

Shisheer - I have not heard of this problem. Could you please share your script, so that I can see the commands in context? from what you have written, I would expect that hammer promote would wait until hammer publish is complete.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.