release icon fix
This commit is contained in:
		
							parent
							
								
									239a2f0634
								
							
						
					
					
						commit
						72179dd204
					
				
							
								
								
									
										2
									
								
								predeploy/Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								predeploy/Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@ -7,7 +7,7 @@ stage ('predeploy') {
 | 
				
			|||||||
        if (tag) {
 | 
					        if (tag) {
 | 
				
			||||||
            echo 'found tag ' + tag
 | 
					            echo 'found tag ' + tag
 | 
				
			||||||
            addBadge(
 | 
					            addBadge(
 | 
				
			||||||
              icon: 'star-gold.png',
 | 
					              icon: 'completed.gif',
 | 
				
			||||||
              text: "Release ${tag}")
 | 
					              text: "Release ${tag}")
 | 
				
			||||||
            def tagNoV = tag.substring(1)
 | 
					            def tagNoV = tag.substring(1)
 | 
				
			||||||
            sh "cd ${TARGET_FOLDER}; echo '${tagNoV}' > ${DEPLOY_VERSION_VAR}";
 | 
					            sh "cd ${TARGET_FOLDER}; echo '${tagNoV}' > ${DEPLOY_VERSION_VAR}";
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								publish/new/Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								publish/new/Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@ -6,7 +6,7 @@ stage ('publish') {
 | 
				
			|||||||
            echo 'found tag ' + tag
 | 
					            echo 'found tag ' + tag
 | 
				
			||||||
            sh "echo '${JEN_FILES_TMP_NAME}' >> .npmignore"
 | 
					            sh "echo '${JEN_FILES_TMP_NAME}' >> .npmignore"
 | 
				
			||||||
            withNPM(npmrcConfig:'npm-cfg') {
 | 
					            withNPM(npmrcConfig:'npm-cfg') {
 | 
				
			||||||
                echo "Performing npm build..."
 | 
					                echo "Performing npm publish..."
 | 
				
			||||||
                sh 'npm publish --access public'
 | 
					                sh 'npm publish --access public'
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user