hudson - How to set common workspace dir for multiple jobs in Jenkins? -
i'm trying migrate hudson jenkins , faced problem. of test jobs (huge number) using build -> invoke ant parameter build file relative path , same of them. should use same workspace directory.
i've set in workspace root directory in jenkins configure system.
example:
- real
run.xml
file location:c:\var\lib\jenkins\workspace\trunk\eb\run.xml
- workspace root directory:
c:\var\lib\jenkins\workspace\trunk\
- build file parameter (in job):
eb\run.xml
build fails with:
error: unable find build script @ c:/var/lib/jenkins/workspace/trunk/workspace/run bd completedpath (firefox) ~regression/eb/run.xml
as see jenkins adds job name anyway, path incorrect , build fails. if set absolute paths works fine, it's illogically , large number of copy-paste work.
please sort out without modifying jobs, thanks!
this plugin allows share workspaces jenkins jobs same scm repos.
Comments
Post a Comment