I know that I can set repository environment variable from repository setting,
but I need to change it's value inside my script and use it's new value some where else.
Is that possible?
my goal is sharing text message that is generated in build_script.sh to slack-notify message.
image: atlassian/default-image:4
pipelines:
custom:
new_publish:
- step:
name: new publish
script:
- echo "This step runs once you click the 'Run' button"
- /bin/sh build_script.sh
- pipe: atlassian/slack-notify:2.0.0
variables:
WEBHOOK_URL: $WEBHOOK_URL
MESSAGE: '"$MESSAGE that is generated in build_script.sh "'