Hello there,
This is problem I am trying to solve:
1. checkout code from Github to a local directory D
2. run configure command inside directory D
3. create a tar.gz for directory
4. upload taz.gz file to Nexus
I am stuck at step 3:
- I can specify the verison in Maven pom.xml file, but is there a way to automatically create a build version every time Jenkins is run?
- If I specify <packaging>tar.gz</packaging> in pom.xml file, I would get: Unknown packaging: gz @ line 6, column 13
If I specify jar inside packaging, there is no error, and files are upload to Nexus successfully.
Any advice would help, thanks!