Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in Bitbucket Pipeline Log

Argee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 27, 2023

Hello,

my Bitbucket Pipeline has a `.` being replaced by workspace variable. 

Example:

git config user.name bitbucket-pipelines

is shown in the pipeline as `git config user$PRD_KONG_COMMON_CLIENT_SECRETname bitbucket-pipelines`

2 answers

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 4, 2023

Hi @Argee and welcome to the community!

The reason why this occurs is because there is a secured user-defined variable with the name PRD_KONG_COMMON_CLIENT_SECRET and the value dot, `.`

This is not a bug, this behavior is by design. Pipelines masks secure variables so they are not disclosed to team members viewing build logs. If a value matching a secured variable appears in the logs, Pipelines will replace it with $VARIABLE_NAME.

This could be a repository variable (from Repository settings > Repository variables), a workspace variable (from Workspace settings > Workspace variables), or a deployment variable (from Repository settings > Deployments).

Please feel free to reach out if you have any questions.

Kind regards,
Theodora

0 votes
Argee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 27, 2023

Adding the sample Pipeline Bug...

Screenshot 2023-11-28 at 1.55.15 PM.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events