I am trying to create a jenkins job to build ami using packer. My packer json has 1 dependent file. When I run my build it fails with:
Running as SYSTEM Building in workspace C:\Program Files (x86)\Jenkins\workspace\packer build [packer build] $ cmd /c call C:\Windows\TEMP\jenkins6534957738706036538.bat C:\Program Files (x86)\Jenkins\workspace\packer build>packer build C:\Users\Administrator\Documents\vaec-amiauto\vaec-encryptedcrispamiwithoutupdate.json amazon-ebs output will be in this color. 1 error(s) occurred: * user_data_file not found: ec2-userdata.ps1 C:\Program Files (x86)\Jenkins\workspace\packer build>exit 1 Build step 'Execute Windows batch command' marked build as failure Finished: FAILURE This file is stored locally in the same directory as packer. When running packer without jenkins, works fine. Where do I specify the path for jenkins to look for this dependent file? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4e55d123-52b1-43f8-99f0-d601afe232b9%40googlegroups.com.