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

Add support for File System SCM plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Plugin: https://wiki.jenkins.io/display/JENKINS/File+System+SCM

      The Job DSL Plugin supports pipelinejob but it will be interesting to load Jenkinsfile from file system instead of commit and currently it supports only Pipeline from git SCM

      https://github.com/jenkinsci/filesystem_scm-plugin/pull/2 

        Attachments

          Activity

          Hide
          daspilker Daniel Spilker added a comment -

          File System SCM plugin 2.0 has been released.

          Show
          daspilker Daniel Spilker added a comment - File System SCM plugin 2.0 has been released.
          Hide
          daspilker Daniel Spilker added a comment -

          After https://github.com/jenkinsci/job-dsl-plugin/pull/1051 and https://github.com/jenkinsci/filesystem_scm-plugin/pull/2 got merged, the file system SCM is supported through the Automtaically Generated DSL:

          pipelineJob(String name) {
            definition {
              cpsScmFlowDefinition {
                scm {
                  filesystem {
                    path(String value)
                    clearWorkspace(boolean value)
                    copyHidden(boolean value)
                  }
                }
                scriptPath(String value)
                lightweight(boolean value)
              }
            }
          } 
          
          Show
          daspilker Daniel Spilker added a comment - After https://github.com/jenkinsci/job-dsl-plugin/pull/1051 and https://github.com/jenkinsci/filesystem_scm-plugin/pull/2 got merged, the file system SCM is supported through the Automtaically Generated DSL : pipelineJob( String name) { definition { cpsScmFlowDefinition { scm { filesystem { path( String value) clearWorkspace( boolean value) copyHidden( boolean value) } } scriptPath( String value) lightweight( boolean value) } } }

            People

            Assignee:
            daspilker Daniel Spilker
            Reporter:
            juhnz andy tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: