|
@@ -20,10 +20,13 @@ pipeline {
|
|
|
stages {
|
|
|
stage("Build docker image") {
|
|
|
steps {
|
|
|
- bat 'svn.exe checkout svn://192.168.21.250/programs/trunk/Services/Analis/Win64 Infoclinica --username public --password "sds#7753435"'
|
|
|
- powershell 'move-Item -Path .\Infoclinica\.svn -Destination .\svn'
|
|
|
- bat "docker build --no-cache -t analis-service:${BUILD_NUMBER} ."
|
|
|
- powershell 'move-Item -Path .\svn -Destination .\Infoclinica\.svn'
|
|
|
+ powershell """
|
|
|
+ Set-PSDebug -Trace 1
|
|
|
+ svn.exe checkout svn://192.168.21.250/programs/trunk/Services/Analis/Win64 Infoclinica --username public --password "sds#7753435"
|
|
|
+ move-Item -Path .\\Infoclinica\\.svn -Destination ..\\svn
|
|
|
+ docker build --no-cache -t analis-service:${BUILD_NUMBER} .
|
|
|
+ move-Item -Path ..\\svn -Destination .\\Infoclinica\\.svn
|
|
|
+ """
|
|
|
}
|
|
|
}
|
|
|
}
|