Add withEnv

This commit is contained in:
Karol Górzyński 2020-12-10 16:40:13 +01:00
parent e666adf2b4
commit 8dc1c8c1d7
2 changed files with 4 additions and 2 deletions

4
Jenkinsfile vendored
View File

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

View File

@ -7,7 +7,7 @@
/out-tsc
# dependencies
/node_modules
#/node_modules
# IDEs and editors
/.idea