Search in sources :

Example 16 with EnvironmentVariablesConfig

use of com.thoughtworks.go.config.EnvironmentVariablesConfig in project gocd by gocd.

the class EnvironmentVariablesConfigMother method environmentVariables.

public static EnvironmentVariablesConfig environmentVariables() {
    EnvironmentVariablesConfig variables = new EnvironmentVariablesConfig();
    GoCipher goCipher = new GoCipher();
    variables.add(new EnvironmentVariableConfig(goCipher, "MULTIPLE_LINES", "multiplelines", true));
    variables.add(new EnvironmentVariableConfig(goCipher, "COMPLEX", "This has very <complex> data", false));
    return variables;
}
Also used : EnvironmentVariableConfig(com.thoughtworks.go.config.EnvironmentVariableConfig) GoCipher(com.thoughtworks.go.security.GoCipher) EnvironmentVariablesConfig(com.thoughtworks.go.config.EnvironmentVariablesConfig)

Aggregations

EnvironmentVariablesConfig (com.thoughtworks.go.config.EnvironmentVariablesConfig)16 EnvironmentVariableConfig (com.thoughtworks.go.config.EnvironmentVariableConfig)11 Test (org.junit.Test)11 GoCipher (com.thoughtworks.go.security.GoCipher)5 AgentConfig (com.thoughtworks.go.config.AgentConfig)3 Agents (com.thoughtworks.go.config.Agents)3 StageConfig (com.thoughtworks.go.config.StageConfig)3 DefaultJobPlan (com.thoughtworks.go.domain.DefaultJobPlan)2 JobInstances (com.thoughtworks.go.domain.JobInstances)2 Pipeline (com.thoughtworks.go.domain.Pipeline)2 Stage (com.thoughtworks.go.domain.Stage)2 ArtifactPlans (com.thoughtworks.go.config.ArtifactPlans)1 ElasticProfile (com.thoughtworks.go.config.elastic.ElasticProfile)1 JobIdentifier (com.thoughtworks.go.domain.JobIdentifier)1 WaitingJobPlan (com.thoughtworks.go.domain.WaitingJobPlan)1 XmlWriterContext (com.thoughtworks.go.domain.XmlWriterContext)1 BuildCause (com.thoughtworks.go.domain.buildcause.BuildCause)1 HttpOperationResult (com.thoughtworks.go.server.service.result.HttpOperationResult)1 List (java.util.List)1 Document (org.dom4j.Document)1