|
@@ -2,8 +2,8 @@ pipeline {
|
|
|
agent any
|
|
agent any
|
|
|
environment {
|
|
environment {
|
|
|
DOTNET_CLI_TELEMETRY_OPTOUT = '1'
|
|
DOTNET_CLI_TELEMETRY_OPTOUT = '1'
|
|
|
- DEPLOY_API = '/mnt/h/bitforum-api'
|
|
|
|
|
- DEPLOY_ADMIN = '/mnt/h/bitforum-admin'
|
|
|
|
|
|
|
+ DEPLOY_API = '/mnt/h/bitforum-api/sources'
|
|
|
|
|
+ DEPLOY_ADMIN = '/mnt/h/bitforum-admin/sources'
|
|
|
}
|
|
}
|
|
|
stages {
|
|
stages {
|
|
|
stage('Build') {
|
|
stage('Build') {
|
|
@@ -25,8 +25,8 @@ pipeline {
|
|
|
stage('Restart Services') {
|
|
stage('Restart Services') {
|
|
|
agent { label 'windows-host' }
|
|
agent { label 'windows-host' }
|
|
|
steps {
|
|
steps {
|
|
|
- bat 'powershell.exe -ExecutionPolicy Bypass -File H:\\iis\\bitforum-api\\restart.ps1'
|
|
|
|
|
- bat 'powershell.exe -ExecutionPolicy Bypass -File H:\\iis\\bitforum-admin\\restart.ps1'
|
|
|
|
|
|
|
+ bat 'powershell.exe -ExecutionPolicy Bypass -File H:\\IIS\\bitforum-api\\restart.ps1'
|
|
|
|
|
+ bat 'powershell.exe -ExecutionPolicy Bypass -File H:\\IIS\\bitforum-admin\\restart.ps1'
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|