public class IntegrityCheckinTask extends Object implements hudson.FilePath.FileCallable<Boolean>
Constructor and 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
|
Modifier and Type | Method and Description |
---|---|
void |
checkRoles(org.jenkinsci.remoting.RoleChecker checker)
Indicates that this task can be run slaves.
|
Boolean |
invoke(File workspaceFile,
hudson.remoting.VirtualChannel channel)
This task wraps around the code necessary to checkout Integrity CM Members on remote machines
|
public IntegrityCheckinTask(String ciConfigPath, String ciWorkspaceDir, String ciIncludes, String ciExcludes, hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener, IntegrityConfigurable integrityConfig) throws Exception
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 listenerException
public void checkRoles(org.jenkinsci.remoting.RoleChecker checker) throws SecurityException
checkRoles
in interface org.jenkinsci.remoting.RoleSensitive
checker
- RoleCheckerSecurityException
public Boolean invoke(File workspaceFile, hudson.remoting.VirtualChannel channel) throws IOException
invoke
in interface hudson.FilePath.FileCallable<Boolean>
workspaceFile
- Build environment's workspace directorychannel
- Virtual ChannelIOException
Copyright © 2016–2024. All rights reserved.