Mixing `ps` with `cmd` and `sh` in settings

kyle.spearrin's Avatar

kyle.spearrin

21 May, 2018 03:07 PM

appveyor.yml has the advantage of being able to mix ps1, sh, and cmd commands in the same build script. For example:

install:
- ps: Write-Host "This command won't be run on Linux"
- sh: printf "This command will be run on Linux only"

We are not using appveyor.yml and have all of our settings defined in the settings UI on the website. However, this UI only lets us specify a single scripting language for each build script.

How can we achieve the above in the settings configuration on the website textarea itself instead of appveyor.yml?

  1. Support Staff 1 Posted by Ilya Finkelshte... on 21 May, 2018 04:36 PM

    Ilya Finkelshteyn's Avatar

    Sorry, this is not implemented currently in UI, filed this issue.

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:28 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac