diff --git a/jenkinsfile b/jenkinsfile index bcde5f9..704d147 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -23,6 +23,7 @@ NAPREPROD_TOKEN_VAR = credentials('NAPREPROD_TOKEN_VAR') CNPROD_TOKEN_VAR = credentials('CNPROD_TOKEN_VAR') CNPREPROD_TOKEN_VAR = credentials('CNPREPROD_TOKEN_VAR') + BITBUCKET_CREDS = credentials('jaws_dynatrace_bitbuket_user') // FROM_DATE="${params.FROMDATE}" // TO_DATE="${params.TODATE}" @@ -31,9 +32,11 @@ stages { stage('install required python packages') { steps { - sh ''' + sh """ + echo "${BITBUCKET_CREDS}" + pip install git+https://${BITBUCKET_CREDS}@atc.bmwgroup.net/bitbucket/scm/opapm/keyrequestparser.git pip3 install -r requirements.txt - ''' + """ } } diff --git a/requirements.txt b/requirements.txt index 2168878..62cb421 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,4 +7,4 @@ datetime openpyxl #jsonmerge #KeyRequestParser -git+https://qqjaws7@atc.bmwgroup.net/bitbucket/scm/opapm/keyrequestparser.git \ No newline at end of file +#git+https://qqjaws7@atc.bmwgroup.net/bitbucket/scm/opapm/keyrequestparser.git \ No newline at end of file diff --git a/requirements_dev.txt b/requirements_dev.txt new file mode 100644 index 0000000..ea36a42 --- /dev/null +++ b/requirements_dev.txt @@ -0,0 +1,10 @@ +python-decouple +pyyaml +pandas +#requests +datetime +#argparse +openpyxl +#jsonmerge +#KeyRequestParser +git+https://atc.bmwgroup.net/bitbucket/scm/opapm/keyrequestparser.git \ No newline at end of file