Tag Archives: Jenkins

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 »

Does Jenkins let you create branches?

sathiya created the topic: Does Jenkins let you create branches? All, At my workplace we create weekly branches for releases. I tried p4 integ and p4 submit inside Jenkins so I could schedule branching. I used export to setup P4PORT and P4CLIENT. It dies saying files not in client view. Can you schedule Jenkins to… Read More »

/usr/bin/p4 error in windows machine with jenkins

rajeshkumar created the topic: /usr/bin/p4 error in windows machine with jenkins Issues: [workspace] $ “C:\Program Files\Perforce\p4.exe” login -p [workspace] $ /usr/bin/p4 login -p Solution: This must be related to value of P4USER, P4PORT, P4PASSWD or P4TICKET variable is not getting passed to Jenkins. Try following.. Restart Machine or Restart Services OR Set P4USER, P4PORT, P4PASSWD… Read More »

How to Change Jenkins HTTP port number?

scmuser created the topic: How to Change Jenkins HTTP port number? How to Change Jenkins HTTP port number? rajeshkumar replied the topic: How to Change Jenkins HTTP port number? For Windows (service installation) Edit jenkins.xml or hudson.xml Navigate to the directory where you installed Jenkins/Hudson and you will see the XML at the root. Open… Read More »