com.saucelabs.bamboo.sod.AbstractSauceBuildPlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bamboo-sauceondemand-plugin Show documentation
Show all versions of bamboo-sauceondemand-plugin Show documentation
This is the Sauce OnDemand plugin for Bamboo
The newest version!
package com.saucelabs.bamboo.sod;
import com.atlassian.bamboo.build.BuildDefinition;
import com.atlassian.bamboo.plan.Plan;
import com.atlassian.bamboo.v2.build.BaseConfigurableBuildPlugin;
import com.saucelabs.bamboo.sod.config.SODMappedBuildConfiguration;
import com.saucelabs.bamboo.sod.variables.Bamboo3Modifier;
import com.saucelabs.bamboo.sod.variables.DefaultVariableModifier;
import com.saucelabs.bamboo.sod.variables.VariableModifier;
/**
* Contains common logic for Sauce OnDemand plugin classes.
*
* @author Ross Rowe
*/
public abstract class AbstractSauceBuildPlugin extends BaseConfigurableBuildPlugin {
/**
* Return a new {@link VariableModifier} instance that will be used to construct the environment
* variables.
*
* @param config Mapped config for project
* @param definition Project definition
* @return instance that will be used to construct the environment variables
*/
protected VariableModifier getVariableModifier(SODMappedBuildConfiguration config, BuildDefinition definition) {
return new Bamboo3Modifier(config, definition, buildContext);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy