Я новичок в конвейерах AzureDevops. У меня есть простая задача, я хочу запустить скрипт оболочки, который находится в моем azure git репо.
steps:
- task: Bash@3
inputs:
targetType: 'inline' # Optional. Options: filePath, inline
#filePath: ./TestProject
#arguments: # Optional
- script:
pwd
set +x token.sh
sh token.sh
Сборка проходит успешно, но я не вижу, что она выбрала sh файл:
Generating script.
10(node:3269) Warning: Use Cipheriv for counter mode of aes-256-ctr
11(node:3269) Warning: Use Cipheriv for counter mode of aes-256-ctr
12(node:3269) Warning: Use Cipheriv for counter mode of aes-256-ctr
13Script contents:
14pwd set +x token.sh sh token.sh
15(node:3269) Warning: Use Cipheriv for counter mode of aes-256-ctr
16========================== Starting Command Output ===========================
17(node:3269) Warning: Use Cipheriv for counter mode of aes-256-ctr
18(node:3269) Warning: Use Cipheriv for counter mode of aes-256-ctr
19(node:3269) Warning: Use Cipheriv for counter mode of aes-256-ctr
20/bin/bash --noprofile --norc /home/vsts/work/_temp/33bdee3d-19de-47b6-8eab-01124cb0a0ed.sh
21/home/vsts/work/1/s
22Finishing: CmdLine
Сборка выполнена успешно, но нет журнала для sh выполнения.