My jenkins job creates a temporary subfolder, say "mydir", within the workspace that I then want to archive using the postbuild step "Archive artifacts".
I'm using the following command:
mydir/**/*
It works well but the archive will always contains mydir as the root of the artifacts whereas I would like to have the contents of this folder only.
How to do this?