About 3,540,000 results
Open links in new tab
  1. Azure Devops Piepeline - Yaml Powershell Script Path

    Oct 5, 2020 · Try adding -powershell Get-ChildItem -Path $(Build.ArtifactStagingDirectory) -recurse This will list out all the paths so you can see what the full path to your script is. I would …

  2. ShellScript@2 - Shell script v2 task | Microsoft Learn

    May 6, 2025 · Add the following task to your pipeline to run the previous script. - task: ShellScript@2 inputs: scriptPath: 'test.sh' Requirements

  3. Modify YML files with PowerShell – Miha Jakovac Coding and

    Oct 8, 2020 · Set Type to File Path. Set Script Path to the script in your code repository. In the Arguments field type -Param2 $(Param2) -FooterBody $(FooterBody) which will inject the …

  4. Pipeline task scripts - inline vs file path? : r/azuredevops - Reddit

    Nov 2, 2022 · If your script is simple, you can just use inline. If your script is large, it is recommended to run it from file path since it is easy to code and maintain. Note the path of the …

  5. Passing bash script variables to .yml file for use as child and ...

    Apr 26, 2022 · I'm trying to write a bash script test-bash.sh that will pass arguments from a txt file test-text.txt to a .yml file test-yaml.yml, to be used as child and subdirectory arguments (by …

  6. PowerShell@2 - PowerShell v2 task | Microsoft Learn

    May 6, 2025 · PowerShell@2 has two shortcuts in YAML: steps.powershell and steps.pwsh. powershell runs using either Windows PowerShell (on Windows) or pwsh (Linux and macOS). …

  7. Howto lint a bash script inside a YAML file - Stack Overflow

    Mar 22, 2019 · To lint shell script embedded in GitLab CI YAML, a combination of git, yq, and shellcheck does the trick as demonstrated by this GitLab CI job: image: alpine:3.15.0. script: - …

  8. PowerShell scripts to customize pipelines - Azure Pipelines

    Jul 4, 2024 · Add the PowerShell Script task to your pipeline, and add your script file to the Script Path. The same PowerShell task works for both PowerShell Core and Windows PowerShell. …

  9. Bash@3 - Bash v3 task | Microsoft Learn - learn.microsoft.com

    May 6, 2025 · filePath - Script Path string. Required when targetType = filePath. The path of the script to execute. This must be a fully qualified path or relative to …

  10. Is it possible to modify a yml file via shell script?

    Jan 20, 2017 · Using yamlpath's various command-line tools, you gain several ways to accomplish your specific goals (yaml-set and/or yaml-merge) and even verify the result (yaml …

Refresh