我创建了这一<代码>azure-lines-regression.yaml文档,以管理我的管道中的任务:
...... other scripts
- task: NodeTool@0
inputs:
versionSpec: 18
displayName: Install Node.js
- script: |
cd /home/vsts/work/1/s
npm install --legacy-peer-deps
displayName: npm install
- script: |
cd /home/vsts/work/1/s
dir
displayName: List contents 1
- task: DownloadSecureFile@1
displayName: Download env file
inputs:
secureFile: .env.local
- script: |
cd /home/vsts/work/1/s
dir
displayName: List contents 2
...... other scripts
In the pipeline job there are all the steps except the Download env file
step. I deliberately created the List contents 1
and List contents 2
steps and they showed in the job, so I m sure the code change was pushed. Just the step in the middle was skipped?