Giter Club home page Giter Club logo

Comments (8)

japj avatar japj commented on August 16, 2024 1

The multiphase support in the rest api was done around 3.2 I believe.
So You probably need to set relevant VSTeamVersions item to higher than 3.2 (default is currently 3.0).
So even if your json file is of 4.0 structure, the default behavior will be to push to the 3.0 api, which does not have multiphase support and as a result β€œbreaks” the build definition.

from vsteam.

SebastianSchuetze avatar SebastianSchuetze commented on August 16, 2024 1

This should be fixed now with PR #321 which allows also to target updates of servers @eduardohass.

from vsteam.

DarqueWarrior avatar DarqueWarrior commented on August 16, 2024

How large is the json file on disk? I wonder if there is a payload size I need to adjust in the post call or something.

from vsteam.

eduardohass avatar eduardohass commented on August 16, 2024

My files have 10kb.
I made a test with a release definition with 50kb and was successful.

from vsteam.

DarqueWarrior avatar DarqueWarrior commented on August 16, 2024

My next guess would be the format of the def has changed. I noticed that if I export a build def using API version 4.0 I can't then import it using API version 3.0. I would check the API used for the export is the same version used for the import.

from vsteam.

DarqueWarrior avatar DarqueWarrior commented on August 16, 2024

You can change the API version used. Run

help about_vsteam

To learn how to change the API version used.

from vsteam.

DarqueWarrior avatar DarqueWarrior commented on August 16, 2024

Thanks, @japj I was missing that point about multi-phase builds. I will work on a PR to update the version used in Azure DevOps.

from vsteam.

MichelZ avatar MichelZ commented on August 16, 2024

Is this still an issue?

from vsteam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.