Hello Everyone,
Bitbucket pipelines give us the opportunity to create custom pipelines, in these we create some variables that will receive values entered manually by the user.
pipelines:
custom:
create_value:
- variables:
- name: SECRET_VALUE
- step:
script:
- echo ok
This is cool. You can create a custom step that will be triggered by the user (via Run Pipeline button)and the value for the var SECRET_VALUE will then be provided by the user.
But there's a catch, the value of the variable will be printed in the logs:
<span> <br> SECRET_VALUE: my_secret_word</span><span>Pipeline Variables:</span>
There's any way to avoid this? I mean, to suppress the variable to be printed.
ps. The values will always vary, so the "secured variables" in the "repository variables" is out of topic here.