More details:
library identifier: 'utils', retriever: modernSCM([$class: 'GitSCMSource', credentialsId: '< >', id: '< >', remote: '< >',
traits: [[$class: 'jenkins.plugins.git.traits.BranchDiscoveryTrait'], [$class: 'RefSpecsSCMSourceTrait', templates: [[value: " "]]]]])
I have a job called "post_job" and my Jenkins files and libraries are stored in a repository called "my_repository".
After loading my Jenkins file:
/jenkins_home/jenkins/workspace/ post_job@script
è contains all of my_repository content
After loading my lobraries (I have 3: jobFlow, ManifestMap, utils):
/jenkins_home/jenkins/workspace/post_job@libs
jobFlow è contains all of my_repository content
jobFlow@tmp è empty
manifestMap è contains all of my_repository content
manifestMap@tmp è empty
utils è contains all of my_repository content
utils@tmp è empty
So I have my_repository content 4 times (!!) for each job that I have!
Any suggestions? please!Hi all,I've noticed that when my pipeline jobs start and load the Jenkins file and shared libraries, I end up with many copies of the entire repository being checked out on the master. This causes master to run out of disk space
More details:
For example:
- I use Git plugin to load the Jenkins file
- Loading shared libraries (stored under "vars" folder) starts at the beginning of the build, using this pipeline step:
library identifier: 'utils', retriever: modernSCM([$class: 'GitSCMSource', credentialsId: '< >', id: '< >', remote: '< >',
traits: [[$class: 'jenkins.plugins.git.traits.BranchDiscoveryTrait'], [$class: 'RefSpecsSCMSourceTrait', templates: [[value: " "]]]]])I have a job called "post_job" and my Jenkins files and libraries are stored in a repository called "my_repository".
After loading my Jenkins file:
/jenkins_home/jenkins/workspace/ post_job@script
è contains all of my_repository content
After loading my lobraries (I have 3: jobFlow, ManifestMap, utils):
/jenkins_home/jenkins/workspace/post_job@libs
jobFlow è contains all of my_repository content
jobFlow@tmp è empty
manifestMap è contains all of my_repository content
manifestMap@tmp è empty
utils è contains all of my_repository content
utils@tmp è empty
So I have my_repository content 4 times (!!) for each job that I have!
Any suggestions? please!Thanks
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3f81e9ca-9e1c-437d-87f1-b3e3faeefe86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.