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
						127128d30e
					
				| 
						 | 
					@ -20,5 +20,16 @@ agent any
 | 
				
			||||||
				sshPublisher(publishers: [sshPublisherDesc(configName: 'Demos', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: 'ssh-uploads/subman/upgrade.sh', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: 'ssh-uploads/subman/', remoteDirectorySDF: false, removePrefix: '', sourceFiles: 'subman.tar.gz')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
 | 
									sshPublisher(publishers: [sshPublisherDesc(configName: 'Demos', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: 'ssh-uploads/subman/upgrade.sh', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: 'ssh-uploads/subman/', remoteDirectorySDF: false, removePrefix: '', sourceFiles: 'subman.tar.gz')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
							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