[ 
https://issues.apache.org/jira/browse/LUCENE-4949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13638899#comment-13638899
 ] 

Uwe Schindler edited comment on LUCENE-4949 at 4/23/13 9:16 AM:
----------------------------------------------------------------

Here is a patch that creates the $version property out of multiple components. 
In Jenkins, we would simply pass {code}-Ddev.version.suffix=${BUILD_ID}{code}

This would override "SNAPSHOT".

I also fixed duplication in Solr's common-build, we no longer need to define 
version numbers inside solr, the Lucene part creates the full version, the full 
JAR file name (including the special case for solr, where no lucene- is 
prepended to file name).
                
      was (Author: thetaphi):
    Here is a patch that creates the $version property out of multiple 
components. In Jenkins, we would simply pass -Ddev.version.suffix=${BUILD_ID}, 
this would override "SNAPSHOT".

I also fixed duplication in Solr's common-build, we no longer need to define 
version numbers inside solr, the Lucene part creates the full version, the full 
JAR file name (including the special case for solr, where no lucene- is 
prepended to file name).
                  
> nightly builds have wrong version - need to simplify jenkins config tweaks 
> needed after a release
> -------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-4949
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4949
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Hoss Man
>            Assignee: Uwe Schindler
>         Attachments: LUCENE-4949.patch
>
>
> Right now, if you look at the configuration for these two apache jenkins 
> jobs...
> * https://builds.apache.org/job/Lucene-Artifacts-4.x/
> * https://builds.apache.org/job/Solr-Artifacts-4.x/
> ..you can see that even though they are building off of the 4.x branch, and 
> even though the 4.x branch says the next version is 4.4, the artifacts from 
> these jobs are labeled as if they will be 4.1 releases.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to