I have a line that is in my CircleCI 2.0 config.yml:
command: if ["3.5.3" == "system"] || pyenv versions --bare | grep -x -q '3.5.3'; then pyenv global version;else pyenv install --skip-existing 3.5.3 && pyenv global version && pyenv rehash && pip install virtualenv && pip install nose && pip install pep8 && pyenv rehash;fi
That now gives the following error:
/bin/bash: [3.5.3: command not found
pyenv: version `version' not installed
Exited with code 1
Any ideas on what to do? I believe it was generated automatically, as there is not a matching line in my 1.0 config. Thanks.
What does the line do? If it is auto-generated then I assume this is just a suggestion - you can replace it with something that makes sense to you.
Can you open a ticket so we can see the full config/job? There’s a couple things that could cause this, but seeing the full thing would help narrow it down.
Pretty sure it’s because it’s because you are using our kitchen sink image and it doesn’t like the cmd line (or the shell line)
- image: circleci/build-image:ubuntu-14.04-XXL-upstart-1189-5614f37
shell: /bin/bash --login
Having one of our support folks take a look and they will respond to the ticket
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.