Put workdir calculation in base Buildstep class

The one is ShellCommand is generic logic enough to
be useful in base class.

Mark setDefaultWorkdir as deprecated

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
Put workdir calculation in base Buildstep class

The one is ShellCommand is generic logic enough to
be useful in base class.

Mark setDefaultWorkdir as deprecated

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
add relnote

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
some details on callable(workdir) behaviour

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
Change workdir to a property

remove getWorkdir(), as its semantics is really the same as an accessor

Remove all setDefaultWorkdir() usage, and effectively mark it as deprecated

remove other getWorkdir similar implementation

MasterShellCommand use another property, as using buildFactory's workdir does not really make sense

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
improve comment about workdir in shellcommand

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
wantDefaultWorkdir is not actually not needed

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
update release note
enhance code clarity
Merge pull request #1467 from tardyp/workdir

Put workdir calculation in base Buildstep class