Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add icon for new cloud layout #383

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<properties>
<changelist>9999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/azure-vm-agents-plugin</gitHubRepo>
<jenkins.version>2.361.4</jenkins.version>
<jenkins.version>2.394-rc33399.a_9b_e4d03d1fb_</jenkins.version>
<maven.javadoc.skip>true</maven.javadoc.skip>
<azure-credentials.version>198.vf9c2fdfde55c</azure-credentials.version>
</properties>
Expand Down
17 changes: 16 additions & 1 deletion src/main/java/com/microsoft/azure/vmagent/AzureVMCloud.java
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,22 @@ private Object readResolve() {
return this;
}

@Override
// @Override
public String getIcon() {
return "symbol-azure plugin-azure-vm-agents";
}

// @Override
public String getIconClassName() {
return getIcon();
}

// @Override
public String getIconAltText() {
return "Azure";
}

@Override
public boolean canProvision(CloudState cloudState) {
final AzureVMAgentTemplate template = AzureVMCloud.this.getAzureAgentTemplate(cloudState.getLabel());
// return false if there is no template for this label.
Expand Down
30 changes: 30 additions & 0 deletions src/main/resources/images/symbols/azure.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.