我第一次尝试使用Jenkinsstash
/ unstash
,但无法成功存储文件。
这是文件的路径:
/opt/cicd/jenkins/workspace/DEVOPS/stageParams.yaml
这是我的存储命令:
{stash name: "config", includes: "/DEVOPS/stageParams.yaml"}
我一直收到此错误:
ERROR:No files included in stash 'config'
请帮助!
/opt/cicd/jenkins/workspace/DEVOPS/stageParams.yaml
/DEVOPS/stageParams.yaml
以上两条路径是不同的。让我们尝试:{stash name: "config", includes: "DEVOPS/stageParams.yaml"}