[
https://issues.jboss.org/browse/JBIDE-19911?page=com.atlassian.jira.plugi...
]
Mickael Istria commented on JBIDE-19911:
----------------------------------------
[~ppitonak] We need to be able to automatically create pull request to the
jbosstools-target-platforms repo, using the rhdevelopers-ci account. So we need 1.
rhdevelopers-ci to have a clone/fork of jbosstools-target-platform repo and 2. To have an
API token that allows to push commits to new branch and create pull request.
Create a (manual) job to update a given 3rd-party project on TP
---------------------------------------------------------------
Key: JBIDE-19911
URL:
https://issues.jboss.org/browse/JBIDE-19911
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: build
Affects Versions: 4.3.0.Beta1
Reporter: Mickael Istria
Fix For: 4.4.x
For 3rd-party sites that are regularly changing, we could provide a Jenkins job that
would automatically update the .target and provide the pull request.
* Input: sourceSite, initialMirror (as found in .target), targetMirror
* Then
** job mirros the sourceSite
** job publishes (scp) it to targetMirror
** job runs "sed s/initialMirror/targetMirror/" on multiple/*.target
** job runs "mvn fix-version ..." on multiple/*.target
** "mvn clean verify -Pmultiple2repo" on multiple/*.target
** git add multiple/*.target; git commit -m "Update initialMirror to
targetMirror"; git push origin HEAD:change-BUILD_NUMBER
** p2diff
** Put p2diff as a comment on PR:
https://developer.github.com/v3/pulls/comments/#create-a-comment
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)