Re: How to override the environment variables for Jenkins slave when adding new slave to the Jenkins master?

2016-06-29 Thread Baptiste Mathus
I didn't say you have to script it. Using a custom URL is a standard feature of the Tools management in Jenkins. About your question, note that Tools management isn't related to the cloud provider you're using. Cheers Le 29 juin 2016 6:01 PM, "praveen" a écrit :

Re: How to override the environment variables for Jenkins slave when adding new slave to the Jenkins master?

2016-06-29 Thread praveen
I prefer to install tool in the configuration rather than script to get the binary from an URL. The thing is I didn't get any idea to install the tool as part of spin up the dynamic instance(ec2 plugin not has any configuration

Re: How to override the environment variables for Jenkins slave when adding new slave to the Jenkins master?

2016-06-29 Thread Baptiste Mathus
Side note: don't install tools downloading directly from the provider. It's nice to use as a PoC, but if for some reason those services go down for a while, you're gonna have issues. There have been things about that king oh thing in the past (was it the npm repo?) explaining that. You want to set

Re: How to override the environment variables for Jenkins slave when adding new slave to the Jenkins master?

2016-06-28 Thread 'Björn Pedersen' via Jenkins Users
Hi, can you check if the necessary parent dirs are there on the slave and have the correct access permissions for the jenkins user? /home/csbuild/build And can the slave reach the https://repo.maven.apache.org

Re: How to override the environment variables for Jenkins slave when adding new slave to the Jenkins master?

2016-06-28 Thread praveen
Jenkins system configuration also consisting of this section. on-demand slave that I've configured not using either of this configuration. Jenkins version 1.656 On Thursday, June 23, 2016 at 3:14:20 PM UTC-7, praveen wrote: > > Configured automatic slaves for couple jobs on Jenkins using

Re: How to override the environment variables for Jenkins slave when adding new slave to the Jenkins master?

2016-06-27 Thread Mark Waite
That's a surprising screen shot that you included. The Maven installations section on my Jenkins 1.651.3 installation does not have a field for MAVEN_HOME. I believe Jenkins computes the correct value for MAVEN_HOME entirely on its own in my case. Any idea what's different between your

Re: How to override the environment variables for Jenkins slave when adding new slave to the Jenkins master?

2016-06-27 Thread praveen
I've tried to install the maven automatically, But It was not working. Jenkins master configuration is like this install - install maven automatically (version 3.0.5), However slave(on-demand) unable to install maven on the target directory(slave was spun up with the AWS ec2 plugin). My builds

Re: How to override the environment variables for Jenkins slave when adding new slave to the Jenkins master?

2016-06-26 Thread Mark Waite
On Thu, Jun 23, 2016 at 9:14 PM praveen wrote: > Yes. We can install a tool on a Jenkins slave as part of the job. I wanted > to install the tool on slave before connect it as slave to the master so > then there is no need to install the tool on slave. Regarding

Re: How to override the environment variables for Jenkins slave when adding new slave to the Jenkins master?

2016-06-24 Thread praveen
Yes. We can install a tool on a Jenkins slave as part of the job. I wanted to install the tool on slave before connect it as slave to the master so then there is no need to install the tool on slave. Regarding the script, I'll change the script accordingly as you specified. Thank you so much

Re: How to override the environment variables for Jenkins slave when adding new slave to the Jenkins master?

2016-06-24 Thread praveen kumar jogi
Yes. We can install a tool on a Jenkins slave as part of the job. I wanted to install the tool on slave before connect it as slave to the master so then there is no need to install the tool on slave. Regarding the script, I'll change the script accordingly as you specified. Thank you so much for

How to override the environment variables for Jenkins slave when adding new slave to the Jenkins master?

2016-06-23 Thread praveen kumar jogi
Configured automatic slaves for couple jobs on Jenkins using ec2 plugin . I need to override couple of environment variables for the slave before connecting to master. Here is the init script that used to run before it connect as