Re: Example of a working pod with the kubernetes-ci plugin

2018-03-20 Thread Fadi Al-Farah
I'm also interested in this.. Does this plugin support having a Jenkins 
master running somewhere else and the slaves in the k8s cluster?

On Thursday, December 28, 2017 at 4:17:56 PM UTC-5, Vamsi krishna wrote:
>
> @carlos   
> i checked the logs but there is nothing showing in the logs jenkins is 
> running outside of the cluster.. so i cant use the jenkins if i run outside 
> the cluster.
>
> On Monday, November 21, 2016 at 12:43:08 AM UTC-8, Sébastien Douche wrote:
>>
>> Hi folks, 
>> I try with the kubernetes-ci to create a pod with a container to do some 
>> work (get source code, compile it, etc) and a jnlp container (only used 
>> to connect to the Jenkins server). The goal is to avoid the adding of 
>> the jnlp binary into all my containers. So I tried this: 
>>
>>  
>> apiVersion: "v1" 
>> kind: "Pod" 
>> metadata: 
>>   name: "k8s-slave" 
>>   labels: 
>> name: "k8s-slave" 
>> spec: 
>>   containers: 
>>   - name: "jenkins-slave" 
>> image: "jenkinsci/jnlp-slave" 
>> volumeMounts: 
>> - mountPath: /home/jenkins 
>>   name: workspace-volume 
>> env: 
>> - name: "JENKINS_URL" 
>>   value: "https://XXX"; 
>>   - name: "golang" 
>> image: "golang:1.6.3-alpine" 
>> volumeMounts: 
>> - mountPath: /home/jenkins 
>>   name: workspace-volume 
>>   volumes: 
>> - emptyDir: {} 
>>   name: workspace-volume 
>>  
>>
>> And a trivial job which try to access on the golang container: 
>>
>>  
>> git clone https://github.com/hashicorp/terraform.git 
>> mkdir -p /go/src/github.com/hashicorp 
>> ln -s `pwd` /go/src/github.com/hashicorp/terraform 
>> cd /go/src/github.com/hashicorp/terraform && make core-dev 
>>  
>>
>> It doesn't work 'cause the job have access on the jnlp fs and not the 
>> golang one. What is missing to access on the golang container? 
>>
>>
>>
>> Thanks. 
>>
>>
>> -- 
>> Sébastien Douche  
>> Twitter: @sdouche 
>> http://douche.name 
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/54962d38-41b7-40f3-ad2e-e01576a21875%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Hide/Show button doesn't show up

2016-08-31 Thread Fadi Al-Farah
It was a dumb mistake on my part.. JQuery plugin wasn't installed therefore 
the JS file wasn't working as intended.

On Thursday, August 18, 2016 at 4:06:06 PM UTC-4, Daniel Beck wrote:
>
>
> > On 18.08.2016, at 19:43, Fadi Al-Farah > 
> wrote: 
> > 
> > Weird thing is that they both have the same exact theme.css and 
> theme.js! And both are on version 2.7.2 LTS (latest LTS release) and both 
> have the same plugins installed and extremely similar configurations (there 
> are some differences in the Global Security settings).. 
> > 
> > Is there any idea why this might be happening? 
> > 
>
> Guessing, but likely that one allows anonymous read access while the other 
> does not. 
>
> /userContent is subject to this permission check. 
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/098cb0a1-373b-4374-818c-3b71c1c201f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Hide/Show button doesn't show up

2016-08-31 Thread Fadi Al-Farah
What do you mean? On the VM both "userContent" folders have the same 
permissions and same ownership.

On Thursday, August 18, 2016 at 4:06:06 PM UTC-4, Daniel Beck wrote:
>
>
> > On 18.08.2016, at 19:43, Fadi Al-Farah > 
> wrote: 
> > 
> > Weird thing is that they both have the same exact theme.css and 
> theme.js! And both are on version 2.7.2 LTS (latest LTS release) and both 
> have the same plugins installed and extremely similar configurations (there 
> are some differences in the Global Security settings).. 
> > 
> > Is there any idea why this might be happening? 
> > 
>
> Guessing, but likely that one allows anonymous read access while the other 
> does not. 
>
> /userContent is subject to this permission check. 
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/bed77d14-d2a5-465e-b1a9-d09deb0c657d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Hide/Show button doesn't show up

2016-08-18 Thread Fadi Al-Farah
Hello,

So, I have a custom theme.css + theme.js on two Jenkins instances.. However 
one looks like this:

(I'll call it Jenkins 1):




And one looks like this:


(I'll call it Jenkins 2):





Notice that there's a "Hide/Show" button on top of the description on the 
first one and none on the second.. Also the first one says "Edit" and the 
second one is "edit description", also the login page is different:

Jenkins 1:



Jenkins 2:




Weird thing is that they both have the same exact theme.css and theme.js! 
And both are on version 2.7.2 LTS (latest LTS release) and both have the 
same plugins installed and extremely similar configurations (there are some 
differences in the Global Security settings)..

Is there any idea why this might be happening?

Fadi

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/854122f1-51ee-4bdd-9361-fba75b443af7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Migrate credentials

2016-07-19 Thread Fadi Al-Farah
Right, but where are those keys stored at? ${JENKINS_HOME} is on a seperate 
volume which I literally detach and re-attach on the new VM.. So those keys 
have to be outside the ${JENKINS_HOME}, but where?

On Tuesday, July 19, 2016 at 2:02:21 PM UTC-4, Stephen Connolly wrote:
>
> I would have migrated the encryption keys that way the encrypted values 
> would be the same
>
> On Tuesday 19 July 2016, Fadi Al-Farah > 
> wrote:
>
>> Hello,
>>
>> How do I successfully migrate credentials from one box to another? 
>> Because, the credentials in ${JENKINS_HOME}/credentials.xml are hashed.
>>
>> Please help, as it's really becoming a tedious job to re-enter all the 
>> credentials after migrating.
>>
>> Fadi
>>
>> -- 
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/e15aa263-2d7e-44f2-bfb3-ef1ca89df4d9%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/e15aa263-2d7e-44f2-bfb3-ef1ca89df4d9%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Sent from my phone
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2b247c96-9240-4a64-9feb-3a5008420e84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Migrate credentials

2016-07-19 Thread Fadi Al-Farah
More information: All of jenkins home is in a seperate volume which I'm 
detaching and attaching onto a new VM.. (I've seen this link 
<http://jenkins-ci.361315.n4.nabble.com/How-to-restore-the-setting-encrypted-by-credential-plugin-td4768926.html>
 
before also).. But it still doesn't work..

On Tuesday, July 19, 2016 at 2:00:24 PM UTC-4, Fadi Al-Farah wrote:
>
> Hello,
>
> How do I successfully migrate credentials from one box to another? 
> Because, the credentials in ${JENKINS_HOME}/credentials.xml are hashed.
>
> Please help, as it's really becoming a tedious job to re-enter all the 
> credentials after migrating.
>
> Fadi
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/61c54318-b550-4e9a-8f5f-e5023aad8c65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Migrate credentials

2016-07-19 Thread Fadi Al-Farah
I even posted this question on Stackoverflow 
<http://stackoverflow.com/questions/38465270/wheres-the-encryption-key-stored-in-jenkins>
.

On Tuesday, July 19, 2016 at 2:00:24 PM UTC-4, Fadi Al-Farah wrote:
>
> Hello,
>
> How do I successfully migrate credentials from one box to another? 
> Because, the credentials in ${JENKINS_HOME}/credentials.xml are hashed.
>
> Please help, as it's really becoming a tedious job to re-enter all the 
> credentials after migrating.
>
> Fadi
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6752738e-7f00-48cd-99fb-6d9cba70726b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Migrate credentials

2016-07-19 Thread Fadi Al-Farah
Hello,

How do I successfully migrate credentials from one box to another? Because, 
the credentials in ${JENKINS_HOME}/credentials.xml are hashed.

Please help, as it's really becoming a tedious job to re-enter all the 
credentials after migrating.

Fadi

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e15aa263-2d7e-44f2-bfb3-ef1ca89df4d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins 2.0 alpha release available

2016-04-11 Thread Fadi Al-Farah
Security needs a little bit of a rework in my opinion.

What I mean by that is, I think it's a bad idea to ONLY have one method of 
logging in. Currently the admin can only choose ONE of the following:

- Delegate to servlet container.
- Jenkins’ own user database.
- LDAP.
- Unix user/group database.

I propose to be able to choose multiple methods of login (when it makes 
sense). So something like Jenkins' own user database + LDAP; this way if 
anything happens to the LDAP then the admin can still login and do stuff.. 
etc.

Thanks,

Fadi

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f9f326d6-3f08-4a6c-9d78-f72da36ef6a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multiple Jenkins possible ? - quick question

2015-11-04 Thread Fadi Al-Farah
Thank you, I've managed to get things working! :)

On Friday, October 16, 2015 at 12:22:08 PM UTC-4, Khai Do wrote:
>
> it's in the wiki, in 'configuring multiple jenkins masters section'. 
>
> On Thu, Oct 15, 2015 at 12:00 PM, Fadi Al-Farah  > wrote: 
> > Yes I've tried, the instructions from the wiki. I'm at the point where 
> I'm 
> > trying to setup a gearman server, but I don't think it's running. (When 
> I 
> > try to Test the connection from Jenkins, it fails). 
> > 
> > Is there a tutorial out there that has a walkthrough on how to get it 
> setup 
> > to make Jenkins HA? 
> > 
> > On Thursday, October 15, 2015 at 2:42:55 PM UTC-4, Khai Do wrote: 
> >> 
> >> Well, there are instructions on the wiki.  What have you tried? 
> >> 
> >> On Thu, Oct 15, 2015 at 11:39 AM, Fadi Al-Farah  
> wrote: 
> >> > Hello, I am trying to use the Gearman Plugin but I have no idea how 
> to 
> >> > set 
> >> > it up to make Jenkins as high-availibility(ish)... 
> >> > 
> >> > On Tuesday, July 14, 2015 at 2:20:53 PM UTC-4, Khai Do wrote: 
> >> >> 
> >> >> We use the Jenkins gearman plugin 
> >> >> (https://wiki.jenkins-ci.org/display/JENKINS/Gearman+Plugin) to run 
> >> >> jenkins 
> >> >> in a multi master configuration.  That plugin is open source so no 
> need 
> >> >> to 
> >> >> buy cloudbees solution. 
> >> > 
> >> > -- 
> >> > You received this message because you are subscribed to a topic in 
> the 
> >> > Google Groups "Jenkins Users" group. 
> >> > To unsubscribe from this topic, visit 
> >> > 
> >> > 
> https://groups.google.com/d/topic/jenkinsci-users/koaeG45jEfc/unsubscribe. 
>
> >> > To unsubscribe from this group and all its topics, send an email to 
> >> > jenkinsci-use...@googlegroups.com. 
> >> > To view this discussion on the web visit 
> >> > 
> >> > 
> https://groups.google.com/d/msgid/jenkinsci-users/99fa0190-38fe-4a31-96a4-7a8cd83bc15c%40googlegroups.com.
>  
>
> >> > 
> >> > For more options, visit https://groups.google.com/d/optout. 
> > 
> > -- 
> > You received this message because you are subscribed to a topic in the 
> > Google Groups "Jenkins Users" group. 
> > To unsubscribe from this topic, visit 
> > 
> https://groups.google.com/d/topic/jenkinsci-users/koaeG45jEfc/unsubscribe. 
>
> > To unsubscribe from this group and all its topics, send an email to 
> > jenkinsci-use...@googlegroups.com . 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/jenkinsci-users/4f52b480-345d-4ee4-b929-cc921064ef01%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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/53a83389-c7f3-44f4-852d-8e6d28e40b7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multiple Jenkins possible ? - quick question

2015-11-04 Thread Fadi Al-Farah
Yes, but my problem is with setting up gearman itself. I didn't even reach 
the point where I can hookup Jenkins to it yet. Is there a detailed 
instructions on how to setup gearman itself (with the purpose of setting 
Jenkins HA with it?)

For example, I'm not quite sure if I would need to spin up a dedicated VM 
just for gearman or install it along with Jenkins (in one VM), also there 
are many types of gearman? So, which one do I get gearman for java? Also 
how do you run it after installing? I'm just confused overall about the 
whole setup process as I've never done this before and I cannot find a 
proper tutorial online for it.

On Friday, October 16, 2015 at 12:22:08 PM UTC-4, Khai Do wrote:
>
> it's in the wiki, in 'configuring multiple jenkins masters section'. 
>
> On Thu, Oct 15, 2015 at 12:00 PM, Fadi Al-Farah  > wrote: 
> > Yes I've tried, the instructions from the wiki. I'm at the point where 
> I'm 
> > trying to setup a gearman server, but I don't think it's running. (When 
> I 
> > try to Test the connection from Jenkins, it fails). 
> > 
> > Is there a tutorial out there that has a walkthrough on how to get it 
> setup 
> > to make Jenkins HA? 
> > 
> > On Thursday, October 15, 2015 at 2:42:55 PM UTC-4, Khai Do wrote: 
> >> 
> >> Well, there are instructions on the wiki.  What have you tried? 
> >> 
> >> On Thu, Oct 15, 2015 at 11:39 AM, Fadi Al-Farah  
> wrote: 
> >> > Hello, I am trying to use the Gearman Plugin but I have no idea how 
> to 
> >> > set 
> >> > it up to make Jenkins as high-availibility(ish)... 
> >> > 
> >> > On Tuesday, July 14, 2015 at 2:20:53 PM UTC-4, Khai Do wrote: 
> >> >> 
> >> >> We use the Jenkins gearman plugin 
> >> >> (https://wiki.jenkins-ci.org/display/JENKINS/Gearman+Plugin) to run 
> >> >> jenkins 
> >> >> in a multi master configuration.  That plugin is open source so no 
> need 
> >> >> to 
> >> >> buy cloudbees solution. 
> >> > 
> >> > -- 
> >> > You received this message because you are subscribed to a topic in 
> the 
> >> > Google Groups "Jenkins Users" group. 
> >> > To unsubscribe from this topic, visit 
> >> > 
> >> > 
> https://groups.google.com/d/topic/jenkinsci-users/koaeG45jEfc/unsubscribe. 
>
> >> > To unsubscribe from this group and all its topics, send an email to 
> >> > jenkinsci-use...@googlegroups.com. 
> >> > To view this discussion on the web visit 
> >> > 
> >> > 
> https://groups.google.com/d/msgid/jenkinsci-users/99fa0190-38fe-4a31-96a4-7a8cd83bc15c%40googlegroups.com.
>  
>
> >> > 
> >> > For more options, visit https://groups.google.com/d/optout. 
> > 
> > -- 
> > You received this message because you are subscribed to a topic in the 
> > Google Groups "Jenkins Users" group. 
> > To unsubscribe from this topic, visit 
> > 
> https://groups.google.com/d/topic/jenkinsci-users/koaeG45jEfc/unsubscribe. 
>
> > To unsubscribe from this group and all its topics, send an email to 
> > jenkinsci-use...@googlegroups.com . 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/jenkinsci-users/4f52b480-345d-4ee4-b929-cc921064ef01%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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ff627686-4f79-44d2-9c67-da272131be00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multiple Jenkins possible ? - quick question

2015-10-15 Thread Fadi Al-Farah
Yes I've tried, the instructions from the wiki. I'm at the point where I'm 
trying to setup a gearman server, but I don't think it's running. (When I 
try to Test the connection from Jenkins, it fails).

Is there a tutorial out there that has a walkthrough on how to get it setup 
to make Jenkins HA?

On Thursday, October 15, 2015 at 2:42:55 PM UTC-4, Khai Do wrote:
>
> Well, there are instructions on the wiki.  What have you tried? 
>
> On Thu, Oct 15, 2015 at 11:39 AM, Fadi Al-Farah  > wrote: 
> > Hello, I am trying to use the Gearman Plugin but I have no idea how to 
> set 
> > it up to make Jenkins as high-availibility(ish)... 
> > 
> > On Tuesday, July 14, 2015 at 2:20:53 PM UTC-4, Khai Do wrote: 
> >> 
> >> We use the Jenkins gearman plugin 
> >> (https://wiki.jenkins-ci.org/display/JENKINS/Gearman+Plugin) to run 
> jenkins 
> >> in a multi master configuration.  That plugin is open source so no need 
> to 
> >> buy cloudbees solution. 
> > 
> > -- 
> > You received this message because you are subscribed to a topic in the 
> > Google Groups "Jenkins Users" group. 
> > To unsubscribe from this topic, visit 
> > 
> https://groups.google.com/d/topic/jenkinsci-users/koaeG45jEfc/unsubscribe. 
>
> > To unsubscribe from this group and all its topics, send an email to 
> > jenkinsci-use...@googlegroups.com . 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/jenkinsci-users/99fa0190-38fe-4a31-96a4-7a8cd83bc15c%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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4f52b480-345d-4ee4-b929-cc921064ef01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multiple Jenkins possible ? - quick question

2015-10-15 Thread Fadi Al-Farah
Hello, I am trying to use the Gearman Plugin but I have no idea how to set 
it up to make Jenkins as high-availibility(ish)...

On Tuesday, July 14, 2015 at 2:20:53 PM UTC-4, Khai Do wrote:
>
> We use the Jenkins gearman plugin (
> https://wiki.jenkins-ci.org/display/JENKINS/Gearman+Plugin) to run 
> jenkins in a multi master configuration.  That plugin is open source so no 
> need to buy cloudbees solution. 
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/99fa0190-38fe-4a31-96a4-7a8cd83bc15c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.