how to get exit status of powershell script in packer

20 views
Skip to first unread message

shailender chauhan

unread,
Jan 30, 2018, 7:19:28 AM1/30/18
to Packer
Hi, I would like to cancel Packer AMI creation if one of my provisioner powershell script failes in windows. Please let me know how i can achive it.

Rickard von Essen

unread,
Jan 30, 2018, 8:18:44 AM1/30/18
to packe...@googlegroups.com

On 30 January 2018 at 13:19, shailender chauhan <shailenders...@gmail.com> wrote:
Hi, I would like to cancel Packer AMI creation if one of my provisioner powershell script failes in windows. Please let me know how i can achive it.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/53db38f6-c8d0-4cca-99a0-92d6ceb64c4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages