+1

Stephan

-----Original Message-----
From: Gabriele Columbro [mailto:colum...@gmail.com] 
Sent: Montag, 4. Oktober 2010 11:13
To: chemistry-dev@incubator.apache.org
Subject: Deploy OpenCMIS Snapshot upon successful Hudson build (was: Fwd: Build 
failed in Hudson: Chemistry - SwingClient - install > OpenCMIS Swing Client 
#172)

Hey guys,
in order to overcome issues like the one below, but more as general  
best practice of continuous integration, would be nice if we could  
deploy a SNAPSHOT upon successful OpenCMIS build directly from Hudson.

Baseline it would take changing the Hudson command from

'mvn install'

to

'mvn deploy'

+ some permission / credentials setup (as Hudson user should be  
allowed to deploy directly to repository.apache.org).

I don't have control on the Hudson Chemistry project, but if someone  
can grant me proper karma I could just go ahead and implement this.

WDYT?

Ciao,
Gab


Begin forwarded message:

> From: Apache Hudson Server <hud...@hudson.apache.org>
> Date: October 4, 2010 9:16:07 AM GMT+02:00
> To: chemistry-dev@incubator.apache.org
> Subject: Build failed in Hudson: Chemistry - SwingClient - install >  
> OpenCMIS Swing Client #172
> Reply-To: chemistry-dev@incubator.apache.org
>
> See 
> <https://hudson.apache.org/hudson/job/Chemistry%20-%20SwingClient%20-%20install/org.apache.chemistry.opencmis.swingclient$chemistry-opencmis-swingclient/172/
>  
> >
>
> ------------------------------------------
> <===[HUDSON REMOTING CAPACITY]===>channel started
>   Executing Maven:  -B -f 
> <https://hudson.apache.org/hudson/job/Chemistry%20-%20SwingClient%20-%20install/org.apache.chemistry.opencmis.swingclient$chemistry-opencmis-swingclient/ws/pom.xml
>  
> > -U clean install assembly:assembly webstart:jnlp-inline
> [INFO] Scanning for projects...
> [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin:  
> checking for updates from central
> [INFO] artifact org.codehaus.mojo.webstart:webstart-maven-plugin:  
> checking for updates from central
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Building OpenCMIS Swing Client
> [INFO]    task-segment: [clean, install]
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting file set: 
> <https://hudson.apache.org/hudson/job/Chemistry%20-%20SwingClient%20-%20install/org.apache.chemistry.opencmis.swingclient$chemistry-opencmis-swingclient/ws/target
>  
> > (included: [**], excluded: [])
> [INFO] Setting property: classpath.resource.loader.class =>  
> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [INFO] snapshot org.apache.chemistry.opencmis:chemistry-opencmis- 
> client-impl:0.2.0-incubating-SNAPSHOT: checking for updates from  
> apache.snapshots
> [INFO] snapshot org.apache.chemistry.opencmis:chemistry-opencmis: 
> 0.2.0-incubating-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot org.apache.chemistry.opencmis:chemistry-opencmis- 
> client-api:0.2.0-incubating-SNAPSHOT: checking for updates from  
> apache.snapshots
> [INFO] snapshot org.apache.chemistry.opencmis:chemistry-opencmis- 
> commons-api:0.2.0-incubating-SNAPSHOT: checking for updates from  
> apache.snapshots
> [INFO] snapshot org.apache.chemistry.opencmis:chemistry-opencmis- 
> commons-impl:0.2.0-incubating-SNAPSHOT: checking for updates from  
> apache.snapshots
> [INFO] artifact org.jvnet.staxex:stax-ex: checking for updates from  
> maven-repository.dev.java.net
> [INFO] artifact org.jvnet.staxex:stax-ex: checking for updates from  
> maven2-repository.dev.java.net
> [INFO] artifact org.jvnet.staxex:stax-ex: checking for updates from  
> central
> [INFO] snapshot org.apache.chemistry.opencmis:chemistry-opencmis- 
> client-bindings:0.2.0-incubating-SNAPSHOT: checking for updates from  
> apache.snapshots
> [INFO] snapshot org.apache.chemistry.opencmis:chemistry-opencmis- 
> test-util:0.2.0-incubating-SNAPSHOT: checking for updates from  
> apache.snapshots
> [INFO] [antrun:run {execution: default}]
> [INFO] Executing tasks
>
> main:
> [INFO] Executed tasks
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 26 resources
> [INFO] Copying 3 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 46 source files to 
> <https://hudson.apache.org/hudson/job/Chemistry%20-%20SwingClient%20-%20install/org.apache.chemistry.opencmis.swingclient$chemistry-opencmis-swingclient/ws/target/classes
>  
> >
> [HUDSON] Archiving 
> <https://hudson.apache.org/hudson/job/Chemistry%20-%20SwingClient%20-%20install/org.apache.chemistry.opencmis.swingclient$chemistry-opencmis-swingclient/ws/pom.xml
>  
> > to /home/hudson/hudson/jobs/Chemistry - SwingClient - install/ 
> modules/org.apache.chemistry.opencmis.swingclient$chemistry-opencmis- 
> swingclient/builds/2010-10-04_07-15-39/archive/ 
> org.apache.chemistry.opencmis.swingclient/chemistry-opencmis- 
> swingclient/0.1.0-incubating-SNAPSHOT/pom.xml
> [INFO]  
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> <https://hudson.apache.org/hudson/job/Chemistry%20-%20SwingClient%20-%20install/org.apache.chemistry.opencmis.swingclient$chemistry-opencmis-swingclient/ws/src/main/java/org/apache/chemistry/opencmis/swingclient/ChangeLogFrame.java
>  
> >:[41,47] cannot find symbol
> symbol  : class ChangeEvents
> location: package org.apache.chemistry.opencmis.client.api
>
> <https://hudson.apache.org/hudson/job/Chemistry%20-%20SwingClient%20-%20install/org.apache.chemistry.opencmis.swingclient$chemistry-opencmis-swingclient/ws/src/main/java/org/apache/chemistry/opencmis/swingclient/ChangeLogFrame.java
>  
> >:[88,16] cannot find symbol
> symbol: class ChangeEvents
>                ChangeEvents events = null;
>
> <https://hudson.apache.org/hudson/job/Chemistry%20-%20SwingClient%20-%20install/org.apache.chemistry.opencmis.swingclient$chemistry-opencmis-swingclient/ws/src/main/java/org/apache/chemistry/opencmis/swingclient/ChangeLogFrame.java
>  
> >:[91,66] getContentChanges(java.lang.String) in  
> org.apache.chemistry.opencmis.client.api.Session cannot be applied  
> to (java.lang.String,boolean,int)
>
> <https://hudson.apache.org/hudson/job/Chemistry%20-%20SwingClient%20-%20install/org.apache.chemistry.opencmis.swingclient$chemistry-opencmis-swingclient/ws/src/main/java/org/apache/chemistry/opencmis/swingclient/ChangeLogFrame.java
>  
> >:[189,32] cannot find symbol
> symbol  : method getProperties()
> location: interface  
> org.apache.chemistry.opencmis.client.api.ChangeEvent
>
>
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Total time: 17 seconds
> [INFO] Finished at: Mon Oct 04 07:16:06 UTC 2010
> [INFO] Final Memory: 30M/316M
> [INFO]  
> ------------------------------------------------------------------------
>

-- 

Eng. Gabriele Columbro
Alfresco Software, Ltd.


Blog: http://www.mindthegab.com
Twitter: http://twitter.com/mindthegabz




Reply via email to