run proccess on jenkins slave machine

23 views
Skip to first unread message

Ziv Margolin

unread,
Nov 2, 2016, 3:28:59 AM11/2/16
to Jenkins Users
Hi

I got a machine that slaved to Jenkins server, it used for builds an runs of code taken from repository.

I am trying to make a batch file build that runs process on the slave machine but with no success.

After launching a job from jenkins a can see that specific processes (calculator for example) starts to run on the slaved machine but immediately terminated while the build status i success.


Please HELP! :(

Baptiste Mathus

unread,
Nov 2, 2016, 4:30:58 AM11/2/16
to jenkins...@googlegroups.com
Wait, you're trying to spawn a process on an agent, and you WANT it to stay running after your build ends? It's technically possible, but it's indeed not a usual use case. Can you explain what you're trying to achieve?

--
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 jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/30ba472b-1f50-4374-8e78-ba2ac2690ca2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ziv Margolin

unread,
Nov 2, 2016, 5:36:40 AM11/2/16
to Jenkins Users, m...@batmat.net
Sure
I need it to simulate a test environment, to run a simulators an many other options


On Wednesday, November 2, 2016 at 10:30:58 AM UTC+2, Baptiste Mathus wrote:
Wait, you're trying to spawn a process on an agent, and you WANT it to stay running after your build ends? It's technically possible, but it's indeed not a usual use case. Can you explain what you're trying to achieve?
2016-11-02 8:28 GMT+01:00 Ziv Margolin <zivi...@gmail.com>:
Hi

I got a machine that slaved to Jenkins server, it used for builds an runs of code taken from repository.

I am trying to make a batch file build that runs process on the slave machine but with no success.

After launching a job from jenkins a can see that specific processes (calculator for example) starts to run on the slaved machine but immediately terminated while the build status i success.


Please HELP! :(

--
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 jenkinsci-use...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages