title: Conditional Post-Build step in Jenkins (Ideally without plugins)
body: <p>If I understand correctly I can make a build step conditional using this plugin: <a href="https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin" rel="noreferrer">https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin</a> </p>
  
  <p>First does this plugin work the Post-Build steps?
  Second is there a way to make Post-Build steps conditional without a plugin?</p>
  
  <p>The scenario I have is I am supporting both WebDriver and Selenium IDE tests with one universal Jenkins Job setup. If they have checked in either type of test it runs them. I then want it to conditionally look if any results files show up and if so then do the publish results Post-Build step, otherwise skip that step.</p>
  
  <p>Currently if no results show up it simply marks the build as a failure since no test results were found.</p>
  
  <p>Any suggestions would help!</p>