Azure Pipelines: AWSShellScript@1
Jump to navigation
Jump to search
↑ https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/manual-validation?view=azure-devops&tabs=yaml
/home/vsts/work/_temp/awsshellscript_1568.sh: line 2: your_python_script.py: command not found
Example[edit]
- task: AWSShellScript@1 displayName: Name for you task condition: always() inputs: awsCredentials: "$Template:Parameters.awsCredentials" regionName: "$Template:Parameters.awsRegion" scriptType: inline inlineScript: | ls -lah pip3 install virtualenv virtualenv venv venv/bin/pip install -r requirements.txt venv/bin/python your_python_script.py \ --environment "$Template:Parameters.awsAccountName" \ --service "$Template:Parameters.sphereServiceName" disableAutoCwd: true failOnStandardError: false workingDirectory: "$(System.DefaultWorkingDirectory)"
Related[edit]
See also[edit]
- Azure Pipelines: task:
ECRPushImage@1, AWSShellScript@1
,NodeTool@0
,ManualValidation@0
[1],ShellScript@2
,CMake@1, CmdLine@2
Advertising: