What seems to work from the Gradle side is ...

this.artifactoryPluginConvention =
project.getRootProject().getConvention().getPlugin(ArtifactoryPluginConvention.class);
artifactoryPluginConvention.getClientConfig().info.setReleaseEnabled( true);
artifactoryPluginConvention.getClientConfig().info.setReleaseComment( "Build
foo:9.0.0.0.88 of status integration");

This information will then be picked-up by the GradleBuildInfoExtractor.

This is almost what we want. The only remaining issue is that the "status"
property is hard-coded to value "Staging".

Question to JFrog. Can you make the status configurable by introducing new
method

ArtifactoryClientConfiguration$BuildInfoHandler.setReleaseStatus(String
status);

?

Thanks.



--
View this message in context: 
http://forums.jfrog.org/How-to-publish-to-Artifactory-including-Release-History-information-tp7578736p7578745.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to