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+build 
>>> for 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
>>> ..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
 ..
>>  .......
>> ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
>>> Unzipping 
>>> /var/jenkins/.gradle/wrapper/dists/gradle-1.0-bin/3712n820lsda7ntccvm5qn52st/gradle-1.0-bin.zip
>>>  to 
>>> /var/jenkins/.gradle/wrapper/dists/gradle-1.0-bin/3712n820lsda7ntccvm5qn52st
>>> Set executable permissions for: 
>>> /var/jenkins/.gradle/wrapper/dists/gradle-1.0-bin/3712n820lsda7ntccvm5qn52st/gradle-1.0/bin/gradle
>>> Dynamic properties are deprecated: 
>>> http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html
>>> Deprecated dynamic property: "jdkName" on 
>>> "org.gradle.plugins.ide.idea.model.IdeaModel_Decorated@59628381", value: 
>>> "1.6".
>>> Deprecated dynamic property "jdkName" created in multiple locations.
>>> :plastic:compileJavaNote: Some input files use unchecked or unsafe 
>>> operations.
>>> Note: Recompile with -Xlint:unchecked for details.
>>>
>>> :plastic:compileGroovy UP-TO-DATE
>>> :plastic:processResources UP-TO-DATE
>>> :plastic:classes
>>> :plastic:jar
>>> :tapestry-core:generateGrammarSource
>>> :tapestry-func:compileJava
>>> :tapestry-func:compileGroovy UP-TO-DATE
>>> :tapestry-func:processResources UP-TO-DATE
>>> :tapestry-func:classes
>>> :tapestry-func:jar
>>> :tapestry-test:compileJava
>>> Download 
>>> http://repo1.maven.org/maven2/org/testng/testng/6.5.2/testng-6.5.2.pom
>>> Download http://repo1.maven.org/maven2/junit/junit/4.10/junit-4.10.pom
>>> Download 
>>> http://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.pom
>>> Download 
>>> http://repo1.maven.org/maven2/org/hamcrest/hamcrest-parent/1.1/hamcrest-parent-1.1.pom
>>> Download 
>>> http://repo1.maven.org/maven2/org/testng/testng/6.5.2/testng-6.5.2.jar
>>> Download 
>>> http://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar
>>> Download http://repo1.maven.org/maven2/junit/junit/4.10/junit-4.10.jar
>>> :tapestry-test:compileGroovy UP-TO-DATE
>>> :tapestry-test:processResources
>>> :tapestry-test:classes
>>> :tapestry-test:jar
>>> :tapestry5-annotations:compileJava
>>> :tapestry5-annotations:compileGroovy UP-TO-DATE
>>> :tapestry5-annotations:processResources UP-TO-DATE
>>> :tapestry5-annotations:classes
>>> :tapestry5-annotations:jar
>>> :tapestry-ioc:compileJavaNote: Some input files use or override a 
>>> deprecated API.
>>> Note: Recompile with -Xlint:deprecation for details.
>>> Note: Some input files use unchecked or unsafe operations.
>>> Note: Recompile with -Xlint:unchecked for details.
>>>
>>> :tapestry-ioc:compileGroovy UP-TO-DATE
>>> :tapestry-ioc:processResources
>>> :tapestry-ioc:classes
>>> :tapestry-ioc:jar
>>> :tapestry-json:compileJava
>>> :tapestry-json:compileGroovy UP-TO-DATE
>>> :tapestry-json:processResources UP-TO-DATE
>>> :tapestry-json:classes
>>> :tapestry-json:jar
>>> :tapestry-core:compileJavaNote: Some input files use or override a 
>>> deprecated API.
>>> Note: Recompile with -Xlint:deprecation for details.
>>> Note: Some input files use unchecked or unsafe operations.
>>> Note: Recompile with -Xlint:unchecked for details.
>>>
>>> :tapestry-core:compileGroovy UP-TO-DATE
>>> :tapestry-core:processResources
>>> :tapestry-core:classes
>>> :tapestry-core:jar
>>> :tapestry-hibernate-core:compileJavaNote: Some input files use or override 
>>> a deprecated API.
>>> Note: Recompile with -Xlint:deprecation for details.
>>>
>>> :tapestry-hibernate-core:compileGroovy UP-TO-DATE
>>> :tapestry-hibernate-core:processResources
>>> :tapestry-hibernate-core:classes
>>> :tapestry-hibernate-core:jar
>>> :tapestry-javadoc:compileJava
>>> :tapestry-javadoc:compileGroovy UP-TO-DATE
>>> :tapestry-javadoc:processResources UP-TO-DATE
>>> :tapestry-javadoc:classes
>>> :tapestry-javadoc:jar
>>> :aggregateJavadoc
>>> Download 
>>> http://repo1.maven.org/maven2/org/clojure/clojure/1.4.0/clojure-1.4.0.pom
>>> Download 
>>> http://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/5/oss-parent-5.pom
>>> Download 
>>> http://repo1.maven.org/maven2/org/clojure/clojure/1.4.0/clojure-1.4.0.jar
>>> Download 
>>> http://maven-play-plugin.googlecode.com/svn/mavenrepo/releases/com/google/code/maven-play-plugin/com/yahoo/platform/yui/yuicompressor/2.4.7/yuicompressor-2.4.7.pom
>>> Download 
>>> http://maven-play-plugin.googlecode.com/svn/mavenrepo/releases/com/google/code/maven-play-plugin/com/yahoo/platform/yui/yuicompressor/2.4.7/yuicompressor-2.4.7.jar
>>> <https://builds.apache.org/job/tapestry-trunk-freestyle/ws/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/services/MethodSignature.java>:226:
>>>  warning - Tag @link: reference not found: 
>>> org.apache.tapestry5.ioc.internal.util.MethodIterator
>>> <https://builds.apache.org/job/tapestry-trunk-freestyle/ws/tapestry-core/src/main/java/org/apache/tapestry5/services/MarkupRendererFilter.java>:29:
>>>  warning - Tag @see: can't find 
>>> contributeMarkupRenderer(org.apache.tapestry5.ioc.OrderedConfiguration,
>>>       org.apache.tapestry5.Asset, boolean, String, boolean, 
>>> org.apache.tapestry5.ioc.services.SymbolSource,
>>>       AssetSource, 
>>> org.apache.tapestry5.services.javascript.JavaScriptStackSource,
>>>       
>>> org.apache.tapestry5.internal.services.javascript.JavaScriptStackPathConstructor,
>>>  org.apache.tapestry5.Asset) in org.apache.tapestry5.services.TapestryModule
>>> <https://builds.apache.org/job/tapestry-trunk-freestyle/ws/tapestry-core/src/main/java/org/apache/tapestry5/services/PartialMarkupRendererFilter.java>:31:
>>>  warning - Tag @see: can't find 
>>> contributePartialMarkupRenderer(org.apache.tapestry5.ioc.OrderedConfiguration,
>>>       org.apache.tapestry5.Asset, 
>>> org.apache.tapestry5.services.javascript.JavaScriptStackSource,
>>>       
>>> org.apache.tapestry5.internal.services.javascript.JavaScriptStackPathConstructor,
>>>       org.apache.tapestry5.ioc.services.SymbolSource, AssetSource) in 
>>> org.apache.tapestry5.services.TapestryModule
>>> <https://builds.apache.org/job/tapestry-trunk-freestyle/ws/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java>:1337:
>>>  warning - Tag @link: reference not found: InjectionProvider
>>> <https://builds.apache.org/job/tapestry-trunk-freestyle/ws/tapestry-core/src/main/java/org/apache/tapestry5/runtime/PageLifecycleListener.java>:32:
>>>  warning - Tag @link: can't find addPageLoadedCallback(Runnable) in 
>>> org.apache.tapestry5.ComponentResources
>>> 5 warnings
>>> :plastic:assemble
>>> :plastic:compileTestJava
>>> :plastic:compileTestGroovy
>>> :plastic:processTestResources UP-TO-DATE
>>> :plastic:testClasses
>>> :plastic:test
>>> :plastic:check
>>> :plastic:build
>>> :plastic:sourcesJar
>>> :plastic:uploadPublished
>>>
>>> FAILURE: Build failed with an exception.
>>>
>>> * Where:
>>> Build file 
>>> '<https://builds.apache.org/job/tapestry-trunk-freestyle/ws/build.gradle'> 
>>> line: 199
>>>
>>> * What went wrong:
>>> Execution failed for task ':plastic:uploadPublished'.
>>>> Missing upload credentials. Set 'apacheDeployUserName' and 
>>>> 'apacheDeployPassword' root project properties.
>>>
>>> * Try:
>>> Run with --stacktrace option to get the stack trace. Run with --info or 
>>> --debug option to get more log output.
>>>
>>> BUILD FAILED
>>>
>>> Total time: 3 mins 59.444 secs
>>> Build step 'Execute shell' marked build as failure
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
> 
> 
> 


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

Reply via email to