Updating pipeline: pipeline1

This commit is contained in:
Paul Andrew 2022-02-22 09:36:38 +00:00
parent 807683348b
commit 3a4c88bcf8

View File

@ -3,7 +3,7 @@
"properties": { "properties": {
"activities": [ "activities": [
{ {
"name": "Execute Pipeline1", "name": "06 - Get Any File List",
"type": "ExecutePipeline", "type": "ExecutePipeline",
"dependsOn": [], "dependsOn": [],
"userProperties": [], "userProperties": [],
@ -19,11 +19,11 @@
} }
}, },
{ {
"name": "Set variable1", "name": "Set Pipe Output",
"type": "SetVariable", "type": "SetVariable",
"dependsOn": [ "dependsOn": [
{ {
"activity": "Execute Pipeline1", "activity": "06 - Get Any File List",
"dependencyConditions": [ "dependencyConditions": [
"Succeeded" "Succeeded"
] ]
@ -31,16 +31,39 @@
], ],
"userProperties": [], "userProperties": [],
"typeProperties": { "typeProperties": {
"variableName": "Test", "variableName": "WorkerOutput",
"value": { "value": {
"value": "@activity('Execute Pipeline1').output.pipelineRunId", "value": "@activity('06 - Get Any File List').output.pipelineRunId",
"type": "Expression"
}
}
},
{
"name": "Set Global Param",
"type": "SetVariable",
"dependsOn": [
{
"activity": "06 - Get Any File List",
"dependencyConditions": [
"Succeeded"
]
}
],
"userProperties": [],
"typeProperties": {
"variableName": "GlobalParam",
"value": {
"value": "@pipeline().globalParameters.Environment",
"type": "Expression" "type": "Expression"
} }
} }
} }
], ],
"variables": { "variables": {
"Test": { "WorkerOutput": {
"type": "String"
},
"GlobalParam": {
"type": "String" "type": "String"
} }
}, },