pipeline3
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -17,7 +17,8 @@ pipeline
|
|||||||
when { branch 'main' }
|
when { branch 'main' }
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
cd /jenkins_test/ && python3 -m venv venv
|
cd /jenkins_test/ && git pull origin main
|
||||||
|
python3 -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
python manage.py makemigrations
|
python manage.py makemigrations
|
||||||
|
|||||||
Reference in New Issue
Block a user