Search in sources :

Example 1 with TravisMaster

use of com.netflix.spinnaker.halyard.config.model.v1.ci.travis.TravisMaster in project halyard by spinnaker.

the class TravisAddMasterCommand method buildMaster.

@Override
protected Master buildMaster(String masterName) {
    TravisMaster master = (TravisMaster) new TravisMaster().setName(masterName);
    master.setAddress(address).setBaseUrl(baseUrl).setGithubToken(githubToken).setNumberOfRepositories(numberOfRepositories);
    return master;
}
Also used : TravisMaster(com.netflix.spinnaker.halyard.config.model.v1.ci.travis.TravisMaster)

Aggregations

TravisMaster (com.netflix.spinnaker.halyard.config.model.v1.ci.travis.TravisMaster)1