Currently we are building m2 artifacts in Jenkins (Mutlibranch Pipeline) and try to make use of the artifactory plugin in the Jenkinsfile.
The artifacts are built and deployed using all deployment information from the settings.xml file. No hardcoded names to any repository in the Jenkinsfile.
So far so good:
I navigate to the uploaded artifact and I get a link to the build and the build info (as expected).
This is very nice.
Unfortunately I do not get the back-link. If I start my navigating from "builds". I just get "No path found (externally resolved or deleted/overwritten)" displayed. That's confusing because the artifact itselfs links exactly to this build information.
To get the correct path displayed in the build info I have to explicitly add my deployment repositories in the Jenkinsfile itself. This is completely redundant to my settings.xml file.
If e.g. the repository is changed, I have to adapt all Jenkinsfiles in all branches to get this link working again.
The deployment information is already available as metadata of the artifact in artifactory. Please make use of it and do not duplicate data.