3

I have two different tasks which I want to pass the taskRun name of the first task to the second task. I wonder if there is a way I can do that.

Jane
  • 151
  • 3
  • 12

1 Answers1

3

The taskRun name is available as a variable and you can emit it as a task result in your first Task.

Then you can use the result from a previous task as input parameter to the next task. See Passing one Task’s Results into the Parameters or when expressions of another.

That should solve it.

Jonas
  • 121,568
  • 97
  • 310
  • 388