-
Bug
-
Resolution: Duplicate
-
Medium
-
2
-
271
-
I'm using Jenkins as CI. Every build it get the content of Jenkinsfile (similar to .travis.yml file) from the branch to be build.
We are also using git flow so all our branches are named feature/123 release/1.0 etc etc.
With the old version 1.0 of REST API works like a sharm
https://api.bitbucket.org/1.0/repositories/acme/myrepo/src/feature%2F31435/Jenkinsfile
but the Jenkins plugin for bitbucket has migrate to the newer version 2.0 and it fails with a 404
https://api.bitbucket.org/2.0/repositories/acme/myrepo/src/feature%2F31435/Jenkinsfile
I had also try without encoding the slash in the branch name, I got same issue
https://api.bitbucket.org/2.0/repositories/acme/myrepo/src/feature/31435/Jenkinsfile
- duplicates
-
BCLOUD-14674 src endpoint(API 2.0) doesn't support branch name contains a slash symbol
- Closed
-
BCLOUD-9969 Get commit/{revision} API does not accept branch names with "/" (BB-10992)
- Gathering Impact