Backport Jenkinsfile to older, still maintained branches

Description

… so that at least the build/release process is consistent across all branches. And so that we can benefit from some of the advantages of the Jenkinsfile (full, parallel testing in a single build, even for non-master branches, deployment of snapshots for non-master branches, …). And also so that we can remove some legacy Jenkins jobs (the release one, the ES testing one, …).

We should probably remove the features that would take too much time to re-implement in older branches or wouldn’t bring much: Sonar and coveralls integration, JDK9-11 testing, …

We may want to start extracting some of the code to a common library, hosted in a different repository. Let’s be conservative if we do that: we should only extract what could theoretically be relevant for other Hibernate projects, for now.

Also, once it's done, let's make the .travis.yml file in older branches simpler, in particular let's remove the multiple Elasticsearch environments and let's just test the default one.

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Priority

Major
Configure