-
Task
-
Resolution: Unresolved
-
Minor
-
None
From JENKINS-42581:
Multibranch pipelines have the option to trigger a re-index and scan again all the branches in the repository.
While testing the Bitbucket Server Jenkins integration plugin with a Multibranch Pipeline job, when trying to trigger a re-index of branches (from Bitbucket Server SCM) via the WorkflowMultiBranchJob page object, we get a NoSuchElementException because the text() searches currently in the xpaths can't find the re-index link.
Testing with Jenkins 2.190.1 (run using the jut-server.sh script), the xpath that works in our tests is:
//div[@class="task"]//*[text()="Scan Multibranch Pipeline Now"]
- relates to
-
JENKINS-42581 Introduce reIndex for Multibranch Pipelines
- Resolved