Top "Jenkins-pipeline" questions

Questions about the Jenkins “Pipeline” plugin suite (formerly “Workflow”). Not about pipelines in Jenkins in general (e.g. using downstream jobs).

Jenkins pipeline sh does not seem to respect pipe in shell command

I am using a Jenkinsfile in a pipeline on version 2.32.2. For various reasons I want to extract the version string …

jenkins pipe jenkins-pipeline subshell
Jenkins how to create pipeline manual step

Prior Jenkins2 I was using Build Pipeline Plugin to build and manually deploy application to server. Old configuration: That works …

jenkins groovy jenkins-pipeline
Git Variables in Jenkins Workflow plugin

I'd like to access git variables such as GIT_COMMIT and GIT_BRANCH when I have checked out a repository …

git jenkins groovy jenkins-pipeline
difference between freestyle project and pipeline in jenkins

I'm a little confused about Freestyle project and pipeline in jenkins when trying to create new items. When should I …

jenkins jenkins-plugins jenkins-pipeline
How to fix NotSerializableException error during Jenkins workflow build?

When I run the following code on the Jenkins workflow (Jenkins 1.609.1 ,workflow 1.8) I get error of 'NotSerializableException' (also below). However, …

jenkins jenkins-pipeline jenkins-build-flow
Using waitForQualityGate in a Jenkins declarative pipeline

The following SonarQube (6.3) analysis stage in a declarative pipeline in Jenkins 2.50 is failing with this error in the console log: …

jenkins sonarqube jenkins-plugins jenkins-pipeline sonarqube-scan
Jenkins + Docker: How to control docker user when using Image.inside command

Dear Stackoverflow Community, I am trying to setup a Jenkins CI pipeline using docker images as containers for my build …

docker jenkins jenkins-pipeline
How to access Junit test counts in Jenkins Pipeline project

I have just started with Jenkins My freestyle project used to report JUnit tests results in Slack like this MyJenkinsFreestyle …

jenkins groovy junit jenkins-pipeline slack-api
How to access $GIT_COMMIT in Jenkins declarative pipeline's post phase and emailext?

I want to send email when builds succeeds/fails along with some useful Git info such as commit SHA, previous …

jenkins jenkins-pipeline jenkins-email-ext
Jenkins Pipeline publish html report

Maven clean install generate new html file in following location /var/lib/jenkins/workspace/Docs_LoadTest/target/jmeter/reports/DocsJmeterTests_20170601_151330/…

jenkins jmeter jenkins-plugins jenkins-pipeline jmeter-maven-plugin