| Summary: | [new hudson] where is my workspace ? | ||
|---|---|---|---|
| Product: | Community | Reporter: | Bouchet Stéphane <sbouchet> |
| Component: | CI-Jenkins | Assignee: | Eclipse Webmaster <webmaster> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Bouchet Stéphane
I think this is an artifact of how the slaves and master interact. The slave creates its workspace in /opt/users/hudsonbuild/workspace when it runs jobs, but your job expects to write into /opt/users/hudsonbuild/.hudson/job/my_job/workspace so that is mounted on the slaves from the master(in the same location). So when your build is finishing the slave is trying to 'clean' /opt/users/hudsonbuild/workspace/my_job instead of /opt/users/hudsonbuild/.hudson/job/my_job/workspace. -M. (In reply to comment #1) > I think this is an artifact of how the slaves and master interact. The slave > creates its workspace in /opt/users/hudsonbuild/workspace when it runs jobs, > but your job expects to write into > /opt/users/hudsonbuild/.hudson/job/my_job/workspace so that is mounted on the > slaves from the master(in the same location). So when your build is finishing > the slave is trying to 'clean' /opt/users/hudsonbuild/workspace/my_job instead > of /opt/users/hudsonbuild/.hudson/job/my_job/workspace. > > -M. hummm, not sure i am clear about my problem :) the build is fine,the process finishes with a BUILD SUCESSFULL, but when hudson wants to archive the artifacts just being built, it looks on the /build folder in the job's workspace, and cannot find it. Manually, if i look at the same workspace place, i cannot find any "build" folder that must be there. i am using the hudson UI to look at the job's workspace, that is : https://hudson.eclipse.org/hudson/job/emf-eef-integration/ws/ it should be mapped to /opt/users/hudsonbuild/.hudson/jobs/emf-eef-integration/workspace , but i cannot ssh to hudson to see if it exact or not. so, the build is making some stuff somewhere, but i don't know where exactly. > it should be mapped to
> /opt/users/hudsonbuild/.hudson/jobs/emf-eef-integration/workspace
This is only 'true' for builds run on the master instance. Slaves use another path for their workspace, and since Hudson knows your job was run on a slave it's pointing you there. But within your job you're using /opt/users/hudsonbuild/.hudson/jobs/emf-eef-integration/workspace and the slave can't 'see' into that workspace.
-M.
(In reply to comment #3) > > it should be mapped to > > /opt/users/hudsonbuild/.hudson/jobs/emf-eef-integration/workspace > > This is only 'true' for builds run on the master instance. Slaves use another > path for their workspace, and since Hudson knows your job was run on a slave > it's pointing you there. But within your job you're using > /opt/users/hudsonbuild/.hudson/jobs/emf-eef-integration/workspace and the slave > can't 'see' into that workspace. > > -M. ok, so until i use the cbi system, i must tide to master.. i'll try that. fixed. My jobs are now correctly building. |