create-env job fails if nothing to clean
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Fuel CI |
Bug Description
Since we're using 'set -ex'[0] bash option in update script - it fails[1] if cannot grep env names[2] over pipe
++ VIRTUAL_
++ export VIRTUAL_ENV
++ _OLD_VIRTUAL_
++ PATH=/home/
++ export PATH
++ '[' -n '' ']'
++ '[' -z '' ']'
++ _OLD_VIRTUAL_PS1=
++ '[' x '!=' x ']'
+++ basename /home/jenkins/
++ '[' venv-nailgun-
+++ basename /home/jenkins/
++ PS1='(venv-
++ export PS1
++ alias 'pydoc=python -m pydoc'
++ '[' -n /bin/bash -o -n '' ']'
++ hash -r
++ dos.py list
++ grep '^env_master'
+ ENV_NAMES=
Build step 'Execute shell' marked build as failure
we need to add a check for existing`
[0] https:/
[1] https:/
[2] https:/
description: | updated |
Fix proposed to branch: master /review. fuel-infra. org/19494
Change author: Dmitry Kaigarodsev <email address hidden>
Review: https:/