Search in sources :

Example 1 with GitHubArtifactAccount

use of com.netflix.spinnaker.halyard.config.model.v1.artifacts.github.GitHubArtifactAccount in project halyard by spinnaker.

the class GitHubAddArtifactAccountCommand method buildArtifactAccount.

@Override
protected ArtifactAccount buildArtifactAccount(String accountName) {
    GitHubArtifactAccount artifactAccount = new GitHubArtifactAccount().setName(accountName);
    artifactAccount.setUsername(username).setPassword(password).setUsernamePasswordFile(usernamePasswordFile).setToken(token).setTokenFile(tokenFile);
    return artifactAccount;
}
Also used : GitHubArtifactAccount(com.netflix.spinnaker.halyard.config.model.v1.artifacts.github.GitHubArtifactAccount)

Aggregations

GitHubArtifactAccount (com.netflix.spinnaker.halyard.config.model.v1.artifacts.github.GitHubArtifactAccount)1