]
Barak Korren updated OVIRT-1377:
--------------------------------
Epic Link: OVIRT-400
Make change-queue changes look like SCM changes in Jenkins
----------------------------------------------------------
Key: OVIRT-1377
URL:
https://ovirt-jira.atlassian.net/browse/OVIRT-1377
Project: oVirt - virtualization made easy
Issue Type: New Feature
Components: Jenkins
Reporter: Barak Korren
Assignee: infra
Jenkins has special UI for showing changes. Since the change-queue is all about changes,
it'll be great if Jenkins will "understand" that change-queue changes are
also changes.
It looks like Jenkins does not provide an API the manipulate the list of changes included
in a particular build. Instead, change lists come from the SCM plugins, so the way to do
this is write a special SCM plugin.
[
Here|https://wiki.jenkins-ci.org/display/JENKINS/Extend+Jenkins] is the Jenkins plugin
documentation. It includes [a
tutorial|https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial#Plug...]
as well as [specific
documentation|https://wiki.jenkins-ci.org/display/JENKINS/Writing+an+SCM+...] about SCM
plugins.
[
Here|https://github.com/jenkinsci/git-plugin/blob/master/src/main/java/hu...]
is the source of the Git SCM plugin, as and example of how to write an SCM plugin.