3

I can't find anywhere if TeamCity is able to deploy build artifacts to nexus, when job has finished (like Jenkins does), and not by running "mvn deploy". Is there a way to achieve this? Maybe as a build feature.

spauny
  • 4,976
  • 9
  • 44
  • 61
  • Why do you not want to run mvn deploy? Thats what Jenkins basically does as well. – Manfred Moser Aug 07 '14 at 05:39
  • 1
    @ManfredMoser Because the difference is that Jenkins runs the deploy after the entire build is finished and if you run just mvn deploy it will do that for every module. – spauny Aug 07 '14 at 08:18
  • 1
    You could do one Maven build step that runs mvn clean install and then as a separate step mvn deploy. That way if they first one fails, nothing will be deployed. – Manfred Moser Aug 31 '15 at 18:41

0 Answers0