When using pipeline jenkins job and trying to load the pipeline script from SCM (RTC) using a repository workspace, the jenkins workspace is always deleted. Works (is NOT deleted) when the pipeline is provided directly or if load from a stream is selected.
As best as I can tell, loading from a stream is not a perfect workaround because workspaces often have scoped components to limit unrelated checkins triggering a build.
Plugin version 2.2
RTC version 126.96.36.199
Jenkins version 2.263.4
Also asked here |https://jazz.net/library/article/92827]