Wisen Tanasa edited a comment on New Feature JENKINS-25922

config.xml generated with complex and advance configuration

<jenkins.plugins.publish__over__ssh.BapSshBuilderPlugin plugin="publish-over-ssh@1.12">
      <delegate>
        <consolePrefix>SSH: </consolePrefix>
        <delegate>
          <publishers>
            <jenkins.plugins.publish__over__ssh.BapSshPublisher>
              <configName>my-server-01</configName>
              <verbose>true</verbose>
              <transfers>
                <jenkins.plugins.publish__over__ssh.BapSshTransfer>
                  <remoteDirectory>directory</remoteDirectory>
                  <sourceFiles>files</sourceFiles>
                  <excludes>exclude files</excludes>
                  <removePrefix>prefix</removePrefix>
                  <remoteDirectorySDF>true</remoteDirectorySDF>
                  <flatten>true</flatten>
                  <cleanRemote>false</cleanRemote>
                  <noDefaultExcludes>true</noDefaultExcludes>
                  <makeEmptyDirs>true</makeEmptyDirs>
                  <patternSeparator>[| ]+</patternSeparator>
                  <execCommand>command</execCommand>
                  <execTimeout>11111</execTimeout>
                  <usePty>true</usePty>
                </jenkins.plugins.publish__over__ssh.BapSshTransfer>
                <jenkins.plugins.publish__over__ssh.BapSshTransfer>
                  <remoteDirectory></remoteDirectory>
                  <sourceFiles>files2</sourceFiles>
                  <excludes></excludes>
                  <removePrefix></removePrefix>
                  <remoteDirectorySDF>false</remoteDirectorySDF>
                  <flatten>false</flatten>
                  <cleanRemote>false</cleanRemote>
                  <noDefaultExcludes>false</noDefaultExcludes>
                  <makeEmptyDirs>false</makeEmptyDirs>
                  <patternSeparator>[, ]+</patternSeparator>
                  <execCommand>command2</execCommand>
                  <execTimeout>120000</execTimeout>
                  <usePty>false</usePty>
                </jenkins.plugins.publish__over__ssh.BapSshTransfer>
              </transfers>
              <useWorkspaceInPromotion>false</useWorkspaceInPromotion>
              <usePromotionTimestamp>false</usePromotionTimestamp>
              <retry class="jenkins.plugins.publish_over_ssh.BapSshRetry">
                <retries>10</retries>
                <retryDelay>10000</retryDelay>
              </retry>
              <label class="jenkins.plugins.publish_over_ssh.BapSshPublisherLabel">
                <label>server-01</label>
              </label>
              <credentials class="jenkins.plugins.publish_over_ssh.BapSshCredentials">
                <secretPassphrase>Z5obSeg7txeq0ekz7T8S9Sa9o1ZCGap8/fKBtYzkOkg=</secretPassphrase>
                <key>key01</key>
                <keyPath>path01</keyPath>
                <username>user01</username>
              </credentials>
            </jenkins.plugins.publish__over__ssh.BapSshPublisher>
            <jenkins.plugins.publish__over__ssh.BapSshPublisher>
              <configName>my-server-02</configName>
              <verbose>true</verbose>
              <transfers>
                <jenkins.plugins.publish__over__ssh.BapSshTransfer>
                  <remoteDirectory></remoteDirectory>
                  <sourceFiles>files3</sourceFiles>
                  <excludes></excludes>
                  <removePrefix></removePrefix>
                  <remoteDirectorySDF>false</remoteDirectorySDF>
                  <flatten>false</flatten>
                  <cleanRemote>false</cleanRemote>
                  <noDefaultExcludes>false</noDefaultExcludes>
                  <makeEmptyDirs>false</makeEmptyDirs>
                  <patternSeparator>[, ]+</patternSeparator>
                  <execCommand>command3</execCommand>
                  <execTimeout>120000</execTimeout>
                  <usePty>false</usePty>
                </jenkins.plugins.publish__over__ssh.BapSshTransfer>
              </transfers>
              <useWorkspaceInPromotion>false</useWorkspaceInPromotion>
              <usePromotionTimestamp>false</usePromotionTimestamp>
              <retry class="jenkins.plugins.publish_over_ssh.BapSshRetry">
                <retries>20</retries>
                <retryDelay>20000</retryDelay>
              </retry>
              <label class="jenkins.plugins.publish_over_ssh.BapSshPublisherLabel">
                <label>server-02</label>
              </label>
              <credentials class="jenkins.plugins.publish_over_ssh.BapSshCredentials">
                <secretPassphrase>zhVrTkQChda84cQjT46Ezg==</secretPassphrase>
                <key></key>
                <keyPath></keyPath>
                <username>user2</username>
              </credentials>
            </jenkins.plugins.publish__over__ssh.BapSshPublisher>
          </publishers>
          <continueOnError>true</continueOnError>
          <failOnError>true</failOnError>
          <alwaysPublishFromMaster>true</alwaysPublishFromMaster>
          <hostConfigurationAccess class="jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin" reference="../.."/>
          <paramPublish class="jenkins.plugins.publish_over_ssh.BapSshParamPublish">
            <parameterName>PARAMETER</parameterName>
          </paramPublish>
        </delegate>
      </delegate>
    </jenkins.plugins.publish__over__ssh.BapSshBuilderPlugin>
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to