diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..5a7b530 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,11 @@ +pipeline { + agent { docker { image 'python:latest' } } + stages { + stage('build') { + steps { + sh 'python --version' + sh 'pip install -r requirements.txt' + } + } + } +} diff --git a/requirements.txt b/requirements.txt index f66c009..989ccb3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,5 +2,5 @@ junos-eznc==2.1.7 jxmlease==1.0.1 CherryPy==11.0.0 requests==2.18.4 -PyYAML==3.12 +PyYAML Jinja2==2.10