Skip to content

Commit

Permalink
[JENKINS-42581] Change also assertion for scan action.
Browse files Browse the repository at this point in the history
  • Loading branch information
Evaristo Gutiérrez committed Mar 14, 2017
1 parent ba4dd2f commit 033f31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/plugins/WorkflowMultibranchTest.java
Expand Up @@ -62,7 +62,7 @@ private void configureJobWithGithubBranchSource(final WorkflowMultiBranchJob job
}

private void assertBranchIndexing(final WorkflowMultiBranchJob job) {
assertThat(job, anyOf(/* 1.x */hasAction("Branch Indexing"), /* 2.x */hasAction("Scan Repository")));
assertThat(job, anyOf(/* 1.x */hasAction("Branch Indexing"), /* 2.x */hasAction("Scan Repository"), /* 2.1.0 */hasAction("Scan Repository Now")));

final String branchIndexingLog = job.getBranchIndexingLog();

Expand Down

0 comments on commit 033f31d

Please sign in to comment.