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;
}
Aggregations