I look at Jenkins work and try to understand it.
I have an Execute shell in the Build field:
> mkdir mydir > cd mydir > > svn export --force https://example.com/repo/mydir .
When Jenkins executes this command and proceeds to the next build step, what is its working directory? workspece-root/ or workspace-root/mydir ?
As a next step, I have Call up top-level Maven targets (still in the Build section).
I really want to know why this succeeds?
Is this because Jenkins automatically returns to the workspace-root/ folder after the shell command window is executed, or is it because the next task is a โtop-levelโ task, so does Jenkins go back to workspace-root/ ?
source share