Updated Jenkinsfile
This commit is contained in:
		
							parent
							
								
									03d25cac83
								
							
						
					
					
						commit
						d4470f92ed
					
				
							
								
								
									
										10
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@ -72,6 +72,8 @@ pipeline {
 | 
			
		||||
							environment {
 | 
			
		||||
								TEASPEAK_BUILD_TYPE="Debug"
 | 
			
		||||
								CMAKE_BUILD_TYPE="Debug"
 | 
			
		||||
								
 | 
			
		||||
								TEASPEAK_DEPLOY_TYPE_SPECIFIER="-DBUILD_TYPE=1 -DBUILD_TYPE_NAME='beta'"
 | 
			
		||||
							}
 | 
			
		||||
 | 
			
		||||
							steps {
 | 
			
		||||
@ -101,6 +103,8 @@ pipeline {
 | 
			
		||||
							environment {
 | 
			
		||||
								TEASPEAK_BUILD_TYPE="Release"
 | 
			
		||||
								CMAKE_BUILD_TYPE="RelWithDebInfo"
 | 
			
		||||
								
 | 
			
		||||
								TEASPEAK_DEPLOY_TYPE_SPECIFIER="-DBUILD_TYPE=1 -DBUILD_TYPE_NAME='beta'"
 | 
			
		||||
							}
 | 
			
		||||
 | 
			
		||||
							steps {
 | 
			
		||||
@ -130,6 +134,8 @@ pipeline {
 | 
			
		||||
							environment {
 | 
			
		||||
								TEASPEAK_BUILD_TYPE="Release"
 | 
			
		||||
								CMAKE_BUILD_TYPE="RelWithDebInfo"
 | 
			
		||||
								
 | 
			
		||||
								TEASPEAK_DEPLOY_TYPE_SPECIFIER="-DBUILD_TYPE=0 -DBUILD_TYPE_NAME"
 | 
			
		||||
							}
 | 
			
		||||
 | 
			
		||||
							steps {
 | 
			
		||||
@ -186,6 +192,8 @@ pipeline {
 | 
			
		||||
							environment {
 | 
			
		||||
								TEASPEAK_BUILD_TYPE="Debug"
 | 
			
		||||
								CMAKE_BUILD_TYPE="Debug"
 | 
			
		||||
								
 | 
			
		||||
								TEASPEAK_DEPLOY_TYPE_SPECIFIER="-DBUILD_TYPE=1 -DBUILD_TYPE_NAME='beta'"
 | 
			
		||||
							}
 | 
			
		||||
 | 
			
		||||
							steps {
 | 
			
		||||
@ -215,6 +223,8 @@ pipeline {
 | 
			
		||||
							environment {
 | 
			
		||||
								TEASPEAK_BUILD_TYPE="Release"
 | 
			
		||||
								CMAKE_BUILD_TYPE="RelWithDebInfo"
 | 
			
		||||
								
 | 
			
		||||
								TEASPEAK_DEPLOY_TYPE_SPECIFIER="-DBUILD_TYPE=1 -DBUILD_TYPE_NAME='beta'"
 | 
			
		||||
							}
 | 
			
		||||
 | 
			
		||||
							steps {
 | 
			
		||||
 | 
			
		||||
@ -5,7 +5,7 @@ fi
 | 
			
		||||
mkdir build && cd build
 | 
			
		||||
 | 
			
		||||
echo "Build type: ${TEASPEAK_BUILD_TYPE}"
 | 
			
		||||
cmake .. -DCMAKE_BUILD_TYPE="${TEASPEAK_BUILD_TYPE}" -DCMAKE_CXX_FLAGS=" ${CXX_FLAGS} -I/usr/local/mysql/connector-c++-8.0/include/jdbc/ -I../../../libraries/boringssl/include/ -D_GLIBCXX_USE_CXX11_ABI=1" -DDISABLE_CUSTOM_OUTPUT=ON -DDISABLE_QT=ON
 | 
			
		||||
cmake .. -DCMAKE_BUILD_TYPE="${TEASPEAK_BUILD_TYPE}" -DCMAKE_CXX_FLAGS=" ${CXX_FLAGS} -I/usr/local/mysql/connector-c++-8.0/include/jdbc/ -I../../../libraries/boringssl/include/ -D_GLIBCXX_USE_CXX11_ABI=1" -DDISABLE_CUSTOM_OUTPUT=ON -DDISABLE_QT=ON $TEASPEAK_DEPLOY_TYPE_SPECIFIER
 | 
			
		||||
if [ $? -ne 0 ]; then
 | 
			
		||||
	echo "Failed to run CMAKE project"
 | 
			
		||||
	exit 1
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user