Jenkins Tutorials: Jenkins Environment Variables in PowerShell
The following variables are available to PowerShell scripts $ENV:BUILD_NUMBERThe current build number, such as “153” $ENV:BUILD_IDThe current build id, such as “2005-08-22_23-59-59” (YYYY-MM-DD_hh-mm-ss) $ENV:JOB_NAMEName of the project…
Grafana Tutorials: Display Jenkins Build Status on Grafana using prometheus?
Step – 1: Install Grafana server Step – 2: Install Jenkins Server Step – 3: Install prometheus Server? Jenkins Prometheus Plugin expose an endpoint (default /prometheus) with…
How to upload Package to Nexus using jenkins Pipeline
https://support.sonatype.com/hc/en-us/articles/227256688-How-do-I-configure-the-Nexus-Jenkins-Plugin Scripted Pipeline
How to display selenium html report using jenkins pipeline?
Step 1 – Install seleniumhtmlreport https://plugins.jenkins.io/seleniumhtmlreport/ Step 2 – Use following code
Jenkins Tutorials: Scripted Pipeline jenkinsfile example
Pipeline: Basic Steps catchError: Catch error and set build result to failure deleteDir: Recursively delete the current directory from the workspace dir: Change current directory echo: Print…
Nexus Integration with Jenkins to Upload/Download Package
This post is pictorial representations of Nexus Integration with Jenkins to Upload/Download Package. Step 1 – Install PluginsStep 2 – Config pluginsStep 3 – Use Plugins Step…
What is Jenkins and How does it work? An Overview and Its Use Cases
History & Origin of Jenkins The Jenkins project was started in 2004 (originally called Hudson) by Kohsuke Kawaguchi, while he worked for Sun Microsystems. Kohsuke was a…
Jenkins troubleshooting & Debugging Techniques
Code Issues Compilation issues Test Code Issues Builder Issues Script Issues Environement Issues RAM HDD CPU TOOLS MISSING VERSION MISMTACH PATH issues Permisssion Dependendent Services Plugins Issues…
Jenkins Backup and Restore using ThinBakcup
Step 1 – Install ThinBackup Plugins Step 2 – Configure ThinBackup Plugins
How to Login to Jenkins using commands and API?
Working commands for Login ##Command to know the status of Build? ##Trigger a Jenkins Job without authentication ##Trigger a Jenkins Job with authentication ##Running commands against a…
Jenkins commands lines reference from jenkins using jenkins-cli.jar
You can access various features in Jenkins through a command-line tool. See the documentation for more details of this feature. To get started, download jenkins-cli.jar, and run it as follows:…
Jenkins Labs and Exercise – 2
Exercise 2 Add a Linux Node (Also Check SSH Slaves plugin plugins) Add a Windows Node Assign a Java Based Job to Linux and Build it Assign a MSBuild…
Understanding Authentication and Authorization methods in jenkins
Authentication – How to login into JenkinsAuthorization – User’s permissions to do in Jenkins How to login into Jenkins or supported authentication methods in jenkins? Delegate to…
How to create a Pipeline jobs in Jenkins?
You can make pipeline using any one of the following ways. Use “Build Pipeline” plugin if you have already setup a jobs in Jenkins Use “Pipeline” plugin…
How to enable jenkins to send an email?
Step 1 – Install following plugins Mailer Plugin – Basic Email Extension Plugin Step 2 – Setup FROM email address on “System Admin e-mail address” http://13.235.81.87:8080/configure Step…
How to enable jenkins to send an chat message using team and slack?
Step 1 – Install a jenkins plugins Office 365 Connector Slack Notification Step 2 – Configure plugins at http://13.235.81.87:8080/configure Section called “Office 365 Connector” Section called “Slack”…
Top Jenkins interview questions and answers
What is a basic requirement for using Jenkins? To use Jenkins you require:Â A source code repository that is accessible, for instance, a Git repository. A working build…
What is Jenkins?
Jenkins provides us seamless ways to set up a CI/CD environment for almost any combination of code languages and source code repositories using pipelines. It is an…
How to Integrate Artifactory with Jenkins?
Step – 1 – Install “Artifactory” Jenkins plugins Step – 2 – Configure Artifactory servers Step – 3 – Configure Jenkins Jobs
Jenkins Interview Questions & Answers Sets
What is Jenkins? What have you used it for? Jenkins is an open source automation tool written in Java with plugins built for Continuous Integration purpose. Jenkins…
How to build jobs in jenkins when a change is pushed to Bitbucket
  Bitbucket plugin is designed to offer integration between Bitbucket and Jenkins.  It exposes a single URI endpoint that you can add as a WebHook…
How to trigger a jenkins job when code is pushed to github using “GitHub hook trigger for GITScm polling”
The GitHub plugin for Jenkins is the most basic plugin for integrating Jenkins with GitHub projects. If you are a GitHub user, this plugin enables you…
How to Trigger builds remotely in Jenkins? | Jenkins Tutorials
 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 Jenkins Job using “Build periodically” and “Poll SCM”
Method 1 – AT CERTAIN TIME AKA Build periodically Method 2 – AT CERTAIN TIME BUT Build only when there is Code changes AKA Poll SCM Setting…
