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

2
Jenkinsfile vendored
View File

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

View File

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