Class GeneXusServerSCM
- java.lang.Object
-
- hudson.scm.SCM
-
- org.jenkinsci.plugins.genexus.server.GeneXusServerSCM
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<SCM>
,Serializable
public class GeneXusServerSCM extends SCM implements Serializable
- Author:
- jlr, mmarsicano, Acaceres1996
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeneXusServerSCM.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.scm.SCM
PERMISSIONS, TAG
-
-
Constructor Summary
Constructors Constructor Description GeneXusServerSCM(String gxInstallationId, String gxCustomPath, String msbuildCustomPath, String serverURL, String credentialsId, String kbName, String kbVersion, String localKbPath, String localKbVersion, String kbDbServerInstance, String kbDbCredentialsId, String kbDbName, boolean kbDbInSameFolder)
-
Method Summary
-
Methods inherited from class hudson.scm.SCM
_calcRevisionsFromBuild, _for, _for, all, buildEnvironment, buildEnvVars, calcRevisionsFromBuild, checkout, compareRemoteRevisionWith, createEmptyChangeLog, createEmptyChangeLog, getApi, getBrowser, getEffectiveBrowser, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, guessBrowser, nullify, poll, pollChanges, postCheckout, postCheckout, processWorkspaceBeforeDeletion, processWorkspaceBeforeDeletion, supportsPolling
-
-
-
-
Constructor Detail
-
GeneXusServerSCM
@DataBoundConstructor public GeneXusServerSCM(String gxInstallationId, String gxCustomPath, String msbuildCustomPath, String serverURL, String credentialsId, String kbName, String kbVersion, String localKbPath, String localKbVersion, String kbDbServerInstance, String kbDbCredentialsId, String kbDbName, boolean kbDbInSameFolder)
-
-
Method Detail
-
getGxInstallationId
@Exported public String getGxInstallationId()
-
getGxCustomPath
@Exported public String getGxCustomPath()
-
getMsbuildCustomPath
@Exported public String getMsbuildCustomPath()
-
getServerURL
@Exported public String getServerURL()
-
getCredentialsId
@Exported public String getCredentialsId()
-
getKbName
@Exported public String getKbName()
-
getKbVersion
@Exported public String getKbVersion()
-
getLocalKbPath
@Exported public String getLocalKbPath()
-
getLocalKbVersion
@Exported public String getLocalKbVersion()
-
getKbDbServerInstance
@Exported public String getKbDbServerInstance()
-
getKbDbCredentialsId
@Exported public String getKbDbCredentialsId()
-
getKbDbName
@Exported public String getKbDbName()
-
isKbDbInSameFolder
@Exported public boolean isKbDbInSameFolder()
-
createChangeLogParser
public ChangeLogParser createChangeLogParser()
- Specified by:
createChangeLogParser
in classSCM
-
getDescriptor
public GeneXusServerSCM.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<SCM>
- Overrides:
getDescriptor
in classSCM
-
compareRemoteRevisionWith
public PollingResult compareRemoteRevisionWith(@Nonnull Job<?,?> project, @Nullable Launcher launcher, @Nullable FilePath workspace, @Nonnull TaskListener listener, @Nonnull SCMRevisionState _baseline) throws IOException, InterruptedException
- Overrides:
compareRemoteRevisionWith
in classSCM
- Throws:
IOException
InterruptedException
-
requiresWorkspaceForPolling
public boolean requiresWorkspaceForPolling()
Polling can happen on the master and does not require a workspace.- Overrides:
requiresWorkspaceForPolling
in classSCM
-
checkout
public void checkout(Run<?,?> build, Launcher launcher, FilePath workspace, TaskListener listener, File changelogFile, SCMRevisionState baseline) throws IOException, InterruptedException
- Overrides:
checkout
in classSCM
- Throws:
IOException
InterruptedException
-
getRevisionFile
public static File getRevisionFile(Run<?,?> build)
Gets the file that stores the revision.- Parameters:
build
- a build instance for which the revision file is requested- Returns:
- File that stores the revision
-
calcRevisionsFromBuild
@Nonnull public SCMRevisionState calcRevisionsFromBuild(@Nonnull Run<?,?> build, @Nullable FilePath workspace, @Nullable Launcher launcher, @Nonnull TaskListener listener) throws IOException, InterruptedException
- Overrides:
calcRevisionsFromBuild
in classSCM
- Throws:
IOException
InterruptedException
-
-