Merge pull request #22 from RightBrain-Networks/pipeline/bugfix
CleanWS -> updateGithubCommitStatus
This commit is contained in:
		
							
								
								
									
										7
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@ -85,10 +85,9 @@ pipeline {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  post {
 | 
					 post { 
 | 
				
			||||||
      always {
 | 
					   success { updateGithubCommitStatus(GITHUB_URL, 'Passed build and test', 'SUCCESS') }
 | 
				
			||||||
        cleanWS()
 | 
					   failure { updateGithubCommitStatus(GITHUB_URL, 'Failed build and test', 'FAILURE') }
 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user