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 copyImages (type: Copy)…

Read more »

Top 10 best DevOps Tools and Certification to Utilize In 2020 – 2021.

Here, I am going to tell you about Top 10 best DevOps Tools and Certification to Utilize In 2019 – 2020, which will be helpful for your Bright future. 1….

Read more »

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] Read more about…

Read more »

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>” https://jenkins/script # or…

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…

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

Read more »

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 which open source…

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…

Read more »

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 and Run Building…

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

Read more »

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. Step 2 –…

Read more »

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 value of P4USER,…

Read more »

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 where you installed…

Read more »

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 of jenkins SEVERE:…

Read more »

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 Using Python &…

Read more »

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 Server2. Do you…

Read more »

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 # timeout=10> C:\Program Files…

Read more »

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 working on…

Read more »

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 on master in…

Read more »

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 Java (Java 1.6…

Read more »