Sure. Just run gradle with an appropriate command line switch and check for that.
On 25.09.2012 20:21, Howard Lewis Ship wrote: > That should have said "a Jenkins build" > > On Monday, September 24, 2012, Howard Lewis Ship wrote: > >> Coud we detect that it is are kinds build and supply -SNAPSHOT >> automatically? >> >> On Saturday, September 22, 2012, Ulrich Stärk wrote: >> >> This might leave us with multiple 5.4-alpha-1 versions which I find >> confusing. I'd rather call all >> versions until the actual publication -SNAPSHOT, e.g. 5.4-alhpa-1-SNAPSHOT >> and than have a single >> 5.4-alhpa-1 version out there. >> >> Uli >> >> On 22.09.2012 01:17, Howard Lewis Ship wrote: >>> We should change that to do the actual deployment if the version >>> number matches /[0-9.-]*/ >>> >>> On Sat, Sep 15, 2012 at 3:45 PM, Ulrich Stärk <[email protected]> wrote: >>>> This code snippet from build.grade determines whether to try to deploy >> a snapshot from CI using the >>>> snapshot credentials or to perform the actual deploy after a release >> build using the committer >>>> credentials: >>>> >>>> boolean isSnapshot() { >>>> project.version.contains("SNAPSHOT") >>>> } >>>> >>>> Since the current version is 5.4-alpha-1 it tries to perform the actual >> deployment. The version >>>> should be 5.4-alpha-1-SNAPSHOT instead. >>>> >>>> Uli >>>> >>>> On 15.09.2012 02:26, Howard Lewis Ship wrote: >>>>> That would be terrific! >>>>> >>>>> On Fri, Sep 14, 2012 at 3:32 PM, Ulrich Stärk <[email protected]> >> wrote: >>>>>> The build is OK again but it fails at the deploy step (again). I >> though I fixed that stuff a year or >>>>>> so ago but it seems that it's broken again. >>>>>> >>>>>> Will look into that in the next days if nobody beats me to it. >>>>>> >>>>>> Uli >>>>>> >>>>>> On 15.09.2012 00:26, Apache Jenkins Server wrote: >>>>>>> See <https://builds.apache.org/job/tapestry-trunk-freestyle/965/> >>>>>>> >>>>>>> ------------------------------------------ >>>>>>> Started by user uli >>>>>>> Building remotely on tapestry in workspace < >> https://builds.apache.org/job/tapestry-trunk-freestyle/ws/> >>>>>>> Checkout:tapestry-trunk-freestyle / < >> https://builds.apache.org/job/tapestry-trunk-freestyle/ws/> - >> hudson.remoting.Channel@7a14d99d:tapestry >>>>>>> Using strategy: Default >>>>>>> Last Built Revision: Revision >> aa3ee48cf946159f165cb0a3b7ccf6a0641417cf (origin/master) >>>>>>> Fetching changes from 1 remote Git repository >>>>>>> Fetching upstream changes from >> https://git-wip-us.apache.org/repos/asf/tapestry-5.git >>>>>>> Commencing build of Revision >> aa3ee48cf946159f165cb0a3b7ccf6a0641417cf (origin/master) >>>>>>> Checking out Revision aa3ee48cf946159f165cb0a3b7ccf6a0641417cf >> (origin/master) >>>>>>> [tapestry-trunk-freestyle] $ /bin/bash -xe >> /tmp/hudson5452262968772832169.sh >>>>>>> + Xvfb :6 -ac -screen 0 1024x768x8 >>>>>>> [dix] Could not init font path element >> /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list! >>>>>>> Process leaked file descriptors. See >> http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+buildfor >> more information >>>>>>> [tapestry-trunk-freestyle] $ /bin/bash -xe >> /tmp/hudson6624841123057389095.sh >>>>>>> + DISPLAY=:6.0 >>>>>>> + bash < >> https://builds.apache.org/job/tapestry-trunk-freestyle/ws/gradlew> >> -Dfile.encoding=UTF-8 -b < >> https://builds.apache.org/job/tapestry-trunk-freestyle/ws/build.gradle> >> continuousIntegration >>>>>>> Downloading >> http://services.gradle.org/distributions/gradle-1.0-bin.zip >>>>>>> >> ............................................................................................................................................................................................................................ >> >> -- >> Howard M. Lewis Ship >> >> Creator of Apache Tapestry >> >> The source for Tapestry training, mentoring and support. Contact me to >> learn how I can get you up and productive in Tapestry fast! >> >> (971) 678-5210 >> http://howardlewisship.com >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
