Top "Jenkinsfile" questions

How can I reference the Jenkinsfile directory, with Pipeline?

I have a groovy file, I want to run from the Jenkinsfile. ie. load script.groovy However, I am not …

jenkins groovy jenkins-workflow jenkins-pipeline jenkinsfile
How can I use the Jenkins Copy Artifacts Plugin from within the pipelines (jenkinsfile)?

I am trying to find an example of using the Jenkins Copy Artifacts Plugin from within Jenkins pipelines (workflows). Can …

groovy jenkins-workflow jenkinsfile
How do I implement a retry option for failed stages in Jenkins pipelines?

I have a Jenkinsfile with multiple stages and one of them is in fact another job (the deploy one) which …

groovy jenkins-workflow jenkins-pipeline jenkinsfile
Jenkins: Trigger Multi-branch pipeline on upstream change

I am currently testing the pipeline approach of Jenkins 2.0 to see if it works for the build environment I am …

jenkins jenkins-workflow jenkins-2 jenkinsfile
Set the pipeline name and description from Jenkinsfile

I am trying to do a poc of jenkins pipeline as code. I am using the Github organization folder plugin …

jenkins devops jenkinsfile
Jenkins pipeline code auto trigger with multiple repositories through GitHub Organization Folder Plugin

This question is related to the Jenkins job auto trigger with multiple repositories. Defined 3 repo's to checkout in Jenkinsfile. node(…

jenkins jenkins-pipeline jenkinsfile github-organizations
Pass Artifact or String to upstream job in Jenkins Pipeline

Goal I'm trying to orchestrate a dependency chain using the GitHub organization plugin along with the jenkins pipeline. As the …

jenkins-pipeline jenkinsfile github-organizations upstream-branch multibranch-pipeline