Add withEnv, fix typo

This commit is contained in:
Karol Górzyński 2020-12-10 16:43:44 +01:00
parent 8dc1c8c1d7
commit 6e89872ddb

2
Jenkinsfile vendored
View File

@ -33,7 +33,7 @@ pipeline {
steps { steps {
dir('SessionCompanion') { dir('SessionCompanion') {
sh "echo $USER" sh "echo $USER"
withEnv(["HOME=$(env.WORKSPACE)"]){ withEnv(["HOME=${env.WORKSPACE}"]){
sh 'dotnet build' sh 'dotnet build'
} }
} }