Skip to content

Instantly share code, notes, and snippets.

@evasilchenko
Created December 2, 2016 04:50
Show Gist options
  • Save evasilchenko/0b2a6a937f013ff82b36d7f388f1e848 to your computer and use it in GitHub Desktop.
Save evasilchenko/0b2a6a937f013ff82b36d7f388f1e848 to your computer and use it in GitHub Desktop.
Step 2 - 1
def installed = fileExists 'bin/activate'
if (!installed) {
stage("Install Python Virtual Enviroment") {
sh 'virtualenv --no-site-packages .'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment