-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
- OS: mac OS
- JRE/JDK: oracle 1.8.0_144-b01
- Whether you're running Jenkins: directly
- How you installed Jenkins: java -jar
- Jenkins ver. 2.146
- plugin versions:
ace-editor 1.1 true
antisamy-markup-formatter 1.5 true
apache-httpcomponents-client-4-api 4.5.5-3.0 true
authentication-tokens 1.3 true
authorize-project 1.3.0 true
blueocean 1.9.0 true
blueocean-autofavorite 1.2.2 true
blueocean-bitbucket-pipeline 1.9.0 true
blueocean-commons 1.9.0 true
blueocean-config 1.9.0 true
blueocean-core-js 1.9.0 true
blueocean-dashboard 1.9.0 true
blueocean-display-url 2.2.0 true
blueocean-events 1.9.0 true
blueocean-git-pipeline 1.9.0 true
blueocean-github-pipeline 1.9.0 true
blueocean-i18n 1.9.0 true
blueocean-jira 1.9.0 true
blueocean-jwt 1.9.0 true
blueocean-personalization 1.9.0 true
blueocean-pipeline-api-impl 1.9.0 true
blueocean-pipeline-editor 1.9.0 true
blueocean-pipeline-scm-api 1.9.0 true
blueocean-rest 1.9.0 true
blueocean-rest-impl 1.9.0 true
blueocean-web 1.9.0 true
bouncycastle-api 2.17 true
branch-api 2.0.20 true
build-name-setter 1.6.9 true
build-timeout 1.19 true
cloudbees-bitbucket-branch-source 2.2.14 true
cloudbees-folder 6.6 true
command-launcher 1.2 true
credentials 2.1.18 true
credentials-binding 1.17 true
display-url-api 2.2.0 true
docker-commons 1.13 true
docker-workflow 1.17 true
durable-task 1.27 true
email-ext 2.63 true
favorite 2.3.2 true
git 3.9.1 true
git-client 2.7.3 true
git-parameter 0.9.6 true
git-server 1.7 true
github 1.29.3 true
github-api 1.92 true
github-branch-source 2.4.1 true
github-oauth 0.29 true
handlebars 1.1.1 true
handy-uri-templates-2-api 2.1.6-1.0 true
htmlpublisher 1.17 true
jackson2-api 2.9.7.1 true
jdk-tool 1.1 true
jenkins-design-language 1.9.0 true
jira 3.0.4 true
jira-steps 1.4.4 true
jquery 1.12.4-0 true
jquery-detached 1.2.1 true
jsch 0.1.54.2 true
junit 1.26.1 true
ldap 1.20 true
lockable-resources 2.3 true
mailer 1.22 true
matrix-auth 2.3 true
matrix-project 1.13 true
mercurial 2.4 true
momentjs 1.1.1 true
pam-auth 1.4 true
pipeline-build-step 2.7 true
pipeline-github-lib 1.0 true
pipeline-graph-analysis 1.7 true
pipeline-input-step 2.8 true
pipeline-milestone-step 1.3.1 true
pipeline-model-api 1.3.2 true
pipeline-model-declarative-agent 1.1.1 true
pipeline-model-definition 1.3.2 true
pipeline-model-extensions 1.3.2 true
pipeline-rest-api 2.10 true
pipeline-stage-step 2.3 true
pipeline-stage-tags-metadata 1.3.2 true
pipeline-stage-view 2.10 true
plain-credentials 1.4 true
pubsub-light 1.12 true
resource-disposer 0.12 true
scm-api 2.3.0 true
script-security 1.48 true
sse-gateway 1.16 true
ssh-agent 1.17 true
ssh-credentials 1.14 true
ssh-slaves 1.28.1 true
structs 1.17 true
thinBackup 1.9 true
timestamper 1.8.10 true
token-macro 2.5 true
variant 1.1 true
workflow-aggregator 2.6 true
workflow-api 2.31 true
workflow-basic-steps 2.12 true
workflow-cps 2.60 true
workflow-cps-global-lib 2.12 true
workflow-durable-task-step 2.26 true
workflow-job 2.27 true
workflow-multibranch 2.20 true
workflow-scm-step 2.7 true
workflow-step-api 2.16 true
workflow-support 2.22 true
ws-cleanup 0.36 true- OS: mac OS - JRE/JDK: oracle 1.8.0_144-b01 - Whether you're running Jenkins: directly - How you installed Jenkins: java -jar - Jenkins ver. 2.146 - plugin versions: ace-editor 1.1 true antisamy-markup-formatter 1.5 true apache-httpcomponents-client-4-api 4.5.5-3.0 true authentication-tokens 1.3 true authorize-project 1.3.0 true blueocean 1.9.0 true blueocean-autofavorite 1.2.2 true blueocean-bitbucket-pipeline 1.9.0 true blueocean-commons 1.9.0 true blueocean-config 1.9.0 true blueocean-core-js 1.9.0 true blueocean-dashboard 1.9.0 true blueocean-display-url 2.2.0 true blueocean-events 1.9.0 true blueocean-git-pipeline 1.9.0 true blueocean-github-pipeline 1.9.0 true blueocean-i18n 1.9.0 true blueocean-jira 1.9.0 true blueocean-jwt 1.9.0 true blueocean-personalization 1.9.0 true blueocean-pipeline-api-impl 1.9.0 true blueocean-pipeline-editor 1.9.0 true blueocean-pipeline-scm-api 1.9.0 true blueocean-rest 1.9.0 true blueocean-rest-impl 1.9.0 true blueocean-web 1.9.0 true bouncycastle-api 2.17 true branch-api 2.0.20 true build-name-setter 1.6.9 true build-timeout 1.19 true cloudbees-bitbucket-branch-source 2.2.14 true cloudbees-folder 6.6 true command-launcher 1.2 true credentials 2.1.18 true credentials-binding 1.17 true display-url-api 2.2.0 true docker-commons 1.13 true docker-workflow 1.17 true durable-task 1.27 true email-ext 2.63 true favorite 2.3.2 true git 3.9.1 true git-client 2.7.3 true git-parameter 0.9.6 true git-server 1.7 true github 1.29.3 true github-api 1.92 true github-branch-source 2.4.1 true github-oauth 0.29 true handlebars 1.1.1 true handy-uri-templates-2-api 2.1.6-1.0 true htmlpublisher 1.17 true jackson2-api 2.9.7.1 true jdk-tool 1.1 true jenkins-design-language 1.9.0 true jira 3.0.4 true jira-steps 1.4.4 true jquery 1.12.4-0 true jquery-detached 1.2.1 true jsch 0.1.54.2 true junit 1.26.1 true ldap 1.20 true lockable-resources 2.3 true mailer 1.22 true matrix-auth 2.3 true matrix-project 1.13 true mercurial 2.4 true momentjs 1.1.1 true pam-auth 1.4 true pipeline-build-step 2.7 true pipeline-github-lib 1.0 true pipeline-graph-analysis 1.7 true pipeline-input-step 2.8 true pipeline-milestone-step 1.3.1 true pipeline-model-api 1.3.2 true pipeline-model-declarative-agent 1.1.1 true pipeline-model-definition 1.3.2 true pipeline-model-extensions 1.3.2 true pipeline-rest-api 2.10 true pipeline-stage-step 2.3 true pipeline-stage-tags-metadata 1.3.2 true pipeline-stage-view 2.10 true plain-credentials 1.4 true pubsub-light 1.12 true resource-disposer 0.12 true scm-api 2.3.0 true script-security 1.48 true sse-gateway 1.16 true ssh-agent 1.17 true ssh-credentials 1.14 true ssh-slaves 1.28.1 true structs 1.17 true thinBackup 1.9 true timestamper 1.8.10 true token-macro 2.5 true variant 1.1 true workflow-aggregator 2.6 true workflow-api 2.31 true workflow-basic-steps 2.12 true workflow-cps 2.60 true workflow-cps-global-lib 2.12 true workflow-durable-task-step 2.26 true workflow-job 2.27 true workflow-multibranch 2.20 true workflow-scm-step 2.7 true workflow-step-api 2.16 true workflow-support 2.22 true ws-cleanup 0.36 true
I have a multibranch pipeline using github SCM.
Each time a build is triggered for a new branch, the job is doing a full clone of the repository (~ 3min in our case).
However, if the branch already exists, the job only does a fetch of the repository (~5s in our case).
We are using a single node (aka jenkins master).
Is there any solution without setting a reference repository up?
For exemple, something like a git repo cache could exists on each node, and this repo is duplicated in the workspace before checking out the latest changes.