jenkins not able to find virtualenv

8 views
Skip to first unread message

Luvpreet Singh

unread,
Jul 17, 2017, 11:16:14 AM7/17/17
to Jenkins Users
I want to activate my virtualenv via jenkins. But I am facing problems in that.

Here are the commands,

    cd /home/luvpreet/Desktop/vogo/influxdata
    source /usr/local/bin/virtualenvwrapper.sh
    workon influxdata
    ./manage.py test

And I am getting this error,

    + echo 'ERROR: Environment '\''influxdata'\'' does not exist. Create it with '\''mkvirtualenv influxdata'\''.'
    ERROR: Environment 'influxdata' does not exist. Create it with 'mkvirtualenv influxdata'.
    + return 1

The shell executable is `/bin/bash`

It is saying that influxdata virtualenv does not exist, but it does.

Why it is showing this ? How can I run my virtualenv ?
Reply all
Reply to author
Forward
0 new messages