mirror of https://github.com/oxen-io/session-ios
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			51 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
		
		
			
		
	
	
			51 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
| 
											7 years ago
										 | pipeline { | ||
|  |     agent any | ||
|  | 
 | ||
|  |     environment { | ||
|  |         LANG = "en_US.UTF-8" | ||
|  |         LANGUAGE = "en_US.UTF-8" | ||
|  |         LC_ALL = "en_US.UTF-8" | ||
|  |         PATH = "PATH=$HOME/.rbenv/bin:$HOME/.rbenv/shims:/usr/local/bin/:$PATH" | ||
|  |     } | ||
|  | 
 | ||
|  |     stages { | ||
|  |         stage('env setup') { | ||
|  |             steps { | ||
|  |                 sh 'make setup' | ||
|  |             } | ||
|  |         } | ||
|  |         stage('build dependencies') { | ||
|  |             steps { | ||
|  |                 sh 'make dependencies' | ||
|  |             } | ||
|  |         } | ||
|  |         stage('test') { | ||
|  |             steps { | ||
|  |                 ansiColor('xterm') { | ||
|  |                     sh 'make test' | ||
|  |                 } | ||
|  |             } | ||
|  |         } | ||
|  |     } | ||
|  | 
 | ||
|  |     post { | ||
|  |         success { | ||
|  |             script { | ||
|  |                 // CHANGE_ID is set only for pull requests, so it is safe to access the pullRequest global variable | ||
|  |                 if (env.CHANGE_ID) { | ||
|  |                     def comment = pullRequest.comment("👍 Build PASSED commit: ${pullRequest.head}") | ||
|  |                 } | ||
|  |             } | ||
|  |         } | ||
|  | 
 | ||
|  |         failure { | ||
|  |             script { | ||
|  |                 // CHANGE_ID is set only for pull requests, so it is safe to access the pullRequest global variable | ||
|  |                 if (env.CHANGE_ID) { | ||
|  |                     def comment = pullRequest.comment("💥 Build FAILED commit: ${pullRequest.head}") | ||
|  |                 } | ||
|  |             } | ||
|  |         } | ||
|  |     } | ||
|  | } |