Skip to content

Instantly share code, notes, and snippets.

@sobi3ch
Created July 11, 2018 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sobi3ch/74051b3e33967d2dd9dc7853bfb0799d to your computer and use it in GitHub Desktop.
Save sobi3ch/74051b3e33967d2dd9dc7853bfb0799d to your computer and use it in GitHub Desktop.
Scan Multibranch Pipeline Log
Started by user Piotr Sobieszczański
[Wed Jul 11 12:43:22 UTC 2018] Starting branch indexing...
ERROR: [Wed Jul 11 12:43:23 UTC 2018] Could not fetch branches from source 7aceea81-226f-4094-a96c-fbb8773cc981
java.lang.ClassCastException: jenkins.branch.buildstrategies.basic.TagBuildStrategyImpl cannot be cast to jenkins.scm.api.trait.SCMSourceTrait
at jenkins.scm.api.trait.SCMSourceContext.withTraits(SCMSourceContext.java:245)
at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.retrieve(BitbucketSCMSource.java:534)
at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:357)
at jenkins.scm.api.SCMSource.fetch(SCMSource.java:267)
at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:633)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165)
at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1024)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
[Wed Jul 11 12:43:23 UTC 2018] Finished branch indexing. Indexing took 0.41 sec
FATAL: Failed to recompute children of Profiles (ECR)
java.lang.ClassCastException: jenkins.branch.buildstrategies.basic.TagBuildStrategyImpl cannot be cast to jenkins.scm.api.trait.SCMSourceTrait
at jenkins.scm.api.trait.SCMSourceContext.withTraits(SCMSourceContext.java:245)
at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.retrieve(BitbucketSCMSource.java:534)
at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:357)
at jenkins.scm.api.SCMSource.fetch(SCMSource.java:267)
at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:633)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165)
at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1024)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Finished: FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment