Update the Integrity-plugin to match the "Generic SCM step" interface requirements.

      This would include

      • various methods in SCM which formerly took an AbstractBuild now take a more generic Run (i.e., potentially a workflow build) plus a FilePath (i.e., a workspace).
      • use the specified workspace rather than the former build.getWorkspace()
      • some methods formerly taking AbstractProject now take the more generic Job.
      • use @Override wherever possible to make sure you are using the right overloads.
      • Replace AbstractBuild.getProject with Run.getParent.
      • BuildListener has to be replaced with TaskListener in new method overloads.
      • Note that changelogFile may now be null in checkout. If so, just skip changelog generation.
      • checkout now takes an SCMRevisionState so you can know what to compare against without referring back to the build.
      • replace getBuiltOn with FilePath.getComputer.
      • SCMDescriptor.isApplicable should be switched to the Job overload.
        ....

      see details here:
      https://github.com/jenkinsci/workflow-plugin/blob/master/scm-step/README.md

      This would generally include the use case of a "random checkout", which means that there is a single run that only want's to fetch a project content, defined only for this very job (e.g. a config path to a build project); no changelog or history required.

          [JENKINS-27140] Workflow support for Integrity SCM Plugin

          Matthias Rump created issue -
          Jesse Glick made changes -
          Component/s Original: workflow-plugin [ 18820 ]
          Labels Original: integrity-plugin plugin scm workflow New: scm workflow
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-29889 [ JENKINS-29889 ]
          Cletus D'Souza made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Cletus D'Souza made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Leon Leon made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Leon Leon made changes -
          Comment [ We are using the special PTC plugin 1.31-4.10.9049 because we have an old MKS version.
          Which change should be made to this special PTC plugin version to make it compatible with workflow ?
          Any help will be very appreciated. ]
          Cletus D'Souza made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 161336 ] New: JNJira + In-Review [ 196721 ]
          Andrew Bayer made changes -
          Labels Original: scm workflow New: pipeline scm workflow
          Andrew Bayer made changes -
          Labels Original: pipeline scm workflow New: pipeline scm

            cdsouza Cletus D'Souza
            maschuru Matthias Rump
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: