Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28744

Support for confguring publish over CIFS Plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Add support for configuring the Publish over CIFS plugin to the DSL.

      https://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+CIFS+Plugin

        Attachments

          Activity

          Hide
          daspilker Daniel Spilker added a comment -

          The upcoming generic DSL (https://github.com/jenkinsci/job-dsl-plugin/pull/816) will enable support for the CIFS Publisher plugin:

          job('example') {
            publishers {
              cifsPublisherPlugin {
                continueOnError(false)
                failOnError(true)
                alwaysPublishFromMaster(false)
                masterNodeName('')
                paramPublish {
                  parameterName('FOO')
                }
                publishers {
                  cifsPublisher {
                    configName('')
                    verbose(false)
                    useWorkspaceInPromotion(false)
                    usePromotionTimestamp(false)
                    retry {
                      retries(5)
                      retryDelay(10)
                    }
                    label {
                      label('')
                    }
                    transfers {
                      cifsTransfer {
                        sourceFiles('')
                        excludes('')
                        remoteDirectory('')
                        removePrefix('')
                        remoteDirectorySDF(false)
                        flatten(false)
                        cleanRemote(true)
                        noDefaultExcludes(false)
                        makeEmptyDirs(true)
                        patternSeparator('')
                      }
                    }
                  }
                }
              }
            }
          }
          
          Show
          daspilker Daniel Spilker added a comment - The upcoming generic DSL ( https://github.com/jenkinsci/job-dsl-plugin/pull/816 ) will enable support for the CIFS Publisher plugin: job( 'example' ) { publishers { cifsPublisherPlugin { continueOnError( false ) failOnError( true ) alwaysPublishFromMaster( false ) masterNodeName('') paramPublish { parameterName( 'FOO' ) } publishers { cifsPublisher { configName('') verbose( false ) useWorkspaceInPromotion( false ) usePromotionTimestamp( false ) retry { retries(5) retryDelay(10) } label { label('') } transfers { cifsTransfer { sourceFiles('') excludes('') remoteDirectory('') removePrefix('') remoteDirectorySDF( false ) flatten( false ) cleanRemote( true ) noDefaultExcludes( false ) makeEmptyDirs( true ) patternSeparator('') } } } } } } }
          Hide
          daspilker Daniel Spilker added a comment -

          Added a label for publish-over-cifs-plugin because the DSL can also be added to that plugin through the Job DSL extension point.

          Show
          daspilker Daniel Spilker added a comment - Added a label for publish-over-cifs-plugin because the DSL can also be added to that plugin through the Job DSL extension point .

            People

            Assignee:
            marksyms Mark Syms
            Reporter:
            marksyms Mark Syms
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: