You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
${fn.compareEngine(version)} - compares, supported by the hoster platform, CS engine version with the given version. Returns result:
0 - version equals CS engine version
1 - CS engine version greater than version
-1 - CS engine version less than version
${fn.compare(version1, version2)} - compares two given versions separated by dots. Returns result:
0 - version1 equals version2
1 - version1 greater than version2
-1 - version1 less than version2
Ticket: https://jelastic.team/browse/JE-43816
Ниже предложение по размещению и наполнению обновления.
Обновление добавляется после подраздела:
Default Values of Placeholders (http://docs.cloudscripting.com/creating-manifest/placeholders/#default-values-of-placeholders)
####################Начало обновления###############
Engine Placeholder
The ${engine} placeholder returns a Cloud Scripting engine version that is supported by the platform the manifest is executed on.
${engine}
- CS engine versionIt can be complemented with function placeholders ${fn.compareEngine(version)} and ${fn.compare(version1, version2)} that can be used to determine whether JPS manifest is supported by the platform’s engine version or not.
@@@
@@!
###################конец обновления################
В разделе https://docs.cloudscripting.com/creating-manifest/placeholders/#function-placeholders
После
The function parameter can be passed from existing placeholders, for example:
${fn.md5([fn.random])} - md5 encoding random password
${fn.base64([user.email])} - base64 encoding user email address
Вставляем
####################Начало обновления###############
${fn.compareEngine(version)}
- compares, supported by the hoster platform, CS engine version with the given version. Returns result:0 - version equals CS engine version
1 - CS engine version greater than version
-1 - CS engine version less than version
${fn.compare(version1, version2)}
- compares two given versions separated by dots. Returns result:0 - version1 equals version2
1 - version1 greater than version2
-1 - version1 less than version2
###################конец обновления################
Может есть смысл еще такой пример дать:
@@@
@@!
The text was updated successfully, but these errors were encountered: