Quantcast

hudson workspace/default dir created when/why?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

hudson workspace/default dir created when/why?

jonathan.benoit
what is this default directory created under
hudson_home/jobs/my_job/workspace/default/

which contains my_cvs_checked_out_workspace_dir

because this same CVS directory is also checked out into
hudson_home/jobs/my_job/workspace/my_cvs_checked_out_workspace_dir

so i end up with both:

hudson_home/jobs/my_job/workspace/default/my_cvs_checked_out_workspace_dir
hudson_home/jobs/my_job/workspace/my_cvs_checked_out_workspace_dir


my hudson job is failing because of this 'extra' default directory

+ export
JAXWS_TEST=/files/share/hudson/hudson_home/jobs/jaxws-sqe-pit-solaris-jdk7/workspace/default
+
JAXWS_TEST=/files/share/hudson/hudson_home/jobs/jaxws-sqe-pit-solaris-jdk7/workspace/default
+ cd
/files/share/hudson/hudson_home/jobs/jaxws-sqe-pit-solaris-jdk7/workspace/default
+ cp
/files/share/hudson/hudson_home/jobs/jaxws-sqe-pit-solaris-jdk7/workspace/default/bin/hudson/jaxws-sqe-bc-tc-pit.sh
/files/share/hudson/hudson_home/jobs/jaxws-sqe-pit-solaris-jdk7/workspace/default
cp: cannot access
/files/share/hudson/hudson_home/jobs/jaxws-sqe-pit-solaris-jdk7/workspace/default/bin/hudson/jaxws-sqe-bc-tc-pit.sh


when i create new job "Build a free-style software project" workspace/
dir contains my CVS checked out bits directly under workspace/ not
workspace/my_cvs_checked_out_workspace_dir nor
workspace/default/my_cvs_checked_out_workspace_dir

can you please explain how directories are created in relation to what
type of hudson job was created?

my commands shell execution section of hudson job configure page sets:

export JAXWS_TEST="$PWD/jaxws-test"

but this is not correct when this default directory is created by
hudson.  when i create "Build a free-style software project"  job i have
to change this to:

export JAXWS_TEST="$PWD"

i'd like to not have to change my ENV's path to try and mirror where
hudson is putting my CVS checked out bits based on what type of hudson
job i create, either "Build a free-style software project"  or "Build
multi-configuration project (alpha)"

can you give me a set of rules that hudson follows so that i know what
to set my ENVs to when looking for where my CVS checked bits end up,
depending on what type of hudson job i create?

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...