Author: nickboldt
Date: 2010-12-16 03:06:28 -0500 (Thu, 16 Dec 2010)
New Revision: 27538
Added:
trunk/build/hudson-jobs/pom-checker.xml
Log:
add pom-checker.xml for checker plugin
Added: trunk/build/hudson-jobs/pom-checker.xml
===================================================================
--- trunk/build/hudson-jobs/pom-checker.xml (rev 0)
+++ trunk/build/hudson-jobs/pom-checker.xml 2010-12-16 08:06:28 UTC (rev 27538)
@@ -0,0 +1,59 @@
+<project
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
+
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.hudson.jobs.all</artifactId>
+ <name>org.jboss.tools.hudson.jobs.all</name>
+ <version>0.0.1-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugin</groupId>
+ <artifactId>hudson-job-schedule-checker-plugin</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <phase>install</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+<!--
+To be able to connect to server, must first import certificate or you may get this
error:
+
+ javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX
path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable
to find valid certification path to requested target
+
+AS USER (with Firefox):
+
+Browse to
https://hudson.qa.jboss.com/hudson & accept the cert.
+
+ Edit > Preferences > Advanced > Encryption > View Certificates > find
hudson cert > Export to file /tmp/hudson.qa.jboss.com.cert
+
+AS ROOT (default password is "changeit"):
+
+ # /opt/sun-java2-6.0/jre/bin/keytool -list -keystore
/opt/sun-java2-6.0/jre/lib/security/cacerts | grep hudson
+ # /opt/sun-java2-6.0/jre/bin/keytool -import -alias hudson.qa -keystore
/opt/sun-java2-6.0/jre/lib/security/cacerts -file /tmp/hudson.qa.jboss.com.cert
+ # /opt/sun-java2-6.0/jre/bin/keytool -list -keystore
/opt/sun-java2-6.0/jre/lib/security/cacerts | grep hudson
+
+To run, make sure that JAVA_HOME is set to the path where you imported the cert, eg.:
+
+ $ export JAVA_HOME=/opt/sun-java2-6.0/; mvn clean install
+-->
+ <!-- more output w/ verbose; default false -->
+ <verbose>true</verbose>
+
+ <!-- server and connection details -->
+ <!-- <
hudsonURL>https://hudson.qa.jboss.com/hudson/</hudsonURL>
-->
+ <hudsonURL>http://localhost:8080/</hudsonURL>
+ <username>SET USERNAME HERE</username>
+ <password>SET PASSWORD HERE</password>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
+