Using the Jenkins Artifactory plugin I'm trying to push an artifact to artifactory, in a post-build action (a feature of the plugin).
I believe I've set it up correctly but it just doesn't deploy it to artifactory. There's no evidence in the logs that it is even trying to, and no error.
Looking at the documentation it says very little about this, and it seems it should just work. I know it can deploy to artifactory because if I do it as part of the release, it does it. However, it doesn't do it the way I want, so I am doing it as a post-build action.
How can I figure out why it's not deploying? Any advice would be appreciated. Are there any good docs on this?
I should also mention that this is a Jenkins maven job.