Prevent using machine when Jenkins is running job

19 views
Skip to first unread message

Long Tran

unread,
Dec 28, 2017, 8:08:05 AM12/28/17
to Jenkins Users
Hi all,

I have a Jenkins slave that will run some jobs, this machine must not be used manually by people when it's running Jenkins job ( because it may affect some metrics of the build )

Is there any solution that I can achieve this requirement ? 

My current solution: I created a job that show a message box/dialog on desktop, this job is triggered when my main jobs run and aborted the it (the message box/dialog will disappear/close) after main jobs finish.

But that's not good solution, other people can just close it and use the machine as usual.

Sorry about my problem can be too common than a Jenkins issue, but if a solution is managed from Jenkins that'd be great.

Many thanks for you guys

Mark Waite

unread,
Dec 28, 2017, 8:33:22 AM12/28/17
to jenkins...@googlegroups.com
Would it reduce the risk of use if you locked the screen of the computer while it is being used with a Jenkins job?  I believe there are programs and scripts which will allow you to lock the screen and unlock it.

Mark Waite

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a97a295b-7140-42e3-85dd-259342ca50dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Long Tran

unread,
Jan 2, 2018, 3:36:16 AM1/2/18
to Jenkins Users

Would it reduce the risk of use if you locked the screen of the computer while it is being used with a Jenkins job?  I believe there are programs and scripts which will allow you to lock the screen and unlock it.

People see the lock screen and don't really know that machine is running Jenkins job, they still able to sign in the machine
Reply all
Reply to author
Forward
0 new messages