move display name 2 install stage
This commit is contained in:
		
							parent
							
								
									b39f5d8708
								
							
						
					
					
						commit
						e1b4dcfb51
					
				
							
								
								
									
										7
									
								
								install/ci/Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								install/ci/Jenkinsfile
									
									
									
									
										vendored
									
									
								
							| @ -1,4 +1,11 @@ | ||||
| stage('install:ci') { | ||||
|       def tag = sh(returnStdout: true, script: "git tag --contains").trim() | ||||
|     if (tag) { | ||||
|       currentBuild.displayName = "#${BUILD_NUMBER}, tag${tag}" | ||||
|     } else { | ||||
|       currentBuild.displayName = "#${BUILD_NUMBER}, branch ${BRANCH}" | ||||
|     } | ||||
|     currentBuild.description = "#${BUILD_NUMBER}, branch ${BRANCH}, tag${tag}" | ||||
|     echo 'starting installing' | ||||
|     sh 'npm ci' | ||||
| } | ||||
							
								
								
									
										7
									
								
								stats/Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								stats/Jenkinsfile
									
									
									
									
										vendored
									
									
								
							| @ -1,16 +1,9 @@ | ||||
| stage('stats') { | ||||
|     def tag = sh(returnStdout: true, script: "git tag --contains").trim() | ||||
|     echo 'checking node and npm versions' | ||||
|     sh 'node -v' | ||||
|     sh 'npm -v' | ||||
|     sh 'ls -a' | ||||
|     sh 'df -h' | ||||
|     sh 'free -m' | ||||
|     if (tag) { | ||||
|       currentBuild.displayName = "#${BUILD_NUMBER}, tag${tag}" | ||||
|     } else { | ||||
|       currentBuild.displayName = "#${BUILD_NUMBER}, branch ${BRANCH}" | ||||
|     } | ||||
|     currentBuild.description = "#${BUILD_NUMBER}, branch ${BRANCH}, tag${tag}" | ||||
|     // sh 'vmstat -s' | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user