Explorar o código

Update 'Jenkinsfile'

관리자 hai 2 meses
pai
achega
ceafaaa4d3
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      Jenkinsfile

+ 4 - 4
Jenkinsfile

@@ -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'
             }
             }
         }
         }
     }
     }