Better impl of getRootBuild in case the promoted build was e.g. a MatrixRun.
Comment.
[FIXED JENKINS-13248] Now possible to use the REST API to determine which build a promotion promoted.
E.g.: http://localhost:8080/job/j/promotion/latest/OK/api/json?tree=target[number]
Hyperlinking processes for discoverability.
[FIXED JENKINS-15947] Make it possible to obtain list of promotions via REST.
[FIXED JENKINS-9259] Include information about promotions in the REST API for each build.
[JENKINS-9259] Also export promotionBuilds.
[FIXED JENKINS-18958] Added PROMOTED_JOB_FULL_NAME
Calls to addProcess could create duplicate phantom processes until the job is reloaded

- The list of active processes is a set, the list of processes is a set
- There is a mismatch in symmantics between the no-repeats logic of sets and the repeats fo list
- Therefore when adding to the processes list we must ensure that we replace existing entries
- Also need to add synchronization to those field accesses to ensure that we have consistent access
[maven-release-plugin] prepare release promoted-builds-2.12
[maven-release-plugin] prepare for next development iteration
Merge pull request #29 from tyrius02/master

[FIXED JENKINS-18958] Added PROMOTED_JOB_FULL_NAME environment variable
[maven-release-plugin] prepare release promoted-builds-2.13
[maven-release-plugin] prepare for next development iteration