Quantcast
Channel: Jenkins
Browsing latest articles
Browse All 28 View Live

Jenkinsfile Node Example

The node block in a Jenkinsfile allows you to specify a series of steps that should be run on a particular node. A node is a machine that is part of the Jenkins environment and is capable of executing...

View Article


Jenkinsfile If Else

Control flow refers to the order in which instructions in a computer program are executed. It allows a programmer to specify the steps that should be taken based on different conditions or inputs,...

View Article


Image may be NSFW.
Clik here to view.

Jenkinsfile Choice Parameter

In Jenkins, the “Choice Parameter” is a parameter that allows you to select a single value from a predefined list of values. This can be useful when you want to allow users to select from a list of...

View Article

Image may be NSFW.
Clik here to view.

Jenkinsfile Checkout SCM

The Source Code Management or SCM refers to the version control system (VCS) which is used to manage a project’s source code. Jenkins supports multiple SCM systems including Git, Subversion,...

View Article

Jenkinsfile ArchiveArtifacts

Jenkins build artifacts refer to the files generated by a specific Jenkins build and saved in one location so that they can be archived and shared with other team members or deployed to testing and...

View Article


Jenkins TAG_NAME

Environment variables, or env vars, are variables which are set outside of a script and are used in Jenkins scripts. Jenkins environment variables are a set of key-value pairs where the key is the...

View Article

Jenkins Post-Failure Cleanup

Jenkins “Post-build Actions” allows you to define actions that should be taken after a build is completed. One of these actions is the “Post-build Failure Cleanup” action, which allows you to specify...

View Article

Image may be NSFW.
Clik here to view.

Jenkins Post-Build Actions

If you are familiar with Jenkins, you mainly work with build actions. This build represents a specific set of tasks executed by the Jenkins server. When you create a new build in Jenkins, you can...

View Article


Jenkins Parallel Stages

A Jenkins pipeline is a group of events or jobs that are interlinked in a sequence. You can define a pipeline by creating a Pipeline object in your Jenkinsfile. Parallel stages allow you to run...

View Article


Image may be NSFW.
Clik here to view.

How to Restart Jenkins on Linux

When working with Jenkins, you may come across some instances where you need to restart the Jenkins server. An example of such a scenario is after installing or updating a specific plugin. Another case...

View Article

Image may be NSFW.
Clik here to view.

How to View the Jenkins Logs

Jenkins is one of the most influential and popular free and open-source CD/CD automation servers for developers. Apart from the plethora of tools and plugins which are supported by Jenkins, it provides...

View Article

Image may be NSFW.
Clik here to view.

Install and Use the Ansible Jenkins Plugin

This tutorial explores how we can integrate Ansible in our Jenkins pipelines using the Ansible plugin. This allows us to run the Ansible tasks as a build step in our Jenkins pipeline. This is an...

View Article

Jenkins AllOf Operator

We can use the when expression in a Jenkinsfile to specify the conditions under which a particular build step or post-build action should be executed. It allows you to specify a Boolean expression that...

View Article


Jenkins AnyOf Operation

We can use the when expression in a Jenkinsfile to specify the conditions under which a particular build step or post-build action should be executed. It allows you to specify a Boolean expression that...

View Article

Image may be NSFW.
Clik here to view.

Jenkins Disk Space Cleanup

Depending on the server configuration, you may need to monitor and clean up your Jenkins disk usage constantly. This can free up space and allow your Jenkins instance to perform better. There are...

View Article


Image may be NSFW.
Clik here to view.

Jenkins Reload Configuration From Disk

The Reload Configuration from Disk command in Jenkins allows you to refresh Jenkins configuration files and directory structure. This command is used when a change is made to Jenkins and its...

View Article

Image may be NSFW.
Clik here to view.

Jenkinsfile Run a Shell Script

When you are just getting started with Jenkins, you may realize that you need to invoke the sh, bat, or PowerShell step to run shell commands on your controller. Although this can be useful when...

View Article


Image may be NSFW.
Clik here to view.

OWASP Dependency Check in Jenkins

OWASP (Open Web Application Security Project) is a nonprofit organization that works to improve the software security. It is a community-driven organization that aims to promote and improve the web...

View Article

Image may be NSFW.
Clik here to view.

Using Jenkins Triggers

A Jenkins build trigger refers to a means by which a build is automatically started based on specific events. Jenkins offers a wide range of build triggers allowing you to choose the most efficient...

View Article

Image may be NSFW.
Clik here to view.

Use Timestamps in Jenkins

In Jenkins, timestamps record the date and time at which various events occur, such as when a build starts when it finishes, or when a user logs in. Timestamps can help track the progress of builds,...

View Article

Run a Python Script from Jenkins

Jenkins is a continuous integration and delivery platform that helps automate the software development process. One way to use Jenkins is by defining a Jenkinsfile in the root of your project and...

View Article


Image may be NSFW.
Clik here to view.

Setup the Jenkins Controller

A Jenkins controller refers to a Jenkins instance which is responsible to schedule the various build jobs and dispatch them to various worker nodes. The Jenkins controller works as the central control...

View Article


Image may be NSFW.
Clik here to view.

Set Timezone in Jenkins

Timezone is a setting that allows you to specify the timezone that should be used for various timestamps associated with builds, such as the build start and completion times. Jenkins uses the timezone...

View Article

Image may be NSFW.
Clik here to view.

How to Use the Environment Variables in Jenkinsfile

Jenkins is a Java-based server application that runs within a servlet container such as Apache, Tomcat, or Jetty. It consists of plugins that provide various features and functionality such as support...

View Article
Browsing latest articles
Browse All 28 View Live