Category Archives: Jenkins

Copy a files from jenkins server to jenkins node/slave using pipeline plugins

Workarond 1 – Try to use stash/unstash, but it is bad for large files. Read more about stash & unstash https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/#stash-stash-some-files-to-be-used-later-in-the-build https://jenkins.io/doc/pipeline/examples/#unstash-different-dir Workarond 2 – Try External Workspace Manager Plugin. It has pipelines steps and good for large files. Workarond 3 – Try to use an intermediate storage. archive() and sh(“wget $url”) will be helpful.

How to run/execute groovy script in Jenkins?

Here are the List of way using you can apply grovy code in Jenkins Method -1: Groovy plugin This plugin adds the ability to directly execute Groovy code. More info – https://wiki.jenkins.io/display/JENKINS/Groovy+plugin Method -2: Jenkins script console The inbuilt script console is a very useful and powerful Jenkins extension and ideally suits certain types of… Read More »

Database of Groovy Script for Jenkins Automation

Here are the list of Groovy Script which can be used in Jenkins to automate the JOBs and CI process. Please add your list in the comment sections as well. Main Source –  https://github.com/scmgalaxy/jenkins-groovy-script-example https://github.com/cloudbees/jenkins-scripts https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console https://pghalliday.com/jenkins/groovy/sonar/chef/configuration/management/2014/09/21/some-useful- jenkins-groovy-scripts.html https://github.com/cloudbees/jenkins-scripts https://github.com/jenkinsci/jenkins-scripts https://gist.github.com/dnozay/e7afcf7a7dd8f73a4e05 https://github.com/samrocketman/jenkins-bootstrap-shared https://github.com/samrocketman/jenkins-script-console-scripts Example Groovy Script  Activate Chuck Norris Plugin — This script activates Chuck Norris plugin for… Read More »

Jenkins Architecture Explained!!!

Jenkins is continuous integration tools which help to integrate other tools to automate the software development activity and repetitive tasks. Jenkins has 2 releases. One, Community version which open source and free and another one is Jenkins Enterprise which is from Cloud bees for enterprise. Jenkins is extremely powerful with vast amount of plug-in supported.… Read More »

Difference between jenkins and Urbancode build

What is the difference between jenkins and Urbancode build? jenkins Urbancode build Jenkins is open framework for automating the repeative tasks and has great plugins which can be used to create entire automated customized continous integration framework. Urbancode build(uBuild) is for automating the repeative tasks and has great limited sets of plugins which can be… Read More »

Hudson plugin development in Eclipse

rajeshkumar created the topic: Hudson plugin development in Eclipse I’m following the instructions to create a plugin workspace located at: wiki.hudson-ci.org/display/HUDSON/Plugin+tutorial however, when I run the setup (mvn hpi:run), the plugin doesn’t show up as a configuration option in the Hudson Management console. It does show up as an installed plugin in the Plugin Manager.… Read More »

Questions on Hudson

scmuser created the topic: Questions on Hudson Hi, I have setup Hudson successfully and covered all most all the features. But Still i have some question which want to get clarify with the help of community members. 1. Each Project Build Number in Hudson and build artifact folder naming are different. How can we match… Read More »