-
Bug
-
Resolution: Unresolved
-
Blocker
Current implementation of the Generic Artifactory deployment uses matrix parameters (seen as build properties in the UI) in a manner that does not align with Artifactory's requirements for publishing deb packages to an apt repo as seen here: http://www.jfrog.com/confluence/display/RTF/Debian+Repositories
Instead, the properties are added after with the BuildInfoDeployer. Unfortunately the apt repo seems to not allow these matrix params out of the order specified in the documentation, namely [path][properties] Ex. pool/artifact.deb;deb.distro=something;
A fix would be to allow text to be appended after the 'Published Artifacts' text, allowing appending of the properties on the deploy request, etc.
I've tried placing the required matrix parameters inside the path as suggested here: https://www.jfrog.com/confluence/display/RTF/Using+Properties+in+Deployment+and+Resolution but no combination beyond the order mentioned in the doc for Deb packages specifically seems to work appropriately so I don't believe I can work around it.
Any assistance is appreciated.
Files of interest:
https://github.com/jenkinsci/artifactory-plugin/blob/master/src/main/java/org/jfrog/hudson/generic/GenericArtifactsDeployer.java
https://github.com/jenkinsci/artifactory-plugin/blob/master/src/main/java/org/jfrog/hudson/generic/GenericBuildInfoDeployer.java
https://github.com/jenkinsci/artifactory-plugin/blob/master/src/main/resources/org/jfrog/hudson/generic/ArtifactoryGenericConfigurator/config.jelly