0

As we all know, we can make filters at releases i.e. to release only if a build succeeded with a commit in a specific branch.

CD Trigger

Is it somehow possible to start a release, only if a specific person has made the commit?

Something like a continous release by author.

Thanks for any advice

Oswald
  • 1,252
  • 20
  • 32

1 Answers1

1

As workaround, you can use 'Build.RequestedFor' build variable and custom conditions. You can skip jobs if user display name is not of your user. You can define a custom condition on the job level like the following (just update User_display_name to needed value):

enter image description here

Or as text:

and(succeeded(), eq(variables['Build.RequestedFor'], 'User_display_name'))
Oswald
  • 1,252
  • 20
  • 32
Shamrai Aleksander
  • 13,096
  • 3
  • 24
  • 31