I use the Job DSL to create my jobs and I keep forgetting about the "Disable automatic artifact archiving" option (under "Build", then click "Advanced" to show it).

The help text in 1.532.1 reads:

If checked, Jenkins will not automatically archive all artifacts generated by this project. If you wish to archive the results of this build within Jenkins, you will need to use the "Archive the Artifacts" post-build action below.

I've had problems with running out of space multiple times on different servers (I've set up Jenkins for other groups in our business) because we use Nexus for managing artifacts.

If you google for this option, you'll see tons of emails, posts, etc. telling people to "Disable automatic artifact archiving".

I'm assuming there is an advantage to not checking this box, but I'm unsure what it is.

I have two possible suggestions:

Reverse the flag: [] Enable automatic maven artifact archiving

Alternatively, (assuming it provides something above and beyond mere "Archive Artifacts") move the option down to a "Post Build" step, next to archive artifacts so that it is obvious.

Another option is to move it into the Archive Artifacts plugin.

Ciao!

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to