2020-12-05 14:01:46 +01:00
|
|
|
pipeline {
|
2020-12-10 17:09:46 +01:00
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'kargor8/sess-comp-base:v2'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
environment {
|
|
|
|
DOTNET_CLI_HOME = '/tmp/App'
|
|
|
|
}
|
2020-12-05 14:01:46 +01:00
|
|
|
stages {
|
2020-12-10 17:09:46 +01:00
|
|
|
stage('Build app') {
|
2020-12-05 14:01:46 +01:00
|
|
|
steps {
|
2020-12-10 17:09:46 +01:00
|
|
|
dir('SessionCompanion') {
|
|
|
|
sh "echo $USER"
|
|
|
|
withEnv(["HOME=${env.WORKSPACE}"]){
|
|
|
|
sh 'dotnet build'
|
2020-12-05 14:01:46 +01:00
|
|
|
}
|
|
|
|
}
|
2020-12-10 17:09:46 +01:00
|
|
|
}
|
2020-12-05 14:01:46 +01:00
|
|
|
}
|
2020-12-10 17:09:46 +01:00
|
|
|
stage('Clarify') {
|
|
|
|
steps {
|
|
|
|
sh "echo Dziala"
|
2020-12-05 14:01:46 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|