How to deploy a Debian package from a Jenkins to the Artifactory Debian repo?
I used a command in the Jenkins Freestyle job:
curl -uUSER:PASS -XPUT "https://ARTIFACTORY_URL/REPO/pool/package.deb;deb.distribution=xenial;deb.component=main;deb.architecture=amd64" -T ./package.deb
but in that case no reference is created between the Artifactory to the Jenkins. Meaning, we cannot link between the Jenkins build to the Artifact.
Next, we tried to use a pipeline and call it from the Freestyle after a Debian package is created. But again, there is no wiki/support about a Debian packages uploading using a DSL.
And seems that the FileSpec doesn't support Debian packages.
How to pass architecture/distribution/component?
Did anyone have an experience with deploying Debian packages to the Artifactory? Sounds easy but still, I'm missing something.