Skip to content

Commit

Permalink
Update src/main/java/org/jenkinsci/plugins/maven_artifact_choicelistp…
Browse files Browse the repository at this point in the history
…rovider/AbstractMavenArtifactChoiceListProvider.java

Co-authored-by: Yaroslav <91559310+yaroslavafenkin@users.noreply.github.com>
  • Loading branch information
phreakadelle and yaroslavafenkin committed Sep 14, 2023
1 parent c991920 commit e55b259
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public List<String> getChoiceList() {
@Extension
public static class DescriptorImpl extends Descriptor<ChoiceListProvider> {

public ListBoxModel doFillCredentialsIdItems(Item item, String credentialsId) {
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String credentialsId) {
final StandardListBoxModel result = new StandardListBoxModel();
if (item == null) {
if (!Jenkins.get().hasPermission(Jenkins.ADMINISTER)) {
Expand Down

0 comments on commit e55b259

Please sign in to comment.