[JIRA] (JENKINS-56512) Add function for Artifactory Version to org.jfrog.hudson.pipeline.common.types.ArtifactoryServer
Title: Message Title Adam Brousseau commented on JENKINS-56512 Re: Add function for Artifactory Version to org.jfrog.hudson.pipeline.common.types.ArtifactoryServer The first few times I tried to publish build info on my OSS server it failed. A few days later it appears to work fine. I still cannot see build or artifact properties on the UI and the retention doesn't seem to work but at least now its allowing me to publish it without failing. I no longer require this feature so feel free to close. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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.
[JIRA] (JENKINS-56512) Add function for Artifactory Version to org.jfrog.hudson.pipeline.common.types.ArtifactoryServer
Title: Message Title Adam Brousseau created an issue Jenkins / JENKINS-56512 Add function for Artifactory Version to org.jfrog.hudson.pipeline.common.types.ArtifactoryServer Issue Type: New Feature Assignee: Eyal Ben Moshe Components: artifactory-plugin Created: 2019-03-11 21:51 Environment: Artifacotry plugin 3.2.1 Priority: Minor Reporter: Adam Brousseau Different Artifactory versions (Licence) support different features. Particularly, I have a "Pro" server which supports buildInfo and an OSS server which does not. I want to be able to determine which server version I am uploading to in my pipeline in order to determine whether or not I can publish buildInfo. I could not find a method on org.jfrog.hudson.pipeline.common.types.ArtifactoryServer. I did see isArtifactoryPro() on org.jfrog.hudson.ArtifactoryServer but I couldn't find how to use it. As a workaround, I'm currently calling the Artifactory API GET /api/system/version which returns a license field of either 'Artifactory OSS' or a long license string. Add