Nov 19 2021 09:43 AM
I developed a decorator based on Microsoft documentation. The injecting part is working as expected and the skipping part is not working as expected. i tried it multiple times, in different ways according to documentation provided by Microsoft and the injected decorator is not getting skipped.
Below is the method i followed from documentation. There is not enough documentation on capturing the decorator logs can you please advise.
steps:
- ${{ if ne(variables['skipInjecting'], 'true') }}:
- script: echo Injected the decorator
and in the pipeline i added the variables
variables:
skipInjecting: true
steps:
- script: echo This is the only step. No decorator is added.
I used the same syntax from the Microsoft Documentation. somehow i don't see the decorator getting skipped.
Can you please advise?
Thanks
Sai
Nov 22 2021 12:49 PM