| Reproduced:
No changes detected: task1 (still at 1478)
... p4 files -e //streams/task3/Jenkinsfile + ‘Jenkinsfile’ not found
This causes the branch to disappear from the multibranch. The problem is context. Task streams clients are linked to the stream itself. A 'classic' client that can look at any branch will not find the file and a client attached to any other stream will not find the file. In p4-jenkins case it does not use a client but that is not the cause.
2018/07/19 09:01:08 pid 13694 jenkins@_____CLIENT_UNSET_____ 1.2.3.4 [jenkins.p4-plugin/1.8.10/Linux] 'user-files -e //streams/task3/Jenkinsfile'
This is a known limitation in the way streams are implemented in P4D. However it's also partly by design because task streams were intended to be private for the individual user and were never intended to be used in build systems. Two possible ways forward: (1) A change to the P4D server (unlikely). (2) Rewrite of multibranch to create individual clients for every stream identified by 'p4 streams'. |