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

          Code changed in jenkins
          User: Jesse Glick
          Path:
          COMPATIBILITY.md
          http://jenkins-ci.org/commit/workflow-plugin/5aba976063fcf0a7d5858d5f69fd728f9c05f83f
          Log:
          JENKINS-27140 Noting.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: COMPATIBILITY.md http://jenkins-ci.org/commit/workflow-plugin/5aba976063fcf0a7d5858d5f69fd728f9c05f83f Log: JENKINS-27140 Noting.

          Code changed in jenkins
          User: Cletus D'Souza
          Path:
          pom.xml
          src/main/java/hudson/scm/IntegrityChangeLogParser.java
          src/main/java/hudson/scm/IntegrityChangeLogSet.java
          src/main/java/hudson/scm/IntegrityCheckinTask.java
          src/main/java/hudson/scm/IntegrityCheckoutTask.java
          src/main/java/hudson/scm/IntegrityDeleteNonMembersTask.java
          src/main/java/hudson/scm/IntegritySCM.java
          src/main/java/hudson/scm/IntegritySCMStep.java
          src/main/resources/hudson/scm/IntegritySCM/buildEnv.groovy
          src/main/resources/hudson/scm/IntegritySCM/buildEnv.properties
          src/main/resources/hudson/scm/IntegritySCM/config.jelly
          src/main/resources/hudson/scm/IntegritySCM/help-alternateWorkspace.html
          src/main/resources/hudson/scm/IntegritySCM/help-checkoutThreadPoolSize.html
          src/main/resources/hudson/scm/IntegritySCM/help-checkpointBeforeBuild.html
          src/main/resources/hudson/scm/IntegritySCM/help-checkpointLabel.html
          src/main/resources/hudson/scm/IntegritySCM/help-cleanCopy.html
          src/main/resources/hudson/scm/IntegritySCM/help-configPath.html
          src/main/resources/hudson/scm/IntegritySCM/help-configurationName.html
          src/main/resources/hudson/scm/IntegritySCM/help-deleteNonMembers.html
          src/main/resources/hudson/scm/IntegritySCM/help-excludeList.html
          src/main/resources/hudson/scm/IntegritySCM/help-fetchChangedWorkspaceFiles.html
          src/main/resources/hudson/scm/IntegritySCM/help-hostName.html
          src/main/resources/hudson/scm/IntegritySCM/help-includeList.html
          src/main/resources/hudson/scm/IntegritySCM/help-ipHostName.html
          src/main/resources/hudson/scm/IntegritySCM/help-ipPort.html
          src/main/resources/hudson/scm/IntegritySCM/help-lineTerminator.html
          src/main/resources/hudson/scm/IntegritySCM/help-password.html
          src/main/resources/hudson/scm/IntegritySCM/help-port.html
          src/main/resources/hudson/scm/IntegritySCM/help-restoreTimestamp.html
          src/main/resources/hudson/scm/IntegritySCM/help-secure.html
          src/main/resources/hudson/scm/IntegritySCM/help-skipAuthorInfo.html
          src/main/resources/hudson/scm/IntegritySCM/help-userName.html
          src/main/resources/hudson/scm/IntegritySCMStep/config.jelly
          src/main/webapp/help-ServerConfig.html
          src/main/webapp/help-alternateWorkspace.html
          src/main/webapp/help-checkoutThreadPoolSize.html
          src/main/webapp/help-checkpointBeforeBuild.html
          src/main/webapp/help-checkpointLabel.html
          src/main/webapp/help-cleanCopy.html
          src/main/webapp/help-configPath.html
          src/main/webapp/help-configurationName.html
          src/main/webapp/help-deleteNonMembers.html
          src/main/webapp/help-excludeList.html
          src/main/webapp/help-fetchChangedWorkspaceFiles.html
          src/main/webapp/help-hostName.html
          src/main/webapp/help-includeList.html
          src/main/webapp/help-ipHostName.html
          src/main/webapp/help-ipPort.html
          src/main/webapp/help-lineTerminator.html
          src/main/webapp/help-password.html
          src/main/webapp/help-port.html
          src/main/webapp/help-restoreTimestamp.html
          src/main/webapp/help-secure.html
          src/main/webapp/help-serverConfig.html
          src/main/webapp/help-skipAuthorInfo.html
          src/main/webapp/help-userName.html
          http://jenkins-ci.org/commit/integrity-plugin/73725263932a1c977bf15c29c5c4060e79fdcfe4
          Log:
          Initial work for JENKINS-27140 to support workflow

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Cletus D'Souza Path: pom.xml src/main/java/hudson/scm/IntegrityChangeLogParser.java src/main/java/hudson/scm/IntegrityChangeLogSet.java src/main/java/hudson/scm/IntegrityCheckinTask.java src/main/java/hudson/scm/IntegrityCheckoutTask.java src/main/java/hudson/scm/IntegrityDeleteNonMembersTask.java src/main/java/hudson/scm/IntegritySCM.java src/main/java/hudson/scm/IntegritySCMStep.java src/main/resources/hudson/scm/IntegritySCM/buildEnv.groovy src/main/resources/hudson/scm/IntegritySCM/buildEnv.properties src/main/resources/hudson/scm/IntegritySCM/config.jelly src/main/resources/hudson/scm/IntegritySCM/help-alternateWorkspace.html src/main/resources/hudson/scm/IntegritySCM/help-checkoutThreadPoolSize.html src/main/resources/hudson/scm/IntegritySCM/help-checkpointBeforeBuild.html src/main/resources/hudson/scm/IntegritySCM/help-checkpointLabel.html src/main/resources/hudson/scm/IntegritySCM/help-cleanCopy.html src/main/resources/hudson/scm/IntegritySCM/help-configPath.html src/main/resources/hudson/scm/IntegritySCM/help-configurationName.html src/main/resources/hudson/scm/IntegritySCM/help-deleteNonMembers.html src/main/resources/hudson/scm/IntegritySCM/help-excludeList.html src/main/resources/hudson/scm/IntegritySCM/help-fetchChangedWorkspaceFiles.html src/main/resources/hudson/scm/IntegritySCM/help-hostName.html src/main/resources/hudson/scm/IntegritySCM/help-includeList.html src/main/resources/hudson/scm/IntegritySCM/help-ipHostName.html src/main/resources/hudson/scm/IntegritySCM/help-ipPort.html src/main/resources/hudson/scm/IntegritySCM/help-lineTerminator.html src/main/resources/hudson/scm/IntegritySCM/help-password.html src/main/resources/hudson/scm/IntegritySCM/help-port.html src/main/resources/hudson/scm/IntegritySCM/help-restoreTimestamp.html src/main/resources/hudson/scm/IntegritySCM/help-secure.html src/main/resources/hudson/scm/IntegritySCM/help-skipAuthorInfo.html src/main/resources/hudson/scm/IntegritySCM/help-userName.html src/main/resources/hudson/scm/IntegritySCMStep/config.jelly src/main/webapp/help-ServerConfig.html src/main/webapp/help-alternateWorkspace.html src/main/webapp/help-checkoutThreadPoolSize.html src/main/webapp/help-checkpointBeforeBuild.html src/main/webapp/help-checkpointLabel.html src/main/webapp/help-cleanCopy.html src/main/webapp/help-configPath.html src/main/webapp/help-configurationName.html src/main/webapp/help-deleteNonMembers.html src/main/webapp/help-excludeList.html src/main/webapp/help-fetchChangedWorkspaceFiles.html src/main/webapp/help-hostName.html src/main/webapp/help-includeList.html src/main/webapp/help-ipHostName.html src/main/webapp/help-ipPort.html src/main/webapp/help-lineTerminator.html src/main/webapp/help-password.html src/main/webapp/help-port.html src/main/webapp/help-restoreTimestamp.html src/main/webapp/help-secure.html src/main/webapp/help-serverConfig.html src/main/webapp/help-skipAuthorInfo.html src/main/webapp/help-userName.html http://jenkins-ci.org/commit/integrity-plugin/73725263932a1c977bf15c29c5c4060e79fdcfe4 Log: Initial work for JENKINS-27140 to support workflow

          Code changed in jenkins
          User: Cletus D'Souza
          Path:
          src/main/java/hudson/scm/IntegritySCM.java
          src/main/java/hudson/scm/IntegritySCMLabelNotifierStep.java
          src/main/java/hudson/scm/IntegritySCMLabelStep.java
          src/main/java/hudson/scm/IntegritySCMStep.java
          src/main/resources/hudson/scm/IntegritySCMLabelStep/config.jelly
          src/main/resources/hudson/scm/IntegritySCMStep/config.jelly
          http://jenkins-ci.org/commit/integrity-plugin/cb0561f4265def5bcac0a8a02585d2103e636d74
          Log:
          Added support for SCM Tagging in continuation of JENKINS-27140
          workflow steps

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Cletus D'Souza Path: src/main/java/hudson/scm/IntegritySCM.java src/main/java/hudson/scm/IntegritySCMLabelNotifierStep.java src/main/java/hudson/scm/IntegritySCMLabelStep.java src/main/java/hudson/scm/IntegritySCMStep.java src/main/resources/hudson/scm/IntegritySCMLabelStep/config.jelly src/main/resources/hudson/scm/IntegritySCMStep/config.jelly http://jenkins-ci.org/commit/integrity-plugin/cb0561f4265def5bcac0a8a02585d2103e636d74 Log: Added support for SCM Tagging in continuation of JENKINS-27140 workflow steps

          Code changed in jenkins
          User: Cletus D'Souza
          Path:
          src/main/java/hudson/scm/IntegrityCMMember.java
          src/main/java/hudson/scm/IntegrityCheckinTask.java
          src/main/java/hudson/scm/IntegrityItemListenerImpl.java
          src/main/java/hudson/scm/IntegrityRunListenerImpl.java
          src/main/java/hudson/scm/IntegritySCM.java
          src/main/java/hudson/scm/IntegritySCMCheckinNotifierStep.java
          src/main/java/hudson/scm/IntegritySCMCheckinStep.java
          src/main/java/hudson/scm/IntegritySCMLabelStep.java
          src/main/java/hudson/scm/ItemListenerImpl.java
          src/main/java/hudson/scm/RunListenerImpl.java
          src/main/resources/hudson/scm/IntegritySCMCheckinStep/config.jelly
          src/main/resources/hudson/scm/IntegritySCMCheckinStep/help-excludes.html
          src/main/resources/hudson/scm/IntegritySCMCheckinStep/help-includes.html
          src/main/resources/hudson/scm/IntegritySCMCheckinStep/help-itemID.html
          http://jenkins-ci.org/commit/integrity-plugin/a0e22953e654313edd024a05646a146f9e243c83
          Log:
          Final updates for JENKINS-27140 to support workflow

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Cletus D'Souza Path: src/main/java/hudson/scm/IntegrityCMMember.java src/main/java/hudson/scm/IntegrityCheckinTask.java src/main/java/hudson/scm/IntegrityItemListenerImpl.java src/main/java/hudson/scm/IntegrityRunListenerImpl.java src/main/java/hudson/scm/IntegritySCM.java src/main/java/hudson/scm/IntegritySCMCheckinNotifierStep.java src/main/java/hudson/scm/IntegritySCMCheckinStep.java src/main/java/hudson/scm/IntegritySCMLabelStep.java src/main/java/hudson/scm/ItemListenerImpl.java src/main/java/hudson/scm/RunListenerImpl.java src/main/resources/hudson/scm/IntegritySCMCheckinStep/config.jelly src/main/resources/hudson/scm/IntegritySCMCheckinStep/help-excludes.html src/main/resources/hudson/scm/IntegritySCMCheckinStep/help-includes.html src/main/resources/hudson/scm/IntegritySCMCheckinStep/help-itemID.html http://jenkins-ci.org/commit/integrity-plugin/a0e22953e654313edd024a05646a146f9e243c83 Log: Final updates for JENKINS-27140 to support workflow

          Code changed in jenkins
          User: Cletus D'Souza
          Path:
          src/main/java/hudson/scm/IntegritySCMChkptNotifierStep.java
          src/main/java/hudson/scm/IntegritySCMChkptStep.java
          src/main/resources/hudson/scm/IntegritySCMChkptStep/config.jelly
          src/main/resources/hudson/scm/IntegritySCMChkptStep/help-checkpointLabel.html
          src/main/resources/hudson/scm/IntegritySCMLabelStep/config.jelly
          src/main/resources/hudson/scm/IntegritySCMLabelStep/help-checkpointLabel.html
          src/main/webapp/help-checkpointDesc.html
          http://jenkins-ci.org/commit/integrity-plugin/3c281361acf2b7618fc449c07d41caf9050cfe75
          Log:
          Adding Integrity SCM Checkpoint step in support of workflow
          JENKINS-27140

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Cletus D'Souza Path: src/main/java/hudson/scm/IntegritySCMChkptNotifierStep.java src/main/java/hudson/scm/IntegritySCMChkptStep.java src/main/resources/hudson/scm/IntegritySCMChkptStep/config.jelly src/main/resources/hudson/scm/IntegritySCMChkptStep/help-checkpointLabel.html src/main/resources/hudson/scm/IntegritySCMLabelStep/config.jelly src/main/resources/hudson/scm/IntegritySCMLabelStep/help-checkpointLabel.html src/main/webapp/help-checkpointDesc.html http://jenkins-ci.org/commit/integrity-plugin/3c281361acf2b7618fc449c07d41caf9050cfe75 Log: Adding Integrity SCM Checkpoint step in support of workflow JENKINS-27140

          Released with version 1.36

          Cletus D'Souza added a comment - Released with version 1.36

          Code changed in jenkins
          User: Jesse Glick
          Path:
          COMPATIBILITY.md
          http://jenkins-ci.org/commit/workflow-plugin/00c8c62d52763d481fb5bca601817a4503b31db6
          Log:
          JENKINS-27140 Noting release.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: COMPATIBILITY.md http://jenkins-ci.org/commit/workflow-plugin/00c8c62d52763d481fb5bca601817a4503b31db6 Log: JENKINS-27140 Noting release.

          Workflow support was added for the latest version at the time. No older versions will be back-ported and issues with the latest version should be tracked separately.

          Cletus D'Souza added a comment - Workflow support was added for the latest version at the time. No older versions will be back-ported and issues with the latest version should be tracked separately.

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

              Created:
              Updated:
              Resolved: