Class MsBuildInstallationHelper
- java.lang.Object
-
- org.jenkinsci.plugins.genexus.helpers.MsBuildInstallationHelper
-
public class MsBuildInstallationHelper extends Object
- Author:
- jlr
-
-
Constructor Summary
Constructors Constructor Description MsBuildInstallationHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
onLoaded()
static hudson.plugins.msbuild.MsBuildInstallation
resolveInstallation(String installationId, Node builtOn, EnvVars env, TaskListener listener)
Resolves MSBuild installation by name.
-
-
-
Method Detail
-
resolveInstallation
@CheckForNull public static hudson.plugins.msbuild.MsBuildInstallation resolveInstallation(@CheckForNull String installationId, @CheckForNull Node builtOn, @CheckForNull EnvVars env, @NonNull TaskListener listener)
Resolves MSBuild installation by name.- Parameters:
installationId
- installation Id. Ifnull
, default installation will be used (if exists)builtOn
- Node for which the installation should be resolved Can beJenkins.getInstance()
when running on controllerenv
- Additional environment variableslistener
- Event listener- Returns:
- MSBuild installation or
null
if it cannot be resolved
-
onLoaded
@Initializer(after=EXTENSIONS_AUGMENTED) public static void onLoaded()
-
-