--
You received this message because you are subscribed to the Google Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugi...@googlegroups.com.
To post to this group, send email to job-dsl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/bca8b1da-36d2-4b82-9636-01833a534d24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<builders> <hudson.tasks.Shell> <command>....</command> </hudson.tasks.Shell> <jenkins.plugins.publish__over__ssh.BapSshBuilderPlugin plugin="publish-...@1.13"> ... </jenkins.plugins.publish__over__ssh.BapSshBuilderPlugin> <hudson.tasks.Shell> <command>...</command> </hudson.tasks.Shell> <hudson.plugins.jboss.JBossBuilder plugin="jb...@1.0.6-SNAPSHOT"> <serverName>QA-Services</serverName> <operation> <type>START</type> <stopOnFailure>false</stopOnFailure> </operation> </hudson.plugins.jboss.JBossBuilder> <hudson.tasks.Shell> <command>...</command> </hudson.tasks.Shell></builders>
<builders> <hudson.plugins.jboss.JBossBuilder plugin="jb...@1.0.6-SNAPSHOT"> <serverName>QA-Portal</serverName> <operation> <type>START</type> <stopOnFailure>false</stopOnFailure> </operation> </hudson.plugins.jboss.JBossBuilder>
<hudson.tasks.Shell> <command>...</command> </hudson.tasks.Shell> <jenkins.plugins.publish__over__ssh.BapSshBuilderPlugin> ... </jenkins.plugins.publish__over__ssh.BapSshBuilderPlugin> <hudson.tasks.Shell> <command>...</command> </hudson.tasks.Shell> <hudson.tasks.Shell> <command>...</command> </hudson.tasks.Shell></builders>
steps { //read a script from workspace shell('...')
//Stop the Portal Server publishOverSsh { server(portalJBossNode) { transferSet { execCommand('/jboss/jboss-eap-6.1/bin/StopServer.sh') execTimeout(120000) execInPty(true) } } } // Call script that undeploys WARs // then stops the JBoss Services server shell ('...') //Start the JBOss Server configure { it / builders << 'hudson.plugins.jboss.JBossBuilder'(plugin: 'jb...@1.0.6-SNAPSHOT') { serverName(servicesJBossNode) operation { type('START') stopOnFailure(false) } } } //Perform deployment shell ('...')}
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/8c9f62f4-bac0-4537-9913-31b8b5604d62%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/eda19d64-7b70-4d41-94bf-ac976760ab01%40googlegroups.com.