0

I have a Maven Project with this folder structure (after run 'maven clean install' through jenkins):

enter image description here

PS: there are other files and directories inside this 'target' folder, but the ones I need are just those.

Well, for AWS deployment, I need to create a ZIP file with this exact structure (missing the 'ebs' folder):

enter image description here

My pipeline, in Jenkins, creates the ZIP with the jar ane 'ebs' folder inside, but I need Procfile and .ebextensions at root level, outside 'ebs' folder.

Jenkins configuration:

enter image description here

I also tried "ebs", "ebs/", "ebs/*" and "ebs/.". None works. What am I doing wrong? Should be simple to include files in ZIP package, but it doesnt.

smaudi
  • 83
  • 7

1 Answers1

0

To include Procfile file and .ebextensions folder inside ZIP package generated by Jenkins, the first step is to eliminate the 'ebs' folder during maven build.

With every file/directory inside target root, jenkins 'includes' configuration is: myapp.jar,Procfile,.ebextensions/**/*

smaudi
  • 83
  • 7