How to keep Multibranch Pipeline job from cloning repo on master
I have a Multibranch Pipeline job, pointing to a Bitbucket Server repository. Before it executes anything on the Jenkinsfile, it always always does a full clone of the repository in a master node workspace. It creates a new workspace, with a new clone of the repository, for every single branch. Not only can this take significant time for some of the larger repositories, but it also is taking up a lot of space on the master node. Is it possible do do any of the following: Download (and execute) the Jenkinsfile without cloning the full repository Clone the repository on another node other than master Automatically remove the workspaces of auto-deleted jobs
Environment variables added in pipeline not accessible in email-ext plugin
how to I get jenkins to load git branch refs to slave
Avoid caching of jenkins pipeline scripts
Jenkins Pipeline EmailExt: Who are the “Suspects Causing Build to Begin Failing”?
Is there a way in Jenkins Pipeline to add wait time to build time?
How can I hard-kill a pipeline job without access to console?
Creating multiple stages with parallel execution on nodes
Jenkins master throwing java.io.IOException when running pipeline in swarm client
Perform a git fetch in pipeline 2.0 groovy script
How can I control how many builds enter build queue from a pipeline
How to use Jenkins pipeline `options` correctly
Version Number Plugin Causes Pipeline Parsing Error
How to set/read properties on Jenkins job from pipeline?
Getting SerializableException in Jenkinsfile on curl call
How to attach files to Jenkins Pipeline notification
Pipeline job page customization, multiple projects