-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
Bitbucket Cloud
Jenkins: 2.492.2
OS: Windows Server 2022 - 10.0
Java: 17.0.8.1 - Eclipse Adoptium (OpenJDK 64-Bit Server VM)
---
ansicolor:1.0.6
antisamy-markup-formatter:173.v680e3a_b_69ff3
apache-httpcomponents-client-4-api:4.5.14-269.vfa_2321039a_83
asm-api:9.8-135.vb_2239d08ee90
authentication-tokens:1.131.v7199556c3004
basic-branch-build-strategies:228.v68c089762a_db_
blueocean:1.27.16
blueocean-bitbucket-pipeline:1.27.16
blueocean-commons:1.27.16
blueocean-config:1.27.16
blueocean-core-js:1.27.16
blueocean-dashboard:1.27.16
blueocean-display-url:2.4.4
blueocean-events:1.27.16
blueocean-git-pipeline:1.27.16
blueocean-github-pipeline:1.27.16
blueocean-i18n:1.27.16
blueocean-jwt:1.27.16
blueocean-personalization:1.27.16
blueocean-pipeline-api-impl:1.27.16
blueocean-pipeline-editor:1.27.16
blueocean-pipeline-scm-api:1.27.16
blueocean-rest:1.27.16
blueocean-rest-impl:1.27.16
blueocean-web:1.27.16
bootstrap5-api:5.3.3-1
bouncycastle-api:2.30.1.80-256.vf98926042a_9b_
branch-api:2.1214.v3f652804588d
build-timeout:1.37
caffeine-api:3.2.0-166.v72a_6d74b_870f
checks-api:2.2.3
cloudbees-bitbucket-branch-source:935.1.3
cloudbees-folder:6.999.v42253c105443
commons-lang3-api:3.17.0-84.vb_b_938040b_078
commons-text-api:1.13.0-153.v91dcd89e2a_22
credentials:1413.va_51c53703df1
credentials-binding:687.v619cb_15e923f
display-url-api:2.209.v582ed814ff2f
docker-commons:451.vd12c371eeeb_3
docker-workflow:596.v3e6972b_46b_e2
dtkit-api:3.0.3
durable-task:587.v84b_877235b_45
echarts-api:5.5.1-5
eddsa-api:0.3.0.1-19.vc432d923e5ee
email-ext:1876.v28d8d38315b_d
favorite:2.225.v68765b_b_a_1fa_3
font-awesome-api:6.6.0-2
git:5.7.0
git-client:6.1.2
github:1.42.0
github-api:1.321-488.v9b_c0da_9533f8
github-branch-source:1815.v9152b_2ff7a_1b_
gradle:2.14.1
gson-api:2.12.1-113.v347686d6729f
handy-uri-templates-2-api:2.1.8-36.v85e4cb_234a_13
htmlpublisher:425
instance-identity:201.vd2a_b_5a_468a_a_6
ionicons-api:82.v0597178874e1
jackson2-api:2.18.3-402.v74c4eb_f122b_2
jakarta-activation-api:2.1.3-2
jakarta-mail-api:2.1.3-2
javax-activation-api:1.2.0-8
javax-mail-api:1.6.2-11
jaxb:2.3.9-133.vb_ec76a_73f706
jenkins-design-language:1.27.16
jjwt-api:0.11.5-120.v0268cf544b_89
joda-time-api:2.14.0-127.v7d9da_295a_d51
jquery3-api:3.7.1-2
json-api:20250107-125.v28b_a_ffa_eb_f01
json-path-api:2.9.0-148.v22a_7ffe323ce
junit:1319.v000471ca_e5e2
ldap:780.vcb_33c9a_e4332
mailer:489.vd4b_25144138f
matrix-auth:3.2.6
matrix-project:847.v88a_f90ff9f20
mina-sshd-api-common:2.14.0-143.v2b_362fc39576
mina-sshd-api-core:2.14.0-143.v2b_362fc39576
okhttp-api:4.11.0-189.v976fa_d3379d6
pam-auth:1.12
pipeline-build-step:557.v95d96f77b_2b_8
pipeline-github-lib:65.v203688e7727e
pipeline-graph-analysis:235.vb_a_a_36b_f248c2
pipeline-groovy-lib:752.vdddedf804e72
pipeline-input-step:517.vf8e782ee645c
pipeline-milestone-step:127.vb_52887ca_3b_6d
pipeline-model-api:2.2221.vc657003fb_d93
pipeline-model-definition:2.2221.vc657003fb_d93
pipeline-model-extensions:2.2221.vc657003fb_d93
pipeline-rest-api:2.37
pipeline-stage-step:322.vecffa_99f371c
pipeline-stage-tags-metadata:2.2221.vc657003fb_d93
pipeline-stage-view:2.37
plain-credentials:183.va_de8f1dd5a_2b_
plugin-util-api:5.1.0
pubsub-light:1.19
resource-disposer:0.25
scm-api:704.v3ce5c542825a_
script-security:1373.vb_b_4a_a_c26fa_00
snakeyaml-api:2.3-123.v13484c65210a_
sse-gateway:1.28
ssh-credentials:355.v9b_e5b_cde5003
ssh-slaves:3.1031.v72c6b_883b_869
structs:343.vdcf37b_a_c81d5
timestamper:1.28
token-macro:444.v52de7e9c573d
trilead-api:2.192.vc50a_d147e369
variant:70.va_d9f17f859e0
workflow-aggregator:600.vb_57cdd26fdd7
workflow-api:1366.vf1fb_e1a_f6b_22
workflow-basic-steps:1079.vce64b_a_929c5a_
workflow-cps:4046.v90b_1b_9edec67
workflow-durable-task-step:1405.v1fcd4a_d00096
workflow-job:1508.v9cb_c3a_a_89dfd
workflow-multibranch:803.v08103b_87c280
workflow-scm-step:437.v05a_f66b_e5ef8
workflow-step-api:700.v6e45cb_a_5a_a_21
workflow-support:963.va_600813d04a_a_
ws-cleanup:0.48
xunit:3.1.5Bitbucket Cloud Jenkins: 2.492.2 OS: Windows Server 2022 - 10.0 Java: 17.0.8.1 - Eclipse Adoptium (OpenJDK 64-Bit Server VM) --- ansicolor:1.0.6 antisamy-markup-formatter:173.v680e3a_b_69ff3 apache-httpcomponents-client-4-api:4.5.14-269.vfa_2321039a_83 asm-api:9.8-135.vb_2239d08ee90 authentication-tokens:1.131.v7199556c3004 basic-branch-build-strategies:228.v68c089762a_db_ blueocean:1.27.16 blueocean-bitbucket-pipeline:1.27.16 blueocean-commons:1.27.16 blueocean-config:1.27.16 blueocean-core-js:1.27.16 blueocean-dashboard:1.27.16 blueocean-display-url:2.4.4 blueocean-events:1.27.16 blueocean-git-pipeline:1.27.16 blueocean-github-pipeline:1.27.16 blueocean-i18n:1.27.16 blueocean-jwt:1.27.16 blueocean-personalization:1.27.16 blueocean-pipeline-api-impl:1.27.16 blueocean-pipeline-editor:1.27.16 blueocean-pipeline-scm-api:1.27.16 blueocean-rest:1.27.16 blueocean-rest-impl:1.27.16 blueocean-web:1.27.16 bootstrap5-api:5.3.3-1 bouncycastle-api:2.30.1.80-256.vf98926042a_9b_ branch-api:2.1214.v3f652804588d build-timeout:1.37 caffeine-api:3.2.0-166.v72a_6d74b_870f checks-api:2.2.3 cloudbees-bitbucket-branch-source:935.1.3 cloudbees-folder:6.999.v42253c105443 commons-lang3-api:3.17.0-84.vb_b_938040b_078 commons-text-api:1.13.0-153.v91dcd89e2a_22 credentials:1413.va_51c53703df1 credentials-binding:687.v619cb_15e923f display-url-api:2.209.v582ed814ff2f docker-commons:451.vd12c371eeeb_3 docker-workflow:596.v3e6972b_46b_e2 dtkit-api:3.0.3 durable-task:587.v84b_877235b_45 echarts-api:5.5.1-5 eddsa-api:0.3.0.1-19.vc432d923e5ee email-ext:1876.v28d8d38315b_d favorite:2.225.v68765b_b_a_1fa_3 font-awesome-api:6.6.0-2 git:5.7.0 git-client:6.1.2 github:1.42.0 github-api:1.321-488.v9b_c0da_9533f8 github-branch-source:1815.v9152b_2ff7a_1b_ gradle:2.14.1 gson-api:2.12.1-113.v347686d6729f handy-uri-templates-2-api:2.1.8-36.v85e4cb_234a_13 htmlpublisher:425 instance-identity:201.vd2a_b_5a_468a_a_6 ionicons-api:82.v0597178874e1 jackson2-api:2.18.3-402.v74c4eb_f122b_2 jakarta-activation-api:2.1.3-2 jakarta-mail-api:2.1.3-2 javax-activation-api:1.2.0-8 javax-mail-api:1.6.2-11 jaxb:2.3.9-133.vb_ec76a_73f706 jenkins-design-language:1.27.16 jjwt-api:0.11.5-120.v0268cf544b_89 joda-time-api:2.14.0-127.v7d9da_295a_d51 jquery3-api:3.7.1-2 json-api:20250107-125.v28b_a_ffa_eb_f01 json-path-api:2.9.0-148.v22a_7ffe323ce junit:1319.v000471ca_e5e2 ldap:780.vcb_33c9a_e4332 mailer:489.vd4b_25144138f matrix-auth:3.2.6 matrix-project:847.v88a_f90ff9f20 mina-sshd-api-common:2.14.0-143.v2b_362fc39576 mina-sshd-api-core:2.14.0-143.v2b_362fc39576 okhttp-api:4.11.0-189.v976fa_d3379d6 pam-auth:1.12 pipeline-build-step:557.v95d96f77b_2b_8 pipeline-github-lib:65.v203688e7727e pipeline-graph-analysis:235.vb_a_a_36b_f248c2 pipeline-groovy-lib:752.vdddedf804e72 pipeline-input-step:517.vf8e782ee645c pipeline-milestone-step:127.vb_52887ca_3b_6d pipeline-model-api:2.2221.vc657003fb_d93 pipeline-model-definition:2.2221.vc657003fb_d93 pipeline-model-extensions:2.2221.vc657003fb_d93 pipeline-rest-api:2.37 pipeline-stage-step:322.vecffa_99f371c pipeline-stage-tags-metadata:2.2221.vc657003fb_d93 pipeline-stage-view:2.37 plain-credentials:183.va_de8f1dd5a_2b_ plugin-util-api:5.1.0 pubsub-light:1.19 resource-disposer:0.25 scm-api:704.v3ce5c542825a_ script-security:1373.vb_b_4a_a_c26fa_00 snakeyaml-api:2.3-123.v13484c65210a_ sse-gateway:1.28 ssh-credentials:355.v9b_e5b_cde5003 ssh-slaves:3.1031.v72c6b_883b_869 structs:343.vdcf37b_a_c81d5 timestamper:1.28 token-macro:444.v52de7e9c573d trilead-api:2.192.vc50a_d147e369 variant:70.va_d9f17f859e0 workflow-aggregator:600.vb_57cdd26fdd7 workflow-api:1366.vf1fb_e1a_f6b_22 workflow-basic-steps:1079.vce64b_a_929c5a_ workflow-cps:4046.v90b_1b_9edec67 workflow-durable-task-step:1405.v1fcd4a_d00096 workflow-job:1508.v9cb_c3a_a_89dfd workflow-multibranch:803.v08103b_87c280 workflow-scm-step:437.v05a_f66b_e5ef8 workflow-step-api:700.v6e45cb_a_5a_a_21 workflow-support:963.va_600813d04a_a_ ws-cleanup:0.48 xunit:3.1.5
Additional Environment Info:
- Running Jenkins directly on Windows Server
- Agents run in Windows Docker Containers on the Windows Server
- Originally installed via .msi, updates via the "Automatically Update" feature
- Browser: Irrelevant. Not a browser issue.
To Reproduce
- Using the environment as described
- Create a project scoped Bitbucket Access Token in your cloud repo with the following scopes
- Repositories: Read
- Pull Requests: Read
- Webhooks: Read and write
- Add the token to Jenkins Credential Manager as BB_TOKEN
- Create new multibranch pipeline job as follows
- Connection:
- Server: Bitbucket Cloud
- Credentials BB_TOKEN
- Owner: MYORG
- Repo: MYREPO
- Clone from: Primary Server
- Behaviors:
- Discover branches, pull requests from orgin, and tags (accept defaults)
- Git:
- Clean before checkout
- Build Strategies:
- Change requests (accept defaults)
- Named Branches (Exact name: main)
- Tags (accept defaults)
- Build Configuration
- Mode: by Jenkinsfile
- Script Path: Jenkinsfile{}{}
- Jenkinsfile contents (within the repo)
pipeline { agent any options { disableConcurrentBuilds abortPrevious: true } stages { stage("test") { steps { powershell "Write-Host 'test'" } } } }
- Connection:
- Scan to find branches
- Trigger a build either pushing changes to a branch, or via a manual build
While the repo is cloned and updated correctly, the following warning appears in the Jenkins output (emphasis mine).
The recommended git tool is: NONE
Warning: CredentialId "BITBUCKET_ACCESS_TOKEN" could not be found.
Cloning the remote Git repository
Cloning with configured refspecs honoured and with tags
Cloning repository https://bitbucket.org/workspace/repo.git