jenkinsfile content replace

This commit is contained in:
2022-12-27 09:39:15 +03:00
parent 7f0d14fc25
commit 31b56c75e1

2
Jenkinsfile vendored
View File

@@ -8,6 +8,8 @@ pipeline {
sh '''cd classlib sh '''cd classlib
dotnet build --no-incremental --force --configuration Release dotnet build --no-incremental --force --configuration Release
dotnet publish -c Release''' dotnet publish -c Release'''
contentReplace(configs: [fileContentReplaceConfig(configs: [fileContentReplaceItemConfig(replace: 'ModuleVersion = \'2.0.$BUILD_NUMBER\'', search: 'ModuleVersion = \'2.0\'')], fileEncoding: 'UTF-8', filePath: 'ps.ipam.psd1')])
} }
} }
} }