diff --git a/core/src/main/kotlin/com/code42/jenkins/pipelinekt/core/Pipeline.kt b/core/src/main/kotlin/com/code42/jenkins/pipelinekt/core/Pipeline.kt index 7ee0677..2c1f7d8 100644 --- a/core/src/main/kotlin/com/code42/jenkins/pipelinekt/core/Pipeline.kt +++ b/core/src/main/kotlin/com/code42/jenkins/pipelinekt/core/Pipeline.kt @@ -83,7 +83,7 @@ data class Pipeline( val innerWriter = writer.inner() innerWriter.writeln("// Replace slashes and other special characters with underscores for safe filesystem paths") innerWriter.writeln("def safeBranch = env.BRANCH_NAME.replaceAll('/', '_').replaceAll(/[^A-Za-z0-9._-]/, '_')") - innerWriter.writeln("customWorkspacePath = \"./workspace//\${env.JOB_NAME}-\${safeBranch}\"") + innerWriter.writeln("customWorkspacePath = \"./workspace//\${safeBranch}\"") writer.writeln("}") writer.writeln("") } diff --git a/version.txt b/version.txt index ebc9cc4..e9f83de 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.21.12 +0.21.13 \ No newline at end of file