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.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

 

16 Jun, 2018 09:22 AM
15 Jun, 2018 09:31 PM
15 Jun, 2018 08:31 PM
15 Jun, 2018 04:29 PM
15 Jun, 2018 12:39 PM
15 Jun, 2018 12:37 PM