How can I dynamically assign a value to the name of uploaded artifacts, ensuring that the name is retrieved from a system environment variable at runtime?
Currently I am using like this
uploadArtefacts:
- name: "Reports"
path:
- reports/**.
How can I dynamically assign a value to the name of uploaded artifacts, ensuring that the name is retrieved from a system environment variable at runtime?
Currently I am using like this
uploadArtefacts:
- name: "Reports"
path:
- reports/**.
You can achieve this by using ${your_variable}.
In your case, it would be:
uploadArtefacts:
- name: "${abcd}"
path:
- reports/**
if value of abcd is Folder
then it will come somthing like Artefacts Folder
on Hyperexecute dashboard.