title: How to read artifactory's artifact properties in gradle build script
body: <p>I have 2 jenkins jobs, the first job publishes a jar file to artifactory and add a property (commit id) to the artifact. The second job always pulls the latest version jar from artifactory but it also requires the property associated with that artifact. We are using gradle for our builds. Is there a way to get it inside gradle or do we have any other alternative?</p>
  
  <p>Edit: The jobs are not part of the pipeline. Meaning they are independent jobs and the second job triggers on another repository change.</p>