The best way to do this will be to record a closure in the convention
object like:
artifactory {
  buildInfoBuilder {
    addStatus(...)
  }
}

that will be called just before the build info builder .build() method
call, so you will be able to modify the build info at will.

WDYT?
Fred.



On Fri, Apr 5, 2013 at 2:30 AM, Thomas <[email protected]>wrote:

> 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
>



-- 
JFrog Ltd
http://www.jfrog.org/
------------------------------------------------------------------------------
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