Skip to content

Commit

Permalink
Make internal-only steps advanced.
Browse files Browse the repository at this point in the history
This is so they don't show up in the Snippet Generator or the eventual
Pipeline Editor step choice UI, since they only exist for internal purposes.
  • Loading branch information
abayer committed Dec 1, 2016
1 parent e27901b commit 24d7383
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ public DescriptorImpl() {
super(StepExecutionImpl.class);
}

@Override
public boolean isAdvanced() {
return true;
}

@Override
public String getFunctionName() {
return "dockerLabel";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ public DescriptorImpl() {
super(EnvVarsForToolStepExecution.class);
}

@Override
public boolean isAdvanced() {
return true;
}

@Override public String getFunctionName() {
return "envVarsForTool";
}
Expand Down

0 comments on commit 24d7383

Please sign in to comment.