Unable to commit bitbucket-pipelines.yml

nando_kun
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!
April 27, 2023

Hi everyone, 
I'm trying to write my first pipeline.

The .yml is quite simple. The only purpose is to run tests, without any deploy.

pipelines:
  default:
    - step:
      name: .NET Core build & test
      image: mcr.microsoft.com/dotnet/sdk:7.0
      caches:
        - dotnetcore
      script:
        - cd src/Web
        - d
otnet restore
        - dotnet build
        - dotnet test


The loading icon has been spinning for about half an hour. No indication of the problem.

Can someone help me? Thanks in advance.



Immagine 2023-04-27 101654.png

 

2 answers

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

Hi @nando_kun and welcome to the community!

Do you have admin access to this repo? If so, could you please do the following (if you don't, you can ask an admin to do this):

  1. Open this repository on Bitbucket Cloud website
  2. Go to its Repository settings from the left sidebar
  3. Select Links from the new left sidebar

Is the option Require issue keys in commit messages enabled on this page?

There is a bug that doesn't allow users to commit the .yml file from that page when an issue key is required, so you may be affected by this bug if this option is enabled.

To work around this issue, you can create the bitbucket-pipelines.yml file locally, commit it with a valid issue key, and then push it to the repo.

Kind regards,
Theodora

0 votes
Erez Maadani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 27, 2023

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events