I use CircleCI2.0 in my rails app.
I want to change the parallelism value only when master branch.
so I set the circleci/config.yml like below.
but it doesn't work. just Error occured.
It's possible to adjust Parallelism for the particular branch?
please give me any hint or advise.
thanks.
version: 2
jobs:
build:
if [ $CIRCLE_BRANCH = "master" ]; then
parallelism: 2
else
parallelism: 8
fi