0

Am using Azure datafactory in combination with git:

enter image description here

During execution of a pipeline, can i get the current branch name as pipeline parameter, maybe like this:? enter image description here

Wished output (additional column with branch name): enter image description here

Sources: ETL / ELT pipelines - Metainformation about the pipeline

R. Maier
  • 340
  • 2
  • 13
  • There is no dynamic for getting `Git branch name`. The meta information about pipeline is `System variables` only. – Pratik Lad Nov 28 '22 at 09:23

1 Answers1

1

The workaround to achieve your scenario is follow below steps:

create pipeline parameter with type string and default value as your branch name.

enter image description here

In source of copy activity use additional column and value as parameter you created for branch name.

enter image description here

Output

enter image description here

Only possible system variables are as mentioned in documents are as below:

enter image description here

Pratik Lad
  • 4,343
  • 2
  • 3
  • 11