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

Detect scm configuration on the pipeline job

    XMLWordPrintable

Details

    Description

      Currently 'checkout scm' step fails for jobs that are not 'MultiPipeline' job or 'Pipeline' is not configured to checkout of SCM. 

      We have a shared-library across the company that is used by users creating various types of jobs. In order to checkout scm only for jobs that has SCM configured, is there any way I could verify this configuration and only then checkout scm??

      Attachments

        Activity

          People

            Unassigned Unassigned
            teju009 Pavan Tej Medapuram
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: