Package hudson.scm
Class IntegrityCheckinTask
java.lang.Object
hudson.scm.IntegrityCheckinTask
- All Implemented Interfaces:
hudson.FilePath.FileCallable<Boolean>,Serializable,org.jenkinsci.remoting.RoleSensitive
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIntegrityCheckinTask(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 TypeMethodDescriptionvoidcheckRoles(org.jenkinsci.remoting.RoleChecker checker) Indicates that this task can be run slaves.This task wraps around the code necessary to checkout Integrity CM Members on remote machines
-
Constructor Details
-
IntegrityCheckinTask
public IntegrityCheckinTask(String ciConfigPath, String ciWorkspaceDir, String ciIncludes, String ciExcludes, hudson.model.AbstractBuild<?, ?> build, hudson.model.BuildListener listener, IntegrityConfigurable integrityConfig) throws ExceptionThe check-in task provides updates back to an Integrity CM Project- Parameters:
ciConfigPath- Configuration path for the project to check-in artifacts after the buildciWorkspaceDir- Workspace directory containing the check-in artifacts created as a result of the buildciIncludes- Ant-style includes filter for check-in filesciExcludes- Ant-style excludes filter for check-in filesbuild- Hudson abstract build objectlistener- The Hudson build listener- Throws:
Exception
-
-
Method Details
-
checkRoles
Indicates that this task can be run slaves.- Specified by:
checkRolesin interfaceorg.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:
invokein interfacehudson.FilePath.FileCallable<Boolean>- Parameters:
workspaceFile- Build environment's workspace directorychannel- Virtual Channel- Throws:
IOException
-