On Fri, Dec 26, 2014 at 8:36 PM, <bms50...@gmail.com> wrote: > Hi, > > I currently use Jenkins at my workplace for automated builds. My job title > is Build Manager, so I do daily baselines/releases. I have just started > using bash scripts for creating released files. I would like to learn it > more in depth. Does anyone have any online tutorials or books that are > helpful in bash scripting? I'd also like to learn a general purpose > scripting language that might come in handy. I notice that most jobs out > there have listed Python, Perl, and Ruby. Is there one that anyone would > recommend? Python looks easy to learn out of the three, but I was wondering > if there was a common language used in configuration management or another > scripting language that would come in handy with Jenkins. Thanks in advance. >
As far as learning bash goes, it is not so much a matter of learning the syntax itself so much as understanding all the other separate executables and unix tools that you can orchestrate within a script. For other languages, perl has a big advantage in terms of the huge library of high-level libraries/modules available in CPAN - pretty much everything you would want to do has already been done and is available there, greatly reducing the amount of new code you have to write yourself. In the context of jenkins or if any of your builds are java-related you might want to look at groovy. It has the disadvantage as a command line tool of having to start up a jvm, but as a tradeoff, you can 'import' any compiled java jar files and call their methods - or inside of a jenkins job the groovy plugin can access most of its internals. It is easier to understand groovy if you have some background in java, but you can learn to use it as a scripting tool anyway. -- Les Mikesell lesmikes...@gmail.com -- 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/CAOAgVpx_qEeoSCopim4cAmQHgcryJ_ii4ELMZcnkCSBwGB1trg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.