diff --git a/cruisecontrol/plugin.properties b/cruisecontrol/plugin.properties index 9a88e3d8..d63385a1 100644 --- a/cruisecontrol/plugin.properties +++ b/cruisecontrol/plugin.properties @@ -97,3 +97,13 @@ maven.cruisecontrol.scp.statusfile=${maven.cruisecontrol.currentbuildstatus.file maven.cruisecontrol.artifactspublisher=false maven.cruisecontrol.artifacts.dir= maven.cruisecontrol.artifacts.dest=${maven.build.dir}/artifacts +maven.cruisecontrol.artifactspublisher.publishOnFailure=true + +maven.cruisecontrol.jabberpublisher=false +maven.cruisecontrol.jabber.host=jabber.org +maven.cruisecontrol.jabber.username=MISSING_USERNAME +maven.cruisecontrol.jabber.password=MISSING_PASSWORD +maven.cruisecontrol.jabber.recipient=MISSING_RECIEPT +maven.cruisecontrol.jabber.chatroom=false +maven.cruisecontrol.jabber.ssl=false +maven.cruisecontrol.jabber.buildresultsurl=false diff --git a/cruisecontrol/project.xml b/cruisecontrol/project.xml index d4e0561a..09cf9f56 100644 --- a/cruisecontrol/project.xml +++ b/cruisecontrol/project.xml @@ -99,6 +99,11 @@ + + + Philip Dodds + + commons-jelly diff --git a/cruisecontrol/src/plugin-resources/cruisecontrol.jsl b/cruisecontrol/src/plugin-resources/cruisecontrol.jsl index cb734943..eba28efb 100644 --- a/cruisecontrol/src/plugin-resources/cruisecontrol.jsl +++ b/cruisecontrol/src/plugin-resources/cruisecontrol.jsl @@ -91,7 +91,7 @@ + dest="${maven.cruisecontrol.artifacts.dest}/${pom.artifactId}" publishOnFailure="${maven.cruisecontrol.artifactspublisher.publishOnFailure}"/> @@ -117,6 +117,17 @@ destDir="${maven.cruisecontrol.ftppublisher.destDir}" srcDir="${maven.cruisecontrol.ftppublisher.srcDir}/${pom.artifactId}" deleteArtifacts="${maven.cruisecontrol.ftppublisher.deleteArtifacts}"/> + + + + + + Add a Jabber publisher and configuration. + + + Add ability to publish only on success. + Removed all dependencies on the SCM module and instead replace all occurrences with ${pom.artifactId}. diff --git a/cruisecontrol/xdocs/properties.xml b/cruisecontrol/xdocs/properties.xml index 093d1f0a..0f7c392e 100644 --- a/cruisecontrol/xdocs/properties.xml +++ b/cruisecontrol/xdocs/properties.xml @@ -240,6 +240,71 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
maven.cruisecontrol.jabberpublisherYes +

Control whether to include publishing to a Jabber server. Default value is + false.

+
maven.cruisecontrol.jabber.hostNo +

Default value is + jabber.org.

+
maven.cruisecontrol.jabber.usernameNo +

The username to use to connect to the Jabber server

+
maven.cruisecontrol.jabber.passwordNo +

The password to use to connect to the Jabber server

+
maven.cruisecontrol.jabber.recipientNo +

The recipient that you wish to send the notification to

+
maven.cruisecontrol.jabber.chatroomYes +

Whether the recipient is a chatroom. Default value is + false.

+
maven.cruisecontrol.jabber.sslYes +

Whether to use SSL to connect to the Jabber server. Default value is + false.

+
maven.cruisecontrol.jabber.buildresultsurlYes +

Whether to include the build results URL. Default value is + false.

+
+
@@ -454,5 +519,128 @@
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
maven.cruisecontrol.scppublisherYes +

Copies the XML log file from the build with a SCP command onto a remote host. Default value is + false.

+
maven.cruisecontrol.scp.sourcedirYes +

The directory to copy from. Default value is + ${maven.cruisecontrol.logs.dir}.

+
maven.cruisecontrol.scp.targetuserYes +

Log in to the target machine as this user.

+

+ NOTE: This property doesn't have any default value, a value is required if + maven.cruisecontrol.scppublisher property is set to true.

+
maven.cruisecontrol.scp.targethostYes +

SCP to this machine.

+

+ NOTE: This property doesn't have any default value, a value is required if + maven.cruisecontrol.scppublisher property is set to true.

+
maven.cruisecontrol.scp.targetlogdirYes +

The directory to copy the log files. Default value is + ..

+
maven.cruisecontrol.scp.targetstatusfiledirYes +

The directory to copy the currentstatusfile. Default value is + ..

+
maven.cruisecontrol.scp.targetseparatorYes +

The file separator on the target machine. Default value is + /.

+
maven.cruisecontrol.scp.sshYes +

The ssh application. Default value is + ssh.

+
maven.cruisecontrol.scp.fileYes +

The filename to copy. Default value is the current log file.

+
maven.cruisecontrol.scp.statusfileYes +

The statusfilename to copy. Default value is + ${maven.cruisecontrol.currentbuildstatus.filename}.

+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
maven.cruisecontrol.artifactspublisherYes +

Copies the build artifacts from to a given local location. Default value is + false.

+
maven.cruisecontrol.artifacts.dirYes +

The directory to copy from. Default value is + ${maven.cruisecontrol.logs.dir}.

+
maven.cruisecontrol.artifacts.destYes +

The directory to copy to. Default value is + ${maven.build.dir}/artifacts}.

+
maven.cruisecontrol.artifactsPublisher.publishOnFailureYes +

Whether to publish the artifacts on a failed build. Default value is + true.

+
+