short test near of bage
This commit is contained in:
		
							parent
							
								
									72179dd204
								
							
						
					
					
						commit
						af733703ec
					
				
							
								
								
									
										2
									
								
								predeploy/Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								predeploy/Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@ -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")
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user