Updated jenkins file
This commit is contained in:
		
							parent
							
								
									4656a84103
								
							
						
					
					
						commit
						acf9d83970
					
				
							
								
								
									
										126
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										126
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							| @ -3,89 +3,87 @@ pipeline { | |||||||
| 	 | 	 | ||||||
| 	stages { | 	stages { | ||||||
| 		stage ('build') { | 		stage ('build') { | ||||||
| 			steps { | 			parallel { | ||||||
| 				parallel { | 				stage ('x86') { | ||||||
| 					stage ('x86') { | 					agent { | ||||||
| 						agent { | 						label 'linux && x84 && teaspeak' | ||||||
| 							label 'linux && x84 && teaspeak' | 					} | ||||||
| 						} |  | ||||||
| 
 | 
 | ||||||
| 						environment { | 					environment { | ||||||
| 							//General flags | 						//General flags | ||||||
| 							CXX_FLAGS = '' | 						CXX_FLAGS = '' | ||||||
| 							C_FLAGS = '' | 						C_FLAGS = '' | ||||||
| 
 | 
 | ||||||
| 							//CMake specific flags | 						//CMake specific flags | ||||||
| 							CMAKE_OPTIONS = '' | 						CMAKE_OPTIONS = '' | ||||||
| 							CMAKE_MAKE_OPTIONS = '' | 						CMAKE_MAKE_OPTIONS = '' | ||||||
| 
 | 
 | ||||||
| 							//Make specific flags | 						//Make specific flags | ||||||
| 							MAKE_OPTIONS = '' | 						MAKE_OPTIONS = '' | ||||||
| 						} | 					} | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 						stages { | 					stages { | ||||||
| 							stage ('Initialize libraries') { | 						stage ('Initialize libraries') { | ||||||
| 								steps { | 							steps { | ||||||
| 									sh 'apt-get update' | 								sh 'apt-get update' | ||||||
| 									sh 'git submodule update --init --remote --recursive' | 								sh 'git submodule update --init --remote --recursive' | ||||||
| 									sh 'git submodule update --merge' | 								sh 'git submodule update --merge' | ||||||
| 									sh './attach_modules.sh' | 								sh './attach_modules.sh' | ||||||
| 									sh 'cd libraries; ./build.sh' | 								sh 'cd libraries; ./build.sh' | ||||||
| 								} |  | ||||||
| 							} | 							} | ||||||
| 							stage ('Build TeaSpeak') { | 						} | ||||||
| 								steps { | 						stage ('Build TeaSpeak') { | ||||||
| 									sh './build_teaspeak.sh' | 							steps { | ||||||
| 								} | 								sh './build_teaspeak.sh' | ||||||
| 							} | 							} | ||||||
| 							stage ('Deploy') { | 						} | ||||||
| 								steps { | 						stage ('Deploy') { | ||||||
| 									sh 'cd TeaSpeak/server/repro/; chmod 400 build_private_key; ./build.sh linux/x84' | 							steps { | ||||||
| 								} | 								sh 'cd TeaSpeak/server/repro/; chmod 400 build_private_key; ./build.sh linux/x84' | ||||||
| 							} | 							} | ||||||
| 						} | 						} | ||||||
| 					} | 					} | ||||||
|  | 				} | ||||||
| 
 | 
 | ||||||
| 					stage ('amd64') { | 				stage ('amd64') { | ||||||
| 						agent { | 					agent { | ||||||
| 							label 'linux && amd64 && teaspeak' | 						label 'linux && amd64 && teaspeak' | ||||||
| 						} | 					} | ||||||
| 
 | 
 | ||||||
| 						environment { | 					environment { | ||||||
| 							//General flags | 						//General flags | ||||||
| 							CXX_FLAGS = '' | 						CXX_FLAGS = '' | ||||||
| 							C_FLAGS = '' | 						C_FLAGS = '' | ||||||
| 
 | 
 | ||||||
| 							//CMake specific flags | 						//CMake specific flags | ||||||
| 							CMAKE_OPTIONS = '' | 						CMAKE_OPTIONS = '' | ||||||
| 							CMAKE_MAKE_OPTIONS = '' | 						CMAKE_MAKE_OPTIONS = '' | ||||||
| 
 | 
 | ||||||
| 							//Make specific flags | 						//Make specific flags | ||||||
| 							MAKE_OPTIONS = '' | 						MAKE_OPTIONS = '' | ||||||
| 						} | 					} | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 						stages { | 					stages { | ||||||
| 							stage ('Initialize libraries') { | 						stage ('Initialize libraries') { | ||||||
| 								steps { | 							steps { | ||||||
| 									sh 'apt-get update' | 								sh 'apt-get update' | ||||||
| 									sh 'git submodule update --init --remote --recursive' | 								sh 'git submodule update --init --remote --recursive' | ||||||
| 									sh 'git submodule update --merge' | 								sh 'git submodule update --merge' | ||||||
| 									sh './attach_modules.sh' | 								sh './attach_modules.sh' | ||||||
| 									sh 'cd libraries; ./build.sh' | 								sh 'cd libraries; ./build.sh' | ||||||
| 
 | 
 | ||||||
| 								} |  | ||||||
| 							} | 							} | ||||||
| 							stage ('Build TeaSpeak') { | 						} | ||||||
| 								steps { | 						stage ('Build TeaSpeak') { | ||||||
| 									sh './build_teaspeak.sh' | 							steps { | ||||||
| 								} | 								sh './build_teaspeak.sh' | ||||||
| 							} | 							} | ||||||
| 							stage ('Deploy') { | 						} | ||||||
| 								steps { | 						stage ('Deploy') { | ||||||
| 									sh 'cd TeaSpeak/server/repro/; chmod 400 build_private_key; ./build.sh linux/x84' | 							steps { | ||||||
| 								} | 								sh 'cd TeaSpeak/server/repro/; chmod 400 build_private_key; ./build.sh linux/x84' | ||||||
| 							} | 							} | ||||||
| 						} | 						} | ||||||
| 					} | 					} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user