[Progress Communities] [Progress OpenEdge ABL] Forum Post: proshut called from jenkins gives error 1423 for a running database on windows 10

  • Thread starter Thread starter cverbiest
  • Start date Start date
Status
Not open for further replies.
C

cverbiest

Guest
Hi, I'm trying to replace a local database from within a Jenkins pipeline. The database may or may not be running (eclipse PDSOE autostarted) so I added a proshut target to my ant build. This works fine in an interactive session but fails when run from a jenkins agent I have following target in an ant build file Shutdown ${localdatadir}/${dbName}/${dbName} Windows 10 OpenEdge 11.7.4 Jenkins agent running as a service using same credentials as interactive session If I execute this from the command line it works fine C:\Users\cvb>ant -f git/ccesmarttools/CceSmartTools/files/devtools/buildnightly/build.xml -Dbasedir=. -Ddumptemp=c:\temp -Dlocaldatadir=c:/cce/localdata -DdbName=LISA database_proshut Buildfile: C:\Users\cvb\git\ccesmarttools\CceSmartTools\files\devtools\buildnightly\build.xml database_proshut: [echo] Shutdown c:/cce/localdata/LISA/LISA [exec] Shutdown is executing. (1613) [exec] Shutdown complete. (1614) BUILD SUCCESSFUL Total time: 6 seconds Execute from within jenkins The jenkins agent is running a a server, the server is running with the same credentials as the interactive session. Running in Durability level: MAX_SURVIVABILITY [Pipeline] Start of Pipeline [Pipeline] echo Will create local databases on port_cvb [Pipeline] node Running on CVB portable in C:\Users\cvb\jenkins_data\workspace\laptop localdatabase [Pipeline] { [Pipeline] dir Running in c:\Users\cvb [Pipeline] { [Pipeline] stage [Pipeline] { (Create db) [Pipeline] isUnix [Pipeline] tool [Pipeline] bat c:\Users\cvb>ant -f git/ccesmarttools/CceSmartTools/files/devtools/buildnightly/build.xml -Dbasedir=. -Ddumptemp=c:\temp -Dlocaldatadir=c:/cce/localdata -DdbName=LISA database_proshut Buildfile: c:\Users\cvb\git\ccesmarttools\CceSmartTools\files\devtools\buildnightly\build.xml database_proshut: [echo] Shutdown c:/cce/localdata/LISA/LISA [exec] There is no server for database LISA. (1423) [exec] Result: 8 BUILD SUCCESSFUL Total time: 0 seconds [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS

Continue reading...
 
Status
Not open for further replies.
Back
Top