forked from OctopusDeploy/OctoTFS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtask.json
92 lines (92 loc) · 2.57 KB
/
task.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"id": "4E131B60-5532-4362-95B6-7C67D9841B4F",
"name": "OctopusCreateRelease",
"friendlyName": "Create Octopus Release",
"description": "Create a Release in Octopus Deploy",
"category": "Deploy",
"visibility": [
"Build",
"Release"
],
"author": "Octopus Deploy",
"version": {
"Major": 0,
"Minor": 2,
"Patch": 12
},
"minimumAgentVersion": "1.82.0",
"groups": [
{
"name": "releasenotes",
"displayName": "Release Notes",
"isExpanded": true
},
{
"name": "additional",
"displayName": "Additional Options",
"isExpanded": false
}
],
"inputs": [
{
"name": "ConnectedServiceName",
"type": "connectedService:Generic",
"label": "Octopus Deploy Server",
"defaultValue": "",
"required": true,
"helpMarkDown": "Octopus Deploy server connection"
},
{
"name": "ProjectName",
"type": "string",
"label": "Project Name",
"defaultValue": "",
"required": true,
"helpMarkDown": "Octopus Deploy Project Name"
},
{
"name": "ChangesetCommentReleaseNotes",
"type": "boolean",
"label": "Include Changeset Comments",
"defaultValue": "false",
"required": false,
"helpMarkDown": "Whether to include linked Changeset comments in Octopus Release notes",
"groupName": "releasenotes"
},
{
"name": "WorkItemReleaseNotes",
"type": "boolean",
"label": "Include Work Items",
"defaultValue": "false",
"required": false,
"helpMarkDown": "Whether to include linked Work Item Titles in Octopus Release notes",
"groupName": "releasenotes"
},
{
"name": "DeployTo",
"type": "string",
"label": "Deploy Release To",
"defaultValue": "",
"required": false,
"helpMarkDown": "Deploy the release to this environment after creating it",
"groupName": "additional"
},
{
"name": "AdditionalArguments",
"type": "string",
"label": "Additional Octo.exe Arguments ",
"defaultValue": "",
"required": false,
"helpMarkDown": "Additional arguments to send to octo.exe",
"groupName":"additional"
}
],
"instanceNameFormat": "Create Octopus Release: $(ProjectName)",
"execution": {
"PowerShell": {
"target": "$(currentDirectory)\\Octopus-CreateRelease.ps1",
"argumentFormat": "",
"workingDirectory": "$(currentDirectory)"
}
}
}