Introduction: we do not use the Artifactory plugin to Jenkins - the requirement from the Development department is the the gradle biuld can be run by both Developers and Jenkins alike so that the artifactory section should be declared solely in the build.gradle script
On the Artifactory Gradle plugin page: https://www.jfrog.com/confluence/display/RTF/Gradle+Artifactory+Plugin The setting of the build.name and build.number property is clearly documented, in the section: Controlling the Build Name Number in BuildInfo So by setting in gradle the following: project.ext.set ("buildInfo.build.number", jenkinsBuildNumber) project.ext.set ("buildInfo.build.name", jenkinsBuildName) We can pass on from Gradle to Artifactory the Jenkins build name and number Thing is we would like to pass on the vcs.revision as well - but there is no documentation how we can pass-on the value (in our case of P4_CHANGELIST) to this property Any help will be appreciated -- View this message in context: http://forums.jfrog.org/artifactory-gradle-plugin-setting-the-vcs-revision-property-tp7580202.html Sent from the Artifactory - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
