init
This commit is contained in:
		
							
								
								
									
										23
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| pipeline { | ||||
|     agent any | ||||
|  | ||||
|     environment { | ||||
|         VERSION = VersionNumber([ | ||||
|             versionNumberString: | ||||
|                 '${BUILDS_ALL_TIME}', | ||||
|             versionPrefix: '1.0.', | ||||
|             worstResultForIncrement: 'SUCCESS' | ||||
|         ]) | ||||
|     } | ||||
|  | ||||
|     stages { | ||||
|         stage('Building') { | ||||
|             steps { | ||||
|                 script { | ||||
|                     currentBuild.displayName = env.VERSION | ||||
|                 } | ||||
|                 sh 'yarn ci ${VERSION}' | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user