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

Add support for File System SCM plugin

    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

          juhnz andy tan created issue -
          juhnz andy tan made changes -
          Field Original Value New Value
          Description 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 
          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
          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) } } }
          juhnz andy tan made changes -
          Description 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
          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
          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.
          daspilker Daniel Spilker made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          daspilker Daniel Spilker made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            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: