jenkins docker image create first admin user

2017-08-29 Thread Li Z
I am trying to build a Jenkins docker image from jenkins/jenkins:2.67. Is there a way to create the first admin user with dockerfile? Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emai

Re: jenkins docker image create first admin user

2017-08-29 Thread Li Z
very time Jenkins starts, so you may need to add a > guard that checks if the admin user exists and only run the code if it does > not exists. > > /Jacob > > On 2017-08-29 18:57, Li Z wrote: > > I am trying to build a Jenkins docker image from jenkins/jenkins:2.67. Is &g

How to disable Plugin Management from Web GUI

2017-08-29 Thread Li Z
Currently, we are deploying Jenkins server using Jenkins Docker image and extending the image by adding some needed plugin using Dockerfile. We do not want Jenkins' users (admins), manually install plugins from Web GUI. Is possible to disable and remove Manage Plugin link from Jenkins Web GUI

Re: How to disable Plugin Management from Web GUI

2017-08-30 Thread Li Z
Thanks Stephen! It works. I will test to see what kind of side-effects it will have. On Tuesday, August 29, 2017 at 11:02:34 PM UTC-7, Li Z wrote: > > Currently, we are deploying Jenkins server using Jenkins Docker image and > extending the image by adding some needed plugin using D

enable environment variables and add variable from Dockerfile

2017-08-30 Thread Li Z
Is there a way to enable environment variables and add variable from Dockerfile or a init.groovy.d script? Thanks -- 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

User log in or last time logged in history

2017-09-01 Thread Li Z
Is there any way to see user last logged in date (time) in Jenkins? Manage user page only show use userId and name. Thanks -- 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, sen

Re: enable environment variables and add variable from Dockerfile

2017-09-05 Thread Li Z
Still have not find any solution yet. On Wednesday, August 30, 2017 at 2:34:17 PM UTC-7, Li Z wrote: > > Is there a way to enable environment variables and add variable from > Dockerfile or a init.groovy.d script? > > Thanks > -- You received this message because you are