[ https://issues.apache.org/jira/browse/PIG-2735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287672#comment-13287672 ]
Julien Le Dem commented on PIG-2735: ------------------------------------ The Implementation-Version attribute in the manifest contains the "version" property from build.xml. So something like Implementation-Version: 0.11.0-SNAPSHOT when build from trunk or just 0.11.0 if from an official version. It looks like we want to remove .split("-")[0] from your snippet above to get the actual version. > Add a pig.version.prefix property in build.xml to easily override with a > build number > ------------------------------------------------------------------------------------- > > Key: PIG-2735 > URL: https://issues.apache.org/jira/browse/PIG-2735 > Project: Pig > Issue Type: Improvement > Reporter: Julien Le Dem > Assignee: Julien Le Dem > Attachments: PIG-2735.patch > > > This can be used as follows in Jenkins: > ant -Dpig.version.suffix=+${BUILD_NUMBER} jar -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira