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??

          [JENKINS-47316] Detect scm configuration on the pipeline job

          hrmpw Can you help us regarding this. 

          Pavan Tej Medapuram added a comment - hrmpw Can you help us regarding this. 

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

              Created:
              Updated: