Skip to content

Commit

Permalink
fix(triggers): Add lastSuccessfulBuild as a build option in Jenkins d…
Browse files Browse the repository at this point in the history
…efault artifact (spinnaker#6797)
  • Loading branch information
jkschneider authored Apr 2, 2019
1 parent 1a2af9a commit cc05339
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export const JenkinsDefault: IArtifactKindConfig = {
const { buildNumbers, jobs } = this.state;
const { artifact } = this.props;
const buildOptions = buildNumbers.map((b: string) => ({ label: b, value: b }));
buildOptions.splice(0, 0, { label: 'lastSuccessfulBuild', value: 'lastSuccessfulBuild' });
const jobOptions = jobs.map((j: string) => ({ label: j, value: j }));
return (
<>
Expand Down

0 comments on commit cc05339

Please sign in to comment.