diff --git a/Jenkinsfile b/Jenkinsfile index ac41168..6ed9b0c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,6 +8,8 @@ pipeline { sh '''cd classlib dotnet build --no-incremental --force --configuration 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')]) } } }