forked from GeyserMC/Geyser
		
	Trigger builds of Geyser-Fabric and GeyserAndroid after a build success (#1815)
* Trigger builds of Geyser-Fabric and GeyserAndroid after a build success * Enable GeyserAndroid and fix paths * Only build for master * Disable propagation of build results * Don't wait for sequential builds
This commit is contained in:
		
							parent
							
								
									92c86cf15b
								
							
						
					
					
						commit
						bbbb7034f6
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		
							
								
								
									
										8
									
								
								Jenkinsfile
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								Jenkinsfile
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -69,5 +69,13 @@ pipeline {
 | 
			
		|||
                discordSend description: "**Build:** [${currentBuild.id}](${env.BUILD_URL})\n**Status:** [${currentBuild.currentResult}](${env.BUILD_URL})\n${changes}\n\n[**Artifacts on Jenkins**](https://ci.opencollab.dev/job/GeyserMC/job/Geyser)", footer: 'Open Collaboration Jenkins', link: env.BUILD_URL, successful: currentBuild.resultIsBetterOrEqualTo('SUCCESS'), title: "${env.JOB_NAME} #${currentBuild.id}", webhookURL: DISCORD_WEBHOOK
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        success {
 | 
			
		||||
            script {
 | 
			
		||||
                if (env.BRANCH_NAME == 'master') {
 | 
			
		||||
                    build propagate: false, wait: false, job: 'GeyserMC/Geyser-Fabric/java-1.16'
 | 
			
		||||
                    build propagate: false, wait: false, job: 'GeyserMC/GeyserAndroid/master'
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue