I have the following commands under "Build"-->"Execute shell" #!/bin/bash source /v_env/bin/activate # Activate the virtualenv cd /var/lib/jenkins/workspace/myapp #pip install -r requirements.txt # Install or upgrade dependencies python manage.py makemigrations python manage.py migrate # Apply South's database migrations sudo service nginx restart gunicorn myapp.wsgi:application --bind=my domain ip
<https://lh3.googleusercontent.com/-ZiJE_Tel7CE/WE5pB9-_0WI/AAAAAAAAAaQ/dqkMvvx8C4YSotmS6zl9k2J2ic6juP4nACLcB/s1600/executeshell.png> (The above commands are executing within a second and deployment is getting done but the "build" is taking more than 2days).And is it possible to deploy the same build on multiple server ? -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/0cf8539c-48fb-4329-a017-24c075bf6008%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
