I am trying to use Jenkins stash
/unstash
for the first time, and I am unable to successfully stash my files.
This is the path to the file:
/opt/cicd/jenkins/workspace/DEVOPS/stageParams.yaml
This is my stash command:
{stash name: "config", includes: "/DEVOPS/stageParams.yaml"}
I keep receiving this error:
ERROR:No files included in stash 'config'
Please help!
/opt/cicd/jenkins/workspace/DEVOPS/stageParams.yaml
/DEVOPS/stageParams.yaml
Two path above are different.
Let try:
{stash name: "config", includes: "DEVOPS/stageParams.yaml"}