1

I have a build configuration which will build an artifact file. What I'd like to do, is add a a step so that after the artifact is built, it will do a diff between it and the last successfully built artifact. I can write a tool that will do the diff as long as I can work out the path to the last artifact file.

How can I obtain details of the last successful artifact?

abatishchev
  • 98,240
  • 88
  • 296
  • 433
millie
  • 2,642
  • 10
  • 39
  • 58

1 Answers1

8

You can use the following link:

/repository/download/BUILD_TYPE_ID/.lastSuccessful/ARTIFACT_PATH

See more info here: http://confluence.jetbrains.com/display/TCD7/Patterns+For+Accessing+Build+Artifacts

Alexander Doroshenko
  • 1,715
  • 1
  • 17
  • 24