Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cbi-dev] emptyDir volume 'm2-repo'

In the wiki [1] it is recommended to declare a volume ‚m2-repo‘ and mounted to path '/home/jenkins/.m2/repository':
  - name: m2-repo
    emptyDir: {}
Could you explain please what is the sense behind using emptyDir here? Isn’t the agent starting always with an empty workspace?
Has this to do with volume space or performance?

~Karsten

[1] https://wiki.eclipse.org/Jenkins#Custom_container_on_Jiro

Back to the top