Scripting in Jenkins with Groovy and others Scripting Language
How to run/execute groovy script in Jenkins? Database of Groovy Script for Jenkins Automation Script to check the build status of a Jenkins job
Jenkins Commmands Line and REST API Complete Reference
Jenkins commands lines reference from jenkins Know About Jenkins CLI | Jenkins CLI Guide Understand Jenkins CLI | Jenkins CLI Reference Jenkins Remote access API Example |…
Jenkins How to do Guide, Tips, Tricks and Troubleshootings
How to attach the jenkins build log as part of the email body? How to attach the jenkins build log as part of the email body? How…
How to Schedule and Trigger a Jenkins job automatically?
Method 1 – AT CERTAIN TIME AKA Build periodically Method 2 – AT CERTAIN TIME BUT Build only when there is Code changes AKA Poll SCM Method…
Jenkins Errors and Solutions Database
Jenkins Error: Running two Java Versions – Jenkins Problem in Mac OS Jenkins Error: /usr/bin/p4 error in windows machine with jenkins Jenkins Error: Jenkins time-out while pushing…
Jenkins Error: Running two Java Versions – Jenkins Problem in Mac OS
Hi Everyone – Today we are going to discuss about how to have two version of Java Development Kit running in MAC OS and how to switch…
How to disable/Uninstalling Jenkins a plugin when Jenkins is down using command line?
Issue A plugin is preventing Jenkins to restart I need to disable a plugin and Jenkins is down How to Uninstall a jenkins plugin using command line?…
Jenkins Interview Questions and Answers – Part 6
What are the parts of the task lifecycle Execution Initialization, Configuration, Execution (Ans) Initialization, Configuration, Execution, Finalization Configuration, Execution How do you declare a typed task? task…
Jenkins Interview Questions and Answers – Part 5
The easiest way to get a plugin for Jenkins is ______________ . from inside Jenkins itself (Ans) by building it from source creating a plugin request call…
Jenkins Interview Questions and Answers – Part 4
An important step in making sure that the build process is taken seriously is to ________ . never leave the build in a broken state (Ans) send…
Jenkins Interview Questions and Answers – Part 3
What is Jenkins ? Why we use Jenkins ? What are the other tools/technologies present in market other than jenkins for CI/CD ? How to move Jenkins…
Jenkins Interview Questions and Answer – Part 2
beginner Explain what is Jenkins and what is it used for Explain each of the following in the context of nodes: Master Slave Executor Agent Label Explain…
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. [code]node(‘master’) {dir(‘/path/on/master/1’) {stash ‘master-stuff’}}node(‘slave’) {dir(‘/path/on/slave/1’) {unstash ‘master-stuff’}dir(‘/path/on/slave/2’) {stash ‘slave-stuff’}}node(‘master’) {dir(‘/path/on/master/2’) {unstash ‘slave-stuff’}} [/code]…
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 [code] curl -d “script=<your_script_here>”…
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…
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…
How Jenkins works? 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…
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…
Build Scala Project using sbt and Jenkins
Build Scala Project using sbt and Jenkins Agenda Scala – A Scalable language Scala Download Scala Software Requirement Scala IDEs Scala Install Configuration Scala First Program Compile…
Enabling Jenkins integration with Silk Central Test Manager
Enabling Jenkins integration with Silk Central Test Manager Enabling jenkins integration with silk central test manager
Does Jenkins let you create branches?
To craete a new git branch using jenkins, you may follow the steps. Step 1 – Edit the job which you are using to create a branch….
Jenkins Error: /usr/bin/p4 error in windows machine with jenkins
rajeshkumar created the topic: /usr/bin/p4 error in windows machine with jenkinsIssues: [workspace] $ “C:\Program Files\Perforce\p4.exe” login -p[workspace] $ /usr/bin/p4 login -p Solution: This must be related to…
How to Change Jenkins HTTP port number?
How to Change Jenkins HTTP port number? Change a jenkins web http port in WindowsStep 1 – Stop the jenkins servicesStep 2 – Go to the directory…
Jenkins Upgrade and Solution!!!
rajeshkumar created the topic: Jenkins Upgrade and Solution!!!Issues 1: You will find these entry in jenkins log file which will take longer time to start the services…
Script to check the build status of a Jenkins job
Using JSON & Curl [code]BUILD_STATUS=$(curl –user USER:TOKEN_VALUE –silent $BUILD_URLapi/json | jq -r ‘.result’)echo $BUILD_STATUS[/code] Using jenkins PluginsPlugins Name – Conditional Build Step For Implementations, Please check here.https://stackoverflow.com/questions/11125598/getting-the-build-status-in-post-build-script…
Jenkins plugin list sometimes shows up empty
If you are unable to see the list of any plugins, there may be isuses with following reasons. 1. Check the internet if its connected with jenkins…
Jenkins Error: Jenkins time-out while pushing to github
rajeshkumar created the topic: Jenkins time-out while pushing to githubC:\Build_WS\BuildDeployment>exit 0Pushing HEAD to branch master at repo originusing .gitcredentials to set credentials> C:\Program Files (x86)\Git\bin\git.exe –version #…
Jenkins Error: Jenkins Workspace Issue
pasupuleti2 created the topic: Jenkins Workspace IssueMost of our jobs which are running on the Windows systems are failing due to issues in “deleting the workspace”. Our…
Jenkins Error: java.io.IOException: Failed to rename jenkins
rajeshkumar created the topic: java.io.IOException: Failed to rename jenkinsToday while setting up the maven automatic install setup with jenkins, i found following issues…. Started by user anonymousBuilding…
Can We Change Setting In Jenkins As It Picks Desire Version Of Java.
Namit created the topic: Can we change setting in Jenkins as it picks desire version of Java. In my Linux server i do have two version of…
