Jenkins deploy using BP

#1
am trying to deploy the bp file using jenkins.
i have done with the batch file , its working file when am using the command prompt. but when am using the jenkins , its showing the error ::::: "
  • Database error - Cannot open database "bplocal" requested by the login. The login failed.Login failed for user 'XXXmy system nameXXX'
This is how my batch file looks.

SET PATH=%PATH%;C:\Program Files\Blue Prism Limited\Blue Prism Automate AUTOMATEC /import "C:\X\XXX\X\XXX\sampleBasic.xml" /overwrite /user sample sample123 /dbconname BP

here the details.

***sample - my BP username ***sample123 - my BP pwd ***dbconname - BP
can anyone help how to fix this.
and here my pipeline details.
pipeline { agent any
stages {
stage('Deploy') {
steps {
bat label: 'Deploy', returnStatus: true, script: '"C:\aaa\aaa\aaa\aaa\Deploy.bat"'
}}}}
 
Top