1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2025-11-06 09:30:14 +02:00

Проверка ограничения xmx

This commit is contained in:
Nikita Gryzlov
2020-04-29 19:25:23 +03:00
parent 27fae3607b
commit 8e81f02ebb

View File

@@ -41,7 +41,7 @@ class EdtValidate implements Serializable {
Logger.println("Выполнение валидации EDT")
def ringCommand = "ring edt workspace validate --workspace-location '$workspaceLocation' --file '$resultFile' --project-name-list $EdtTransform.PROJECT_NAME"
def ringOpts = ['RING_OPTS=-Dfile.encoding=UTF-8 -Dosgi.nl=ru -Duser.language=ru']
def ringOpts = ['RING_OPTS=-Dfile.encoding=UTF-8 -Dosgi.nl=ru -Duser.language=ru -Xmx2g']
steps.withEnv(ringOpts) {
steps.catchError {
steps.cmd(ringCommand)