short test near of bage

This commit is contained in:
Primakov Alexandr Alexandrovich 2024-03-21 10:16:07 +03:00
parent 72179dd204
commit af733703ec

View File

@ -6,6 +6,7 @@ stage ('predeploy') {
if (tag) { if (tag) {
echo 'found tag ' + tag echo 'found tag ' + tag
addShortText(text: "Release ${tag}")
addBadge( addBadge(
icon: 'completed.gif', icon: 'completed.gif',
text: "Release ${tag}") text: "Release ${tag}")
@ -14,6 +15,7 @@ stage ('predeploy') {
// sh "cd ${TARGET_FOLDER} ; echo 'mkdir ${tagNoV}; mv ./${branchName}/* ./${tagNoV}; rm -r -d ./${branchName}; rm ${DEPLOY_VERSION_VAR}' > ${DEPLOY_VERSION_VAR}" // sh "cd ${TARGET_FOLDER} ; echo 'mkdir ${tagNoV}; mv ./${branchName}/* ./${tagNoV}; rm -r -d ./${branchName}; rm ${DEPLOY_VERSION_VAR}' > ${DEPLOY_VERSION_VAR}"
} else { } else {
echo 'tag not found' echo 'tag not found'
addShortText(text: "Сборка в master")
addBadge( addBadge(
icon: 'info.gif', icon: 'info.gif',
text: "Сборка в master") text: "Сборка в master")