Prevent using machine when Jenkins is running job

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Prevent using machine when Jenkins is running job

Long Tran
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

--
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 [hidden email].
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.
Reply | Threaded
Open this post in threaded view
|

Re: Prevent using machine when Jenkins is running job

Mark Waite-2
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

On Thu, Dec 28, 2017 at 6:08 AM Long Tran <[hidden email]> wrote:
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

--
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 [hidden email].
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.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtH4nqnQzdWoab_VJDTCeoJscngzRvjeRHMRqkF4J%2BRbQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Prevent using machine when Jenkins is running job

Long Tran

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

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/982e5b0f-3e2f-4bac-afdb-50d5e910c9f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.