Perhaps permissions? Are you running from a master or a slave and is teh jenkisn service running under a named accounted?
On Friday, September 25, 2015 at 10:53:57 AM UTC-4, Kamila Brito wrote: > > I'm working on a jenkins job that deploy my application on websphere > server. My websphere server is on VM and I'm doing the whole process of > build and update of the ear files with Jenkins. After that I restart the > node and the server, in the end of this process I have a success response > from jenkins but as soon as I take a look in my server its still down. I > don't know why. > > Here is how I'm restarting the node and the server: > > I have tried launch this code by calling each line from a different batch > command on my jenkins job like this: > > > batch 1: > > cd C:\Program Files > (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\bin"stopServer.bat" server1 > > batch 2: > > cd C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\bin > "stopnode.bat" > > batch 3: > > cd C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\bin > "startnode.bat" > > batch 4: > > cd C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\bin > "startServer.bat" server1 > > I have also tryed by putting all the commands in a .bat file on my server > and calling it from my jenkins job, like this: > > file.bat: > > cd C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\bin > > echo ---------- STOP SERVER ---------- > call stopServer.bat server1 > > echo ---------- STOP NODE ---------- > call stopnode.bat > > > echo ---------- START NODE ---------- > call startnode.bat > > echo ---------- START SERVER ---------- > call startServer.bat server1 > > echo ---------- DONE ---------- > > call from job: > > cd c:\temp\passport_install"file.bat" > > > When I perform all this calls locally on the server works perfectly. > > I wanna know if any of you has seen this, if so please tell how did you > fix it. > > Thank you. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0f87565c-a59c-4bc1-8e1c-4dbd3cd13fa5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
