in stages/GetVersionHelmApplication.groovy [25:30]
def setVersionToArtifact(context) {
script.sh """
set -eo pipefail
kubectl patch codebasebranches.v2.edp.epam.com ${context.codebase.config.name}-${context.git.branch.replaceAll(/\//, "-")} --type=merge -p '{\"status\": {\"build\": "${context.codebase.currentBuildNumber}"}}'
"""
}