Skip to content

Unable to integrate pyest/pipenv project with Jenkins #5832

Closed Answered by pandu-bhojaraj-mf
pandu-bhojaraj-mf asked this question in Q&A
Discussion options

You must be logged in to vote

This is solved from below video

Make sure you have installed sudo apt-get install python3.x-venv library

https://www.youtube.com/watch?v=iotloCXtIzY

#!/bin/bash
echo " ### Create Pythin environment ### "
source scl_source enable rh-python36 # # This step is NOT required if your python is already piinting to 3.*

VIRTUAL_ENV_NAME='virtual-environment'
python -m venv $VIRTUAL_ENV_NAME

echo '### Activate Virtual Environment here ####'
source $VIRTUAL_ENV_NAME/bin/activate

echo '### Install requirements ###'

pipenv install -r requirements.txt --dev

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pandu-bhojaraj-mf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant