Multiple configuration files

Cam's Avatar

Cam

13 May, 2020 05:09 PM

Hi. Is there a way to have 2 seperate configurations one for push to master and another one for PR to master?

  1. Support Staff 1 Posted by Feodor Fitsner on 13 May, 2020 05:30 PM

    Feodor Fitsner's Avatar

    Hi Cam,

    Could you give me some details what problem are you trying to solve?

  2. 2 Posted by Cam on 13 May, 2020 07:26 PM

    Cam's Avatar

    I have a repo with multiple projects (both front and backend). I would like to build and test this app in parallel jobs and now:
     - for PR I would like to build and test only projects in which there were changes using only_commits.files
    - for push to master I would like to build & test all aps and also have an extra job to create a package for a whole repo (from artifacts created with build which I don't want to create for PRs) and deploy it

    I know that I can check if it is pull request using PR number but then I would have to do ifs on every job and I think I can't avoid creating artifacts for PRs this way. So it would be easier for me to have to seperate appveyor.yaml files for these scenarios.

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