master
SLW\ARNAUA 2023-03-07 12:08:12 +01:00
parent 185d9ff2b7
commit a971fb3187
1 changed files with 6 additions and 4 deletions

10
Jenkinsfile vendored
View File

@ -23,7 +23,7 @@
} }
//label libraryBuild is available in CN JAWS and ROW JAWS, therefore this one was used; no additional intents //label libraryBuild is available in CN JAWS and ROW JAWS, therefore this one was used; no additional intents
// agent {label 'jaws-slaves'} // agent {label 'jaws-slaves'}
agent {label 'jaws-dynamic-slaves'} agent {label 'jaws-slaves'}
parameters { parameters {
// string(name: 'FROMDATE', defaultValue: '', description: 'Enter from date in format YYYY-MM-DD e.g. 2021-11-01') // string(name: 'FROMDATE', defaultValue: '', description: 'Enter from date in format YYYY-MM-DD e.g. 2021-11-01')
@ -56,15 +56,17 @@
} }
stages { stages {
stage('Install required python packages') { stage('Install Required Python Packages') {
steps { steps {
sh ''' sh '''
pip install --user -r requirements.txt python3 --version
pip3 --version
pip3 install --user -r requirements.txt
''' '''
} }
} }
stage('Execute Reporting Script') { stage('Execute Script') {
steps { steps {
sh 'python3 generate.py ${params.INPUTFOLDER}' sh 'python3 generate.py ${params.INPUTFOLDER}'