Package hudson.scm

Class IntegrityCheckinTask

java.lang.Object
hudson.scm.IntegrityCheckinTask
All Implemented Interfaces:
hudson.FilePath.FileCallable<Boolean>, Serializable, org.jenkinsci.remoting.RoleSensitive

public class IntegrityCheckinTask extends Object implements hudson.FilePath.FileCallable<Boolean>
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    IntegrityCheckinTask(String ciConfigPath, String ciWorkspaceDir, String ciIncludes, String ciExcludes, hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener, IntegrityConfigurable integrityConfig)
    The check-in task provides updates back to an Integrity CM Project
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    checkRoles(org.jenkinsci.remoting.RoleChecker checker)
    Indicates that this task can be run slaves.
    invoke(File workspaceFile, hudson.remoting.VirtualChannel channel)
    This task wraps around the code necessary to checkout Integrity CM Members on remote machines

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IntegrityCheckinTask

      public IntegrityCheckinTask(String ciConfigPath, String ciWorkspaceDir, String ciIncludes, String ciExcludes, hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener, IntegrityConfigurable integrityConfig) throws Exception
      The check-in task provides updates back to an Integrity CM Project
      Parameters:
      ciConfigPath - Configuration path for the project to check-in artifacts after the build
      ciWorkspaceDir - Workspace directory containing the check-in artifacts created as a result of the build
      ciIncludes - Ant-style includes filter for check-in files
      ciExcludes - Ant-style excludes filter for check-in files
      build - Hudson abstract build object
      listener - The Hudson build listener
      Throws:
      Exception
  • Method Details

    • checkRoles

      public void checkRoles(org.jenkinsci.remoting.RoleChecker checker) throws SecurityException
      Indicates that this task can be run slaves.
      Specified by:
      checkRoles in interface org.jenkinsci.remoting.RoleSensitive
      Parameters:
      checker - RoleChecker
      Throws:
      SecurityException
    • invoke

      public Boolean invoke(File workspaceFile, hudson.remoting.VirtualChannel channel) throws IOException
      This task wraps around the code necessary to checkout Integrity CM Members on remote machines
      Specified by:
      invoke in interface hudson.FilePath.FileCallable<Boolean>
      Parameters:
      workspaceFile - Build environment's workspace directory
      channel - Virtual Channel
      Throws:
      IOException