Azure Pipelines Help

Payload JSON Per l'Attivazione Della Pipeline

Dati per realizzare la chiamata HTTP POST di attivazione della pipeline tramite REST

  • Headers: Content-Type: application/json

  • Basic Auth: username + PAT

  • Request & Params: POST https://dev.azure.com/<ORGANIZATION_NAME>/<PROJECT_NAME>/_apis/build/builds?api-version=6.0

  • Body:

{ "definition":{ "id":"2" }, "sourceBranch":"refs/heads/azure-pipelines", "parameters":"{\"id\": \"10005\",\"name\": \"1.0.25\",\"description\":\"Comments\",\"startDate\":\"2024-02-26\",\"released\":\"true\",\"releaseDate\":\"2024-02-27\",\"project\": \"KAN\"}" }
Last modified: 21 March 2024