Did you modify the Jenkins job accordingly?

Uli

On 22.12.2012 01:51, [email protected] wrote:
> Updated Branches:
>   refs/heads/master 116ca802e -> 87bda99a1
> 
> 
> Change the build to append "-SNAPSHOT" to the version when the CI JVM System 
> Property is true
> Advance the version number to "5.4-alpha-1"
> 
> 
> Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
> Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/87bda99a
> Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/87bda99a
> Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/87bda99a
> 
> Branch: refs/heads/master
> Commit: 87bda99a185bd808883f9e83539172762d65fa28
> Parents: 9389044
> Author: Howard M. Lewis Ship <[email protected]>
> Authored: Fri Dec 21 16:41:27 2012 -0800
> Committer: Howard M. Lewis Ship <[email protected]>
> Committed: Fri Dec 21 16:41:27 2012 -0800
> 
> ----------------------------------------------------------------------
>  build.gradle |   12 ++++++++----
>  1 files changed, 8 insertions(+), 4 deletions(-)
> ----------------------------------------------------------------------
> 
> 
> http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/87bda99a/build.gradle
> ----------------------------------------------------------------------
> diff --git a/build.gradle b/build.gradle
> index 664cffd..5953de1 100644
> --- a/build.gradle
> +++ b/build.gradle
> @@ -11,7 +11,6 @@ project.ext.versions = [
>    // tag the release in Subversion.
>    // Version number is always "5.x(.y)?-SNAPSHOT" and only gets fixed, e.g. 
> to 5.4-alpha-1
>    // during a release
> -  tapestry: "5.4-SNAPSHOT",
>    jetty: "7.0.0.v20091005",
>    tomcat: "6.0.30",
>    testng: "6.5.2",
> @@ -23,7 +22,13 @@ project.ext.versions = [
>  ]
>  
>  // Provided so that the CI server can override the normal version number for 
> nightly builds.
> -version = System.getProperty("project-version", versions.tapestry)
> +project.version =  "5.4-alpha-1" + suffix()
> +
> +def suffix() {
> +    // When building on the CI server, make sure -SNAPSHOT is appended, as 
> it is a nightly build.
> +    // When building normally, or for a release, no suffix is desired.
> +    Boolean.getBoolean("ci") ? "-SNAPSHOT" : ""
> +}
>  
>  // Let analysis.apache.org get in touch with our builds
>  
> @@ -122,12 +127,11 @@ subprojects {
>      configurations {
>          provided
>          deployerJars
> -
>      }
>  
>      apply plugin: "java"
>      apply plugin: "groovy" // mostly for testing
> -    apply plugin: "maven"
> +    apply plugin: "maven"  // for deployment
>      apply plugin: "project-report"
>  
>      sourceCompatibility = "1.5"
> 

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

Reply via email to