clean jenkins workspace (post build)
	
		
			
	
		
	
	
		
			
				
	
				Gitea/subman-nextjs/pipeline/head There was a failure building this commit
				
					Details
				
			
		
	
				
					
				
			
				
	
				Gitea/subman-nextjs/pipeline/head There was a failure building this commit
				
					Details
				
			
		
	This commit is contained in:
		
							parent
							
								
									b16d293e27
								
							
						
					
					
						commit
						28ecf4716e
					
				| 
						 | 
				
			
			@ -21,4 +21,15 @@ agent any
 | 
			
		|||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	post {
 | 
			
		||||
        // Clean after build
 | 
			
		||||
        always {
 | 
			
		||||
            cleanWs(cleanWhenNotBuilt: false,
 | 
			
		||||
                    deleteDirs: true,
 | 
			
		||||
                    disableDeferredWipeout: true,
 | 
			
		||||
                    notFailBuild: true,
 | 
			
		||||
                    patterns: [[pattern: '.gitignore', type: 'INCLUDE'],
 | 
			
		||||
                               [pattern: '.propsfile', type: 'EXCLUDE']])
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue