Relative Content

Tag Archive for jenkinsjenkins-pluginsjenkins-groovyjenkins-job-dsljenkins-kubernetes

How to run a jenkins subproject within the same pod as the main project?

I have a Jenkins freestyle project that runs on k8s slave pod. Now the main project has another subproject, which essentially clone/pull files from github, meaning the files pulled by the subproject are required for the main project.
The problem I’m facing is that, when I run the build, both the project and subproject are running in different pods,so the files downloaded by the subproject is not accessible to the main project.