youngmon/atlassian-qna huggingface dataset:
Error saying my pipeline has a step section empty or null
Asked by kalib:

I keep receiving this error message:

*There is an error in your bitbucket-pipelines.yml at \[pipelines \> branches \> fixing-yaml \> 0 \> parallel \> 4\]. To be precise: The step section is empty or null.*

It doesn't make any sense to me, I have nothing empty. even Atlassian's validator online says it's all good.

Also, the pipeline works fine, until I add another step, and it shows that.  

```
clone:
  depth: full

definitions:
  caches:
    sonar: ~/.sonar

steps:
  - step: &lint
      name: Lint
      script:
        - echo "Add linting here"

  - step: &aws
      name: AWS oidc setup
      image: amazon/aws-cli
      oidc: true
      script:
        - export AWS_REGION=us-east-1
        - yum update
        - yum install -y jq

  - step: &sonarqube
      name: SAST - SonarQube
      runs-on:
        - self.hosted
        - linux
      script:
        - pipe: sonarsource/sonarqube-scan:1.0.0
          variables:
            SONAR_HOST_URL: ${SONAR_HOST_URL}
            SONAR_TOKEN: ${SONAR_TOKEN}

  - step: &unit-test
      name: Unit Test
      script:
        - echo "Add Unit Tests here"

  - step: &build
      name: Build
      script:
        - ./cicd/build.sh
      services:
        - docker
      caches:
        - docker

  - step: &deliver
      name: Deliver
      script:
        - ./cicd/promote.sh

pipelines:
  default: # Runs on every commit for branches not defined elsewhere
  # - step: *sonarqube
    - parallel:
        - step: *lint
        - step: *unit-test
        - step: *build

pull-requests:
'**': # this runs as default for any branch not elsewhere defined
  # - step: *sonarqube
    - parallel:
        - step: *lint
        - step: *unit-test
        - step: *build

branches: # these will run on every push of the branch
  master:
  # - step: *sonarqube
    - parallel:
    - step: *lint
    - step: *aws
    - step: *unit-test
    - step: *build
    - step: *deliver
```

This code results in that error:  
*There is an error in your bitbucket-pipelines.yml at \[pipelines \> branches \> fixing-yaml \> 0 \> parallel \> 4\]. To be precise: The step section is empty or null.*  
But, if I simply remove the last step, leaving as:

```
...

...

branches: # these will run on every push of the branch
 master:
 # - step: *sonarqube
   - parallel:
   - step: *lint
   - step: *aws
   - step: *unit-test
   - step: *build
```

It works fine. I can't make sense of it. Any help or suggestions?


Answers:
author: kalib
body: Nevermind.. Found my error... I had a few spaces missing.. indentation.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Groups and Users provisioning from OKTA or other IDPs
Asked by Artem Kazantsev:

We are using Atlassian Cloud with SAML 2.0 / API integration for provisioning groups and users in Jira and Confluence.  

Is it possible to configure similar integration with Bitbucket Cloud?  

If not, how folks are managing teams of developers - any integrations with directories (LDAP, AD, Google, etc .... ?)


Answers:
author: Ben
body: Hey Artem,

Unfortunately, at present - OKTA integration is not possible at the moment with Bitbucket Cloud specifically but is in our future roadmap for release in 2023 with our Atlassian Access product:  
<https://www.atlassian.com/roadmap/cloud?selectedProduct=bitbucket>

If you have already configured SAML as per this [documentation](https://support.atlassian.com/security-and-access-policies/docs/configure-saml-single-sign-on-with-an-identity-provider/), and your users have a Bitbucket account with an email from a verified domain that is included in your Identity Provider, then they will get redirected to your identity provider when they try to log in to <https://bitbucket.org/>.

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Do we have a option to create a user without giving group name
Asked by Arnav:

I would like to add one new user to my bitbucket cloud . he would like to create a New project and repo's.  

When I tried adding him in Bitbucket \<Members\<Add members\<  

Email address- \*\*\*\*

Groups -  

It is not allowing to add without group name.   


Answers:
author: Ben
body: Hey Aarohi!

When inviting a user to a workspace via the Workspace Settings menu, you must specify a group for them to join as the group will define what kind of access they have to the workspace and its repositories (ie you will require Write access to allow a user to create projects/repo's).

If you invite a user to the workspace by inviting them to a repository from the Repository Settings menu, a group will not need to be added - although they will only have access to make changes to the repository which you have invited them to.

I would suggest creating a group and inviting the user to the workspace in this manner via Workspace Settings.

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Arnav
body: Hi Ben,  

My question is - The person is new to bitbucket ,and he would like to create project and repo's.  

We donot have seperate group for new project.  

Please suggest in this case.


author: Ben
body: Hey Aarohi,

You do not need a seperate group per project, user groups define if a user has READ, WRITE or ADMIN access to a workspace as a whole. The following article describes this in detail:  
<https://support.atlassian.com/bitbucket-cloud/docs/grant-repository-access-to-users-and-groups/>

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Where do I see the test reporting?
Asked by Rafael F_:

I'm following the documentation here:  

<https://support.atlassian.com/bitbucket-cloud/docs/test-reporting-in-pipelines/>  

Created a pipeline like the example:

*** ** * ** ***

script:  
- dotnet tool install -g trx2junit  
- dotnet test --logger 'trx;LogFileName=log.trx'  
after-script:  
- export PATH="$PATH:/root/.dotnet/tools"  
- trx2junit ./TestResults/*.trx  

*** ** * ** ***

At the end I see this:  

*** ** * ** ***

Finished scanning for test reports. Found 1 test report files.

Merged test suites, total number tests is 65, with 0 failures and 0 errors.

Uploading test results

Finished uploading test results.

*** ** * ** ***

However I don't see the results anywhere... Where should I see the uploaded files?  
What's missing?


Answers:
author: Patrik S
body: Hello [@Rafael F_](/t5/user/viewprofilepage/user-id/4400832) ,

Thank you for reaching out to Atlassian Community.

As per [our documentation](https://support.atlassian.com/bitbucket-cloud/docs/test-reporting-in-pipelines/#How-test-reporting-works) "The Tests tab will only show if you have failed tests to review". Since all your tests were successful, the test tab is not showing in your build.

In case you want to always have the ability to download the test file, you can use artifacts instead :

```
- step: name: Build and test 
   script: 
      - npm install 
      - npm test 
      - npm run build 
    artifacts: # defining the artifacts 
       - TestResults/*.trx
```

The artifacts will be available for download for 14 days, and after this period they will be deleted.

You can also refer to our official documentation related to artifacts using the following link :

* <https://support.atlassian.com/bitbucket-cloud/docs/use-artifacts-in-steps/>

Hope that helps! Let me know in case you have any questions.

Thank you, [@Rafael F_](/t5/user/viewprofilepage/user-id/4400832) .

Kind regards,

Patrik S


Tags: bitbucket-cloud

cloud
Automated Code Signing in BitBucket - Any Plug Ins Available?
Asked by Recent Coin:

It would be nice to be able to have a code commit create a digital signature of that code. I've been looking for a plug in or some native facility in BitBucket but I'm not finding anything. I know that other code repositories have this and it seems to be largely centered around deploying to the app stores.

In our case, we may have a regulatory requirement to sign all of our code going forward so I wanted to see if anyone knows of any plug ins that would let us integrate with our HSMs to sign the code.


Answers:
author: Anne Marie Sharp
body: I would be interested in this possibility too, did you find anything, I see there was no reply?


Tags: bitbucket-server

server
rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/yosrmahfoudh123/massanal
Asked by yosser_mahfoudh:

I get this issue and I didn't understand the issue.

this is my docker file content

FROM maven:3.6.3-openjdk-11  
RUN apt-get update \&\& \\  
apt-get install -y nano \&\& \\  
apt-get install -y zip \&\& \\  
wget <https://download-gcdn.ej-technologies.com/install4j/install4j_linux_8_0_7.deb> \&\& \\  
dpkg -i install4j_linux_8_0_7.deb \&\& \\  
apt-get install -y --no-install-recommends openjfx

RUN rm install4j_linux_8_0_7.deb

I push it to a private docker repository


Answers:
author: Theodora Boudale
body: Hi [@yosser_mahfoudh](/t5/user/viewprofilepage/user-id/3803216),

**1.** Are you building this Dockerfile locally, in order to use the image as a build container in Pipelines?  
Or are you building this Dockerfile during a Pipelines build?

**2.** Could you share

* the exact command you are running that gives you this error
* the full output of this command?  
  (please make sure to sanitize private/sensitive data prior to sharing, if there are any)
* whether you are running this command from Pipelines or locally

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
How do i generate quotation for bitbucket cloud
Asked by Leena Swar:

Hi Team,

We want to purchase bitbucket cloud premium version for 15 people for 6months . We need a quotation for this. please help us to get order quotation for this.


Answers:
author: Ben
body: Hey Leena!

We have a pricing calculator tool available at the following link, this can be customized to reflect the plan you wish to use as well as the number of users:  
<https://www.atlassian.com/software/bitbucket/pricing>

Bitbucket Cloud subscriptions are usually billed monthly, and you can change your plan at any time back to "Free" within Workspace Settings for that particular workspace to effectively cancel the membership being charged for further months.  

If you would like to discuss this further with someone from our billing/licensing team, please raise a ticket here:  
<https://www.atlassian.com/company/contact/purchasing-licensing>

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Invitation link not received
Asked by Kevin Teng:

Dear Atlassian Support Team,

I've got this bug where my manager sends me an invitation to join the company's repo and I never get this invitation sent to my email(Already checked spam and everything else). Multiple attempts where, my manager cancelled the invitation pending and resent the invitation via email but ended up futile.  

For debugging purpose, the invitation link was able to reach my personal email but not my company's email.   

Would you please check if my email is on the suppression list? As well as how can this problem be resolved.

Thank you.

Sincerely,

Kevin

(for privacy reason, the email is available upon request)


Answers:
author: Daniel Eads
body: Hi [@Kevin Teng](/t5/user/viewprofilepage/user-id/4930159) , welcome to the Community!

I see you've opened a support case as well. While the specific support case is currently open, it does look like your manager **also** opened a support case, and that one was resolved already. Your email address shows that it has received some emails from our mail delivery system already today!

Looks like you're all set from our logs. Have a great day!

Cheers,  
Daniel \| Atlassian Team


Tags: bitbucket-cloud

cloud

invite
Do members of 'developers' group included as members of 'users' group count twice against license?
Asked by William Kahn:

New to administrating Bitbucket. Just received notice that we have more users than license allows. My question is that we have two groups set up 'stash-developers' and 'stash-users' and there are names that show up in both groups. The 'stash-developers' have the global permissions of both project creator and and bitbucket user, while the 'stash users' only have permission as bitbucket users. If user names are duplicated in both groups, does it count against the allotted users limited by the license?


Answers:
author: Mikael Sandberg
body: The license count is based on unique users, so if you have a user that is a member of both groups they will only count once.
Error in bitbucket pipelines while deploying angular project to windows server 2019
Asked by Thengum George:

I am trying to deploy the angular app to the IIS in windows server 2019 using bitbucket pipelines. Deploy step is failing and I am getting "Too many authentication failures" error.

I have copied the ssh public key from bitbucket repository to the remote server. But still I am getting the error. I have attached the deploy step code and error details. Any suggestions?

Reards

George

![Deploy.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/197567i0B2B70A4860FD8A0/image-size/large?v=v2&px=999 "Deploy.PNG")

![Deploy.PNG](/t5/image/serverpage/image-id/197565i7EC6607F23B3D987/image-size/small?v=v2&px=200 "Deploy.PNG")![Error.PNG](/t5/image/serverpage/image-id/197564i304CCB14417633E0/image-size/large?v=v2&px=999 "Error.PNG")


Answers:
author: Thengum George
body: This issue was related to permission in the server and resolved.

Thanks

George


Tags: bitbucket-cloud

cloud
Can't commit unless all files selected in SourceTree
Asked by ricke44654:

Hi there. I've been using SourceTree for the last week or so and I've been very happy with it so far. However, I ran into an issue where I'm only able to commit to my Bitbucket repo when I have all files selected - if I have one or just a few selected, the Commit button in the bottom right of the window remains disabled. Actually, I have to click the Select All checkbox at the top left of the window in order for the Commit button to be enabled. The Commit button in the toolbar at the top of the window remains active but does nothing when I click on it. I'm using Flat List (Multiple Column) view with No Staging. I've tried changing back to Split View Staging, but I still get the same behavior.

I'm currently on 1.9.6 and had just upgraded when I noticed this behavior. Previously, I was able to commit a few files at a time without any issues, but I'm not sure what version I was on before the upgrade. Has anyone else experienced a similar issue? I'm reasonably new to Git, so perhaps there's something I don't understand or that I'm missing that causes the issue.

Any help would be greatly appreciated. Thanks.


Answers:
author: ricke44654
body: Well, after seeing this issue below:

<https://answers.atlassian.com/questions/39580090>

I decided to downgrade to 1.9.5 of SourceTree:

<https://www.sourcetreeapp.com/update/windowsupdates.txt>

Afterwards, my issue went away and I'm back to happy. So it appears to be an issue with 1.9.6 of SourceTree.
When are you going to add some integration tests or testers for the new releases?!
Asked by Arash Khodadadi:

Whenever I receive an update from SourceTree something is crashing or not working properly.

This can be fixed by some tests whether manually or automatically to at leas test the major functionalities!

As an example see: <https://answers.atlassian.com/questions/39580090>.


Answers:
author: QwazyWabbit
body: Atlassian needs to put up an official page where users can download older versions to their mission-critical systems when new releases such as 1.9.5 and 1.9.6 cause trouble.

Users: always explicitly download and archive installation programs in case you need to fall back to them. Don't let auto-updates hide them from you.


author: QwazyWabbit
body: I've never seen Atlassian officially answer any question posed in the forum but I'd sure like to know the answer to this question. It appears all users of SourceTree are beta testers.

"if you think your software is perfect give it to users to find out how imperfect it really is." - Me
missing tree
Asked by Christopher Keuchkarian:

Tree view is not showing

How is the way to get it back?


Answers:
author: QwazyWabbit
body: The tree view can be pulled open by mousing over and grabbing the right side of the divider and dragging it to the right. I have had best success by grabbing it from within the Graph element of the column names in the list view. If that seems difficult to hit, try grabbing it near the bubble of the head end in the graph view.
Missing Sourcetree UI
Asked by Bawenang Rukmoko:

Hi guys,

I've updated my Sourcetree to the latest version of 1.9.6 and got so disappointed with it. Not only does the UI suck, but it's also faulty. Or at least in my place. Here's the screenshot:

derr.png

Now as you can see, the tick boxes in the "Staged files " in the old Sourcetree are all gone. And some of the top buttons are missing their label. Anybody know how to fix this?

PS: I'm on Windows 10, for that matter.

![](https://gyazo.com/dcc6437d04e875011c1afa241dc3423c.png)  
<https://gyazo.com/dcc6437d04e875011c1afa241dc3423c>  
[](https://community.atlassian.com/t5/Sourcetree-questions/Missing-Sourcetree-UI/qaq-p/153804?attachment-id=6730){#link_1168f03b911128}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/4539/1/derr.png){#display_1168f03b911128_0}


Answers:
author: Scott W
body: Same here. An app restart fixed it for me. But it's back again now. I've got a DELL-XPS13. I'm thinking Win10 and high DPI might be an issue.

Have yet to apply latest updates, I hear they're not so great.


author: Rodney
body: Try switching to "No staging" interface. It's in the drop down list next to the "Pending files"
1.9.6.0 crashes on start
Asked by Lars Nymand:

Source tree crashes on startup after updating to version 1.9.6.0 on Windows 8 64-bit.

I have tried to repair, uninstall+install (both with and without admin permissions)

It asks me to send in the report, but I can't find any details on why it crashes or if others have the same issue?

Only other thread I found was some Windows 10 issue where the 1.9.6.0 version fixed that issue. Maybe this fix made a bug for Win 8?

Any idea how to fix this? or do the previous version exists somewhere for download?

Thank you in advance


Answers:
author: Shane Wright
body: I have the same issue (crashes on launch) with 1.9.x on Windows 7 Enterprise 64 Bit. I had to go back to 1.8.3 in order to get a working version...


author: M N
body: Uninstall 1.9.6, download 1.9.5 using link below, and install 1.9.5. It seems like it kept all my settings and repos after uninstall/install of older version.

<https://www.sourcetreeapp.com/update/windowsupdates.txt>

Looking at the page, it appears there is now a 1.9.6.1. Maybe that fixes it too...


author: fishmi
body: Same here, Version 1.9.6. no longer starts, Windows 10 64 Bit, **no** Aniversary Update.

I can't continue to work, what kind of crap.


author: M N
body: My problem may not be the same issue, but, after upgrading to 1.9.6 on Windows10 64-bit, it crashes every single time I try to switch to "Working Copy" view. Perhaps if that was where I had been last time I closed, it would be crashing immediately on startup. Repair didn't fix it. I had to uninstall and downgrade to 1.9.5.

This is the second time an upgrade to SourceTree has made it completely unusable. From now forward, I'm going to be very gun-shy of applying SourceTree updates. Somebody's agile development process looks to be a little too "agile" and needs to focus a bit more on QA.
Did you remove check boxes ?
Asked by Martin Mravec:

Hi.

is it only my problem or did you remove check boxes ? Check my page commit page.

sourcetree.png  
[](https://community.atlassian.com/t5/Sourcetree-questions/Did-you-remove-check-boxes/qaq-p/289045?attachment-id=9737){#link_1168f0854c92f4}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/32325/1/sourcetree.png){#display_1168f0854c92f4_0}


Answers:
author: william mcCabe
body: I am seeing the same thing on my screen.

I see a right-click "add" option with a key command of ctrl-shift-plus. I work on a small keyboard (without the digit pad) frequently. This key command is very difficult to hit.

The one click, or an easier shortcut would make this much more usable.

Thank you


Tags: bug
stage all error
Asked by Lix:

i updated source tree last version and modifyied my sources and then opushed 'Stage All' button

but it made something wrong.

i think it has some problem in , Problem is that it did't commit sources to 'commit state' with pass.

anyway last source tree has stage problem, Do you have any plan to fix it?

cheer up\~


Answers:
author: SourceTreeGE
body: I too have installed version 1.9.6.0 of SourceTree and cannot stage files using the UI. I can stage them via the terminal but when I go back to the UI, the staged status is not reflected. If I navigate away to the Log/History tag, the file is unstaged.


author: Maxime Engel
body: Same for me i can not stage file when i hit stage selected i have the progress bar looping with the title UNstaging file !
How to checkout a forked pull request locally in SourceTree?
Asked by Mark Rogers:

From [How to checkout a pull request locally in SourceTree?](http://stackoverflow.com/q/38815839/25847)

Can a pull request be pulled locally just using SourceTree? How?  
[](https://community.atlassian.com/t5/Sourcetree-questions/How-to-checkout-a-forked-pull-request-locally-in-SourceTree/qaq-p/411969?attachment-id=101){#link_1168f09537c99c}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/12316/1/Screen%20Shot%202016-08-07%20at%2010.44.02%20AM.png){#display_1168f09537c99c_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/How-to-checkout-a-forked-pull-request-locally-in-SourceTree/qaq-p/411969?attachment-id=102){#link_1168f09537c99c_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/12316/2/Screen%20Shot%202016-08-07%20at%2010.41.02%20AM.png){#display_1168f09537c99c_2}


Answers:
author: Jeff
body: Is there a reason you cannot just check out the branch that the PR is related to?

I would generally suggest switching to the PR branch, and testing the code there.

The PR should be a representation of the changes existing on a branch that are being requested to be merged into another branch (usually master), so checking out the source branch should achieve what you are after.

comments: author: Mark Rogers
body: The pull request was from another user's forked clone of the project repo. I didn't see any option that would allow me to checkout that branch with SourceTree's checkout dialog. The pull request branch was not visible.


author: Jeff
body: You would need to check out a copy of the forked repo's branch in order to do that. Sourcetree is just a view over the top of your local git repositories - so the first step is to get that forked repo.

You can do that by clicking on the source branch within the PR in Bitbucket (clicking the repo name on the left in the screenshot below will do that for you).

Screen Shot 2016-08-07 at 10.41.02 AM.png

Then once you are in that branch, there should be a checkout branch option on the left, with a checkout in sourcetree option.

Screen Shot 2016-08-07 at 10.44.02 AM.png

This will then let you pull down the contents of the PR for local testing, review and validation. From what I know there is not a way to do this action within sourcetree directly, as sourcetree is used to work with the git repos that you have locally and not to work with PRs or remote repos that you may have access to in Bitbucket or Github.


Tags: check-out

git

pull-request
Where to download Older Versions?
Asked by Eldridge Felder:

1.9.6 is crashing when clicking "Commit". I need an older version where this button works quickly! Where can I downgrade to a previous working version?


Answers:
author: QwazyWabbit
body: This seems to be the most useful resource for the purpose.

<https://www.sourcetreeapp.com/update/windowsupdates.txt>

Follow the links in this file to your preferred down-level version.


author: Eldridge Felder
body: Thanks buddy!


Tags: crash