Archive for the ‘Jenkins’ Category:

How to execute grovvy script remotely on Jenkins server?

A Jenkins Admin can execute groovy scripts remotely by sending an HTTP POST request to /script/ url or /scriptText/. curl example via bash curl submitting groovy file via bash curl submitting groovy file providing username and password via bash Jenkins CLI offers the possibility to execute groovy scripts remotely using groovy command or execute groovy

(Read More…)

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…)

Tags: ,

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…)

Enabling Jenkins integration with Silk Central Test Manager

Enabling Jenkins integration with Silk Central Test Manager Enabling jenkins integration with silk central test manager

Jenkins Remote access API Example | Jenkins Tutorial

Jenkins Remote access API Example Jenkins provides machine-consumable remote access API to its functionalities. Currently it comes in three flavors: XML JSON with JSONP support Python Remote access API is offered in a REST-like style. That is, there is no single entry point for all features, and instead they are available under the “…/api/” URL

(Read More…)

Environment variables and properties defined in jenkins | Jenkins Tutorial

Environment variables and properties defined in jenkins Jenkins Set Environment Variables When a Jenkins job executes, it sets some environment variables that you may use in your shell script, batch command, Ant script or Maven POM 1. The following table contains a list of all of these environment variables. Environment Variable Description BUILD_NUMBER The current build

(Read More…)

Complete guide to use Jenkins CLI / Command line | Jenkins Tutorials

Complete guide to use Jenkins CLI / Command line? Run Jenkins build from command is very simple in Linux system. If you are using using windows, gitbash is a recommended which has bash shell in built. You can use windows command line as well. Jenkins has support to command line client that allows you to

(Read More…)

How to Trigger builds remotely in Jenkins? | Jenkins Tutorials | scmGalaxy

How to Trigger builds remotely in Jenkins? 1. Create a user – You need to create a user in jenkins using you would like to trigger a jenkins jobs from remote loction or script How to create users in Jenkins? Manage Jenkins –> Manage Users –> Create User 2. Assign a right privillage to the

(Read More…)

© Tutorials
CyberChimps