Build receipt should not be cacheable any more
10 May 17 ba5a2ede718bf0a3c4b041167d6eb815ec0cd0c1
Use timestamped version always (#754)
The motivation behind this is that we want to be able to cache of the
Gradle build - even when we use a timestamped version when the build receipt
includes a timestamp.
The strategy is that we use a different build receipt which doesn't
include a timestamp or commitId.
When building the intTestImage we replace the version info included
in the distribution by the one used for tests, since the Gradle version
for the test needs to be the same as for the distribution under test.
We also create a binary distribution used for tests only.
We changed the names of the distributions in `build/distributions` to
only contain the base versions - therefore we will also need to change
the promotion jobs.
As part of this we changed that:
- create a tooling api shaded jar with the test version inside for
- Publish only the tooling api shaded jar with the test version to the local repo - only this jar is
used from the repo from tests
- Use base version in distribution zip name - this makes is much easier
to access the zip from tests
- Pass version of bin distribution to integration tests in
distributions - these are still testing the docs having a timestamp in
- for IDEA integration we need to have the build receipt on the classpath
when running integration tests. Looks like we currently
need to modify the idea model manually to achieve this.
14 Nov 16 80be49b8f40061719e423ded654a9fe88f2cc851