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

Unknown stage section "withSonarQubeEnv"

I am experimenting using Pipeline jobs with the Blue Ocean beta plugin enabled on our Jenkins server. We have a …

jenkins sonarqube jenkins-pipeline sonarqube-scan
Groovy: Method definition not expected here

I'm sure this is a simple fix but I'm new to programming in general and Groovy in particular. I am …

groovy jenkins-pipeline slack
How to disable a Jenkins Multibranch Pipeline project

I've been creating a few Multibranch Pipeline projects in Jenkins and now I've "upgraded" to use a GitHub Organization project. …

jenkins jenkins-plugins jenkins-pipeline
Compare Spinnaker with Jenkins 2.0 as a continuous delivery tool

As we know, Jenkins 2.0 has been released, and it is extending beyond just continuous integration (CI) to continuous delivery (CD). …

jenkins jenkins-pipeline jenkins-2 spinnaker
Jenkins Pipeline Jenkinsfile: 'node' and 'pipeline' directives

I am getting started with Jenkins declarative Pipeline. From some of the examples I have seen, I notice that the …

jenkins jenkins-pipeline
Load properties from properties file and make them available throughout the job/pipeline - Jenkins declarative syntax

My requirement is simple, i just want to externalize some 'values' to make my Jenkinsfile more re usable and for …

jenkins groovy jenkins-pipeline jenkins-groovy
post equivalent in scripted pipeline?

What is the syntax of 'post' in scripted pipeline comparing to declarative pipeline? https://jenkins.io/doc/book/pipeline/syntax/#…

jenkins-pipeline
Trigger hourly build from scripted Jenkinsfile

Is there a way to trigger a Jenkins job to run every hour using the Jenkinsfile scripted pipeline syntax? I …

jenkins jenkins-pipeline cron-task
Run Jenkins Pipeline with Code from Git

I want to use following Pipeline script from git in jenkins #!groovy pipeline { agent any stages { stage('Build') { steps { echo …

git jenkins groovy jenkins-plugins jenkins-pipeline
Load Jenkins Pipeline Shared Library from same repository

TL;DR Is there a way to import code into the Jenkinsfile from the local repository (other than the load …

jenkins groovy shared-libraries jenkins-pipeline