Skip to content

Commit

Permalink
Merge pull request #78 from bbaumann/master
Browse files Browse the repository at this point in the history
[FIXED JENKINS-31908] - Sort Promotion By Number
  • Loading branch information
oleg-nenashev committed Feb 18, 2016
2 parents 66e9432 + 13c3a19 commit b2ca190
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -369,7 +369,7 @@ private boolean preBuild(BuildListener listener, List<BuildStep> steps) {

@Override
public int compareTo(Promotion that) {
return that.getId().compareTo( this.getId() );
return Integer.compare(that.getNumber(),this.getNumber());
}

@Override
Expand Down

0 comments on commit b2ca190

Please sign in to comment.