Re: Deploy OpenCMIS Snapshot upon successful Hudson build (was: Fwd: Build failed in Hudson: Chemistry - SwingClient - install OpenCMIS Swing Client #172)
Added a post build step to deploy artifacts. Also kicked the build to see if everyone works. Fingers crossed :) Ciao, Gab On Oct 4, 2010, at 12:20 PM, Klevenz, Stephan wrote: +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
RE: Deploy OpenCMIS Snapshot upon successful Hudson build (was: Fwd: Build failed in Hudson: Chemistry - SwingClient - install OpenCMIS Swing Client #172)
+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