|
@@ -16,6 +16,11 @@ pipeline {
|
|
|
REV_NUMBER=''
|
|
|
}
|
|
|
parameters {
|
|
|
+ string(
|
|
|
+ name: "REVNUM",
|
|
|
+ defaultValue: "HEAD",
|
|
|
+ description: "Revision number"
|
|
|
+ )
|
|
|
string(
|
|
|
name: "mailto",
|
|
|
defaultValue: "admin@sdsys.ru",
|
|
@@ -26,7 +31,7 @@ pipeline {
|
|
|
stage("SVN Checkout") {
|
|
|
steps {
|
|
|
sh """[ -d analis/.svn ] && svn cleanup analis
|
|
|
- svn co --force --no-auth-cache svn://192.168.21.250/programs/trunk/Services/Analis/Win32 analis --username public --password "sds#7753435"
|
|
|
+ svn co -r ${REVNUM} --force --no-auth-cache svn://192.168.21.250/programs/trunk/Services/Analis/Win32 analis --username public --password "sds#7753435"
|
|
|
"""
|
|
|
}
|
|
|
}
|