Skip to content

Commit

Permalink
Compatible with 1.424
Browse files Browse the repository at this point in the history
  • Loading branch information
fbelzunc committed Jun 2, 2016
1 parent 62190d0 commit af2d53a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -146,7 +146,7 @@ public FormValidation doCheckProject(@QueryParameter String project) {
if (project.startsWith("/")) {
return FormValidation.warning(Messages.BatchTaskInvoker_ForwardSlash());
}
Jenkins jenkins = Jenkins.getActiveInstance();
Jenkins jenkins = Jenkins.getInstance();
if (jenkins != null) {
Item item = jenkins.getItemByFullName(project);
if (item == null) {
Expand Down

0 comments on commit af2d53a

Please sign in to comment.