Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

azuredevops_build_definition does not report build status to Bitbucket by default #63

Closed
edwardwu-servian opened this issue Jul 8, 2020 · 4 comments
Assignees

Comments

@edwardwu-servian
Copy link

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

terraform 0.12.28
azuredevops 0.0.1

Affected Resource(s)

  • azuredevops_build_definition

Terraform Configuration Files

resource "azuredevops_build_definition" "example" {
  project_id      = azuredevops_project.module.id
  name            = "${var.pipeline_name}"
  path            = "\\"
  agent_pool_name = var.agent_pool_name

  ci_trigger {
    use_yaml = true
  }

  pull_request_trigger {
    use_yaml = true

    forks {
      enabled       = false
      share_secrets = false
    }
  }

  repository {
    repo_id               = "${bitbucket_repository.module.owner}/${bitbucket_repository.module.name}"
    repo_type             = "Bitbucket"
    branch_name           = "master"
    service_connection_id = azuredevops_serviceendpoint_bitbucket.bitbucket.id
    yml_path              = "/azure-pipeline.yml"
  }
}

Debug Output

N/A

Panic Output

N/A

Expected Behavior

The pipeline should be created with "Report build status" enabled, this is the behavior if pipeline is created on the web frontend.

Actual Behavior

Pipeline is created, however, "Report build status" is not enabled.
image

Steps to Reproduce

  1. terraform apply

Important Factoids

N/A

References

  • #0000
@xuzhang3
Copy link
Collaborator

xuzhang3 commented Jul 8, 2020

Hi @edwardwu-servian Thanks for your suggestion, We will put this in our backlog.

@xuzhang3
Copy link
Collaborator

Closing this issue. Feel free to reopen it if anyone have questions

@dperezro-ins
Copy link

dperezro-ins commented Aug 25, 2022

@xuzhang3 what about az pipeline create command? the default is unchecked. Is this something that can be changed as well? Thanks!

Edit: oh sorry, this is the terraform provider. Do you know who could work it for the az CLI? thank you

@xuzhang3
Copy link
Collaborator

@dperezro-ins you can open issue at https://github.com/Azure/azure-devops-cli-extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants