Seems like you are missing the word packer in front of build? Can you give
some more information on your setup, are you using a plugin for Jenkins?
How is that configured?

On Mon, May 20, 2019, 03:24 Erick Kendall <[email protected]> wrote:

> I can run the packer build command from the command line but when I use a
> Jenkins job I get the following.
>
> I am pulling the build file from a Github repo - the workspace directory
> exist and I can run the build manually
>
>
>
>
>
> 2019-05-20 01:12:48.673+0000 [id=187] SEVERE 
> b.n.j.p.packer.PackerPublisher#perform:
> java.io.IOException: Cannot run program "build" (in directory
> "/var/lib/jenkins/workspace/test"): error=2, No such file or directory
>
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/66904d8f-9a67-45da-9165-8b0cd05467a5%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/66904d8f-9a67-45da-9165-8b0cd05467a5%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt8-yC%3DD39XEz9hW%3DKe%2B3iYSn12OfE9k89JLM_AdtfiXQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to