You've already forked nginx-proxy-manager
							
							
				mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-04 04:11:42 +03:00 
			
		
		
		
	CI: Prevent having to spin up resources when not Master branch
This commit is contained in:
		
							
								
								
									
										12
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@@ -81,11 +81,11 @@ pipeline {
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    stage('Build Master') {
 | 
					    stage('Build Master') {
 | 
				
			||||||
 | 
					      when {
 | 
				
			||||||
 | 
					        branch: 'master'
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
      parallel {
 | 
					      parallel {
 | 
				
			||||||
        stage('x86_64') {
 | 
					        stage('x86_64') {
 | 
				
			||||||
          when {
 | 
					 | 
				
			||||||
            branch 'master'
 | 
					 | 
				
			||||||
          }
 | 
					 | 
				
			||||||
          steps {
 | 
					          steps {
 | 
				
			||||||
            ansiColor('xterm') {
 | 
					            ansiColor('xterm') {
 | 
				
			||||||
              // Codebase
 | 
					              // Codebase
 | 
				
			||||||
@@ -127,9 +127,6 @@ pipeline {
 | 
				
			|||||||
          }
 | 
					          }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        stage('armhf') {
 | 
					        stage('armhf') {
 | 
				
			||||||
          when {
 | 
					 | 
				
			||||||
            branch 'master'
 | 
					 | 
				
			||||||
          }
 | 
					 | 
				
			||||||
          agent {
 | 
					          agent {
 | 
				
			||||||
            label 'armhf'
 | 
					            label 'armhf'
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
@@ -173,9 +170,6 @@ pipeline {
 | 
				
			|||||||
          }
 | 
					          }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        stage('arm64') {
 | 
					        stage('arm64') {
 | 
				
			||||||
          when {
 | 
					 | 
				
			||||||
            branch 'master'
 | 
					 | 
				
			||||||
          }
 | 
					 | 
				
			||||||
          agent {
 | 
					          agent {
 | 
				
			||||||
            label 'arm64'
 | 
					            label 'arm64'
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user