jenkinsfile content replace
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -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')])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user