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

How to set github commit status with Jenkinsfile NOT using a pull request builder

We have Jenkins 2 set to build every push to github, and we do not use the Pull Request builder (although …

github jenkins jenkins-pipeline jenkins-2
execute commands on remote host in a Jenkinsfile

i am trying to ssh into a remote host and then execute certain commands on the remote host's shell. Following …

jenkins jenkins-pipeline jenkins-cli
Capture exit code from bash scripts in jenkins groovy scripts

Executing a bash script copy_file.sh from Jenkins Groovy script and trying to shoot mail depending upon the exit …

bash jenkins jenkins-pipeline exit jenkins-groovy
Can Jenkins pipeline function fileExist handle wildcards?

Can Jenkins pipeline function fileExist handle wildcards? I do have a zip file in the workspace folder. Following code gives …

jenkins groovy jenkins-pipeline file-exists
Jenkins multibranch pipeline Scan without execution

Is it possible to Scan a Multibranch Pipeline to detect the branches with a Jenkinsfile, but without the pipeline execution? …

jenkins jenkins-pipeline multibranch-pipeline
Matrix configuration with Jenkins pipelines

The Jenkins Pipeline plugin (aka Workflow) can be extended with other Multibranch plugins to build branches and pull requests automatically. …

jenkins jenkins-pipeline jenkins-blueocean
Execute Jenkins Pipeline step only when building a tag

I have certain build logic, such as publication, that I would like to have Jenkins perform only when it is …

jenkins jenkins-pipeline multibranch-pipeline jenkins-declarative-pipeline
How do you set Jenkins stage or pipeline parallel branch status (unstable, failure etc) for use in Stage view and Blue Ocean UI?

Overview I'm currently configuring a pipeline consisting of a number of platform builds. At the beginning of the pipeline, a …

jenkins jenkins-pipeline jenkins-blueocean
How to pass credentials for jenkins to push a docker image to my own registry?

JHipster now uses the maven-jib-plugin. Before that, my jenkins server running in a docker-container was able to build a docker …

jenkins-pipeline jhipster jib
Use PyLint on Jenkins with Warnings Plugin and Pipeline

I want to use PyLint on Jenkins with Warnings Plugin and Pipeline, since Violations plugin is deprecated. There are no …

jenkins jenkins-plugins jenkins-pipeline pylint