OctopusDeploy / OctoTFS

| Public | Octopus extensions for Azure DevOps, TFS, VSTS, and VSO
https://marketplace.visualstudio.com/items?itemName=octopusdeploy.octopus-deploy-build-release-tasks
Other
0 stars 41 forks source link

expanded await task output variables #293

Closed benPearce1 closed 1 year ago

benPearce1 commented 1 year ago

Added link to all awaited tasks Added polling logs for task state

image

Added output variables: completed_successfully : overall status of tasks (false if any fail)

<environment name | tenant name>.completed_successfully: one completed successfully flag per task, with tenant or environment context in the variable name, spaces replaced with underscores. e.g

server_task_results: JSON representation of all tasks with outcome. E.g:

[
    {
        "serverTaskId": "ServerTasks-135172",
        "environmentName": "dev",
        "successful": true
    },
    {
        "serverTaskId": "ServerTasks-135173",
        "environmentName": "dev 2",
        "successful": false
    }
]
[
    {
        "serverTaskId": "ServerTasks-135176",
        "tenantName": "tenant 4",
        "successful": true
    },
    {
        "serverTaskId": "ServerTasks-135175",
        "tenantName": "tenant 2",
        "successful": true
    },
    {
        "serverTaskId": "ServerTasks-135174",
        "tenantName": "tenant 1",
        "successful": true
    }
]

Polling messages: Deployment to environment 'dev 2' is 'Executing' Deployment to environment 'test' for tenant 'tenant-EB7CC' is 'Executing' Runbook run to environment 'dev' is 'Executing'