Revise jenkinsfile, only run on main and beta
	
		
			
	
		
	
	
		
			
				
	
				Gitea Scan/plate-tool/pipeline/head This commit looks good
				
					Details
				
			
		
	
				
					
				
			
				
	
				Gitea Scan/plate-tool/pipeline/head This commit looks good
				
					Details
				
			
		
	This commit is contained in:
		
							parent
							
								
									ca5c15756e
								
							
						
					
					
						commit
						bf09f281b3
					
				| 
						 | 
					@ -5,6 +5,9 @@ pipeline {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    stages {
 | 
					    stages {
 | 
				
			||||||
 | 
					    	stage('Parent') {
 | 
				
			||||||
 | 
						when { anyOf { branch 'main'; branch 'beta-release' } }
 | 
				
			||||||
 | 
						stages {
 | 
				
			||||||
        stage('Build') {
 | 
					        stage('Build') {
 | 
				
			||||||
            steps {
 | 
					            steps {
 | 
				
			||||||
                sh '''
 | 
					                sh '''
 | 
				
			||||||
| 
						 | 
					@ -32,6 +35,8 @@ pipeline {
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
    post {
 | 
					    post {
 | 
				
			||||||
	always {
 | 
						always {
 | 
				
			||||||
		cleanWs(notFailBuild: true,
 | 
							cleanWs(notFailBuild: true,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue