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 

          [JENKINS-46393] Add support for File System SCM plugin

          andy tan created issue -
          andy tan made changes -
          Description Original: Plugin: [https://wiki.jenkins.io/display/JENKINS/File+System+SCM|https://wiki.jenkins.io/display/JENKINS/File+System+SCM]

          The Job DSL Plugin support supports pipelinejob but it will be interesting to load Jenkinsfile from file system instead of commit

          https://github.com/jenkinsci/filesystem_scm-plugin/pull/2 
          New: Plugin: [https://wiki.jenkins.io/display/JENKINS/File+System+SCM]

          The Job DSL Plugin support 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

          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)
              }
            }
          } 
          

          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) } } }
          andy tan made changes -
          Description Original: Plugin: [https://wiki.jenkins.io/display/JENKINS/File+System+SCM]

          The Job DSL Plugin support 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
          New: 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

          File System SCM plugin 2.0 has been released.

          Daniel Spilker added a comment - File System SCM plugin 2.0 has been released.
          Daniel Spilker made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Daniel Spilker made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: