我是AzureDevops管道的新手。我有一个简单的任务,我想运行一个驻留在我的Azure git repo中的shell脚本。
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执行的日志。