I don't open a browser to do any of my automated installation with Jenkins.

I store a copy of jenkins-cli.jar in the source control system, then have 
wrapped a python script around the calls I need to make.  Periodically, I 
update the jenkins-cli.jar file that is checked into the source master and that 
has been sufficient for my needs.

I agree that you don't want to too many manual steps, but the CLI is very much 
able to perform those steps without requiring a browser.

Mark Waite



>________________________________
> From: Christopher Carlson <[email protected]>
>To: "[email protected]" <[email protected]> 
>Sent: Monday, August 19, 2013 11:56 AM
>Subject: RE: How to download plugins from Linux shell
> 
>
>
> 
>I really appreciate your quick response.
> 
>My goal was to make this process as easy as possible.  I’m presuming some 
>non-technical person might get charged with the task of creating a new server 
>in Timbuktu.  Requiring him to open a browser, connect to Jenkins, log in, 
>download jenkins-cli.jar, then go to a shell and run a script seemed like a 
>lot.
> 
>Thanks again for your ideas.  I may be forced to take that route.
> 
> 
>Chris Carlson
>Sr. Software Engineer
>Zodiac Inflight Innovations
> 
>2929 E. Imperial Hwy.
>Brea, CA 92821 USA
>P: 714.854.8478
>www.imsco-us.com
> 
>From:[email protected] 
>[mailto:[email protected]] On Behalf Of Mark Waite
>Sent: Monday, August 19, 2013 10:53 AM
>To: [email protected]
>Subject: Re: How to download plugins from Linux shell
> 
>You're correct that the Jenkins server must be running in order to use the 
>command line interface.  I've preferred to use Jenkins to configure Jenkins, 
>since that assures the configuration is kept consistent through Jenkins' own 
>internal checks, and always takes the most recent Jenkins plugins.  I've 
>actually liked that Jenkins needs to be running in order to install the 
>plugins.
> 
>If that doesn't work for you, you'll need to find another technique.
> 
>Mark Waite
> 
>>
>>________________________________
>> 
>>From:Christopher Carlson <[email protected]>
>>To: "[email protected]" <[email protected]> 
>>Sent: Monday, August 19, 2013 11:44 AM
>>Subject: RE: How to download plugins from Linux shell
>> 
>>It appears to me that this requires Jenkins to be installed and running.  We 
>>don’t have a head on our Jenkins server, so our only access is ssh or the 
>>Jenkins web page.
>> 
>>I’m trying to make this as simple as possible.  I like the cli concept, but I 
>>also want to avoid starting Jenkins until the build machine is entirely set 
>>up.
>> 
>>Is there a way to download jenkins-cli.jar from a shell script?
>> 
>> 
>>Chris Carlson
>>Sr. Software Engineer
>>Zodiac Inflight Innovations
>> 
>>2929 E. Imperial Hwy.
>>Brea, CA 92821 USA
>>P: 714.854.8478
>>www.imsco-us.com
>> 
>>From:[email protected] 
>>[mailto:[email protected]] On Behalf Of Mark Waite
>>Sent: Monday, August 19, 2013 10:33 AM
>>To: [email protected]
>>Subject: Re: How to download plugins from Linux shell
>> 
>>The Jenkins command line interface can install plugins and restart the 
>>Jenkins server.
>> 
>>Refer to https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI
>> 
>>Mark Waite
>> 
>>>
>>>________________________________
>>> 
>>>From:Christopher Carlson <[email protected]>
>>>To: [email protected] 
>>>Sent: Monday, August 19, 2013 11:31 AM
>>>Subject: How to download plugins from Linux shell
>>> 
>>>Is it possible to download plugins using a bash shell script?
>>> 
>>>Our company would like to be able to automate setting up a build machine, 
>>>and we want to limit the amount of steps required.  They want something like:
>>>     1. Install Jenkins
>>>     2. svn co .../stable/jenkins
>>>     3. ./InstallPlugins
>>>This way, the only things maintained in subversion are the jobs, scripts and 
>>>anything that can't be downloaded from the Internet.
>>> 
>>>Thanks for any assistance you can provide.
>>> 
>>>-- 
>>>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 [email protected].
>>>For more options, visit https://groups.google.com/groups/opt_out.
>>> 
>>-- 
>>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 [email protected].
>>For more options, visit https://groups.google.com/groups/opt_out.
>> 
>>
>>________________________________
>> 
>>
>>
>>This email and any files transmitted with it are confidential & proprietary 
>>to Systems and Software Enterprises, LLC. This information is intended solely 
>>for the use of the individual or entity to which it is addressed. Access or 
>>transmittal of the information
 contained in this e-mail, in full or in part, to any other organization or 
persons is not authorized.
>>-- 
>>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 [email protected].
>>For more options, visit https://groups.google.com/groups/opt_out.
>> 
>-- 
>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 [email protected].
>For more options, visit https://groups.google.com/groups/opt_out.
>>________________________________
> 
>
>This email and any files transmitted with it are confidential & proprietary to 
>Systems and Software Enterprises, LLC. This information is intended solely for 
>the use of the individual or entity to which it is addressed. Access or 
>transmittal of the information
 contained in this e-mail, in full or in part, to any other organization or 
persons is not authorized.
> 
-- 
>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 [email protected].
>For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to