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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.vsts-ci.yml does not create a build definition for new projects #100

Closed
Glober777 opened this issue Jan 15, 2019 · 5 comments
Closed

.vsts-ci.yml does not create a build definition for new projects #100

Glober777 opened this issue Jan 15, 2019 · 5 comments
Assignees

Comments

@Glober777
Copy link

I've noticed, that if I create a new project in Azure DevOps and initialize it using my existing local git repo which includes '.vsts-ci.yml' file, a build definition doesn't get created automatically and in order to trigger one to be created I need to make some changes to the file and push those changes up to the origin.

The thing is that I have the '.vsts-ci.yml' file inside of my project template and I'd really like it to automatically generate the build definition straight on the initial push (so that I could then go and configure branch policies for the master to depend on this build).

Is this an expected behavior or it's actually a bug?

Thanks!

@bryanmacfarlane
Copy link

We watch for the yaml file on push

@Glober777
Copy link
Author

@bryanmacfarlane, does that include the initial push of the local repo?

@Glober777
Copy link
Author

Any news on this? I can reliably reproduce this issue every time I initialize a new project.

@SkyeHoefling
Copy link

This started affecting us as well. We have hundreds of projects that all use .vsts-ci.yml and this is causing confusion across our org.

Our Workaround

  1. Create .azure-pipelines.yml in the repo and push
  2. Verify the build was scaffolded correctly
  3. Rename .azure-pipelines.yml to .vsts-ci.yml
  4. Open up Azure Pipelines and edit the Pipeline Settings
  5. Rename the YAML File Path to .vsts-ci.yml

This is quite a manual effort to use the old convention. Is it possible to make this configurable

@stale
Copy link

stale bot commented Apr 25, 2020

In order to consolidate to fewer feedback channels, we've moved suggestions and issue reporting to Developer Community. Sorry for any confusion resulting from this move.

@stale stale bot closed this as completed Apr 26, 2020
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

4 participants