Skip to content

Instantly share code, notes, and snippets.

View olamy's full-sized avatar
🏃‍♂️
running

Olivier Lamy olamy

🏃‍♂️
running
View GitHub Profile
top - 15:06:30 up 17:56, 5 users, load average: 5.96, 3.53, 2.37
Tasks: 199 total, 2 running, 197 sleeping, 0 stopped, 0 zombie
Cpu(s): 20.9%us, 4.8%sy, 1.5%ni, 19.3%id, 52.8%wa, 0.2%hi, 0.5%si, 0.0%st
Mem: 2052172k total, 2003428k used, 48744k free, 25836k buffers
Swap: 3227640k total, 612284k used, 2615356k free, 144164k cached
How to create a jar containing test classes
You can produce a jar which will include your test classes and resources.
<project>
...
<build>
<plugins>
...
<plugin>
olamy@olamy-laptop:~/dev/sources/redback/redback-rest/redback-rest-services$ curl -I http://repo1.maven.org/maven2/.index/
HTTP/1.1 302 Moved Temporarily
Server: nginx/1.0.1
Date: Wed, 17 Aug 2011 12:27:46 GMT
Content-Type: text/html
Content-Length: 160
Connection: keep-alive
Location: http://mirrors.ibiblio.org/pub/mirrors/maven2/dot-index/
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>cloudbees-deployer-plugin</artifactId>
<version>1.5-SNAPSHOT</version>
<scope>provided</scope>
<dependency>
<groupId>org.apache.directory.client.ldap</groupId>
<artifactId>ldap-client</artifactId>
<version>0.1</version>
</dependency>
<dependency>
<groupId>org.apache.directory.client.ldap</groupId>
<artifactId>ldap-client-api</artifactId>
<version>0.1</version>
</dependency>
Master to slave
#17 (ref.1) : hudson.CloseProofOutputStream@c8118b8
java.lang.Exception
at hudson.remoting.ExportTable$Entry.<init>(ExportTable.java:66)
at hudson.remoting.ExportTable.export(ExportTable.java:166)
at hudson.remoting.Channel.export(Channel.java:548)
at hudson.remoting.RemoteOutputStream.writeObject(RemoteOutputStream.java:82)
at sun.reflect.GeneratedMethodAccessor268.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
[ERROR] Failed to execute goal on project camel-jmx-service: Could not resolve dependencies for project org.talend.esb.examples:camel-jmx-service:bundle:5.0-SNAPSHOT: Could not find artifact com.sun:tools:jar:1.5.0 at specified path /x1/jenkins/tools/java/jdk1.6.0_20-32/jre/../lib/tools.jar -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project camel-jmx-service: Could not resolve dependencies for project org.talend.esb.examples:camel-jmx-service:bundle:5.0-SNAPSHOT: Could not find artifact com.sun:tools:jar:1.5.0 at specified path /x1/jenkins/tools/java/jdk1.6.0_20-32/jre/../lib/tools.jar
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
at org.apache.mave
wget http://mirrors.ibiblio.org/pub/mirrors/maven2/org/codehaus/swizzle/swizzle-jirareport/1.6.1/swizzle-jirareport-1.6.1-dep.jar
java -jar swizzle-jirareport-1.6.1-dep.jar http://svn.codehaus.org/swizzle/trunk/swizzle-jirareport/src/main/resources/ja-to-jira.vm -DserverUrl=https://jira.codehaus.org -DprojectKey=MTOMCAT -Dusername=codehausuid -Dpassword=codehauspassword -DjiraAdmin=toto > MTOMCAT.export
<profile>
<id>all</id>
<activation>
<os>
<family>!mac</family>
</os>
</activation>
</profile>
MacBook-Pro-de-Olivier:jenkins olamy$ mvn hudson-dev:run
#############################################################
JRebel 4.0.3 (201107251640)
(c) Copyright ZeroTurnaround OU, Estonia, Tartu.
Over the last 1 days JRebel prevented
at least 0 redeploys/restarts saving you about 0 hours.