[jbosstools-issues] [JBoss JIRA] (JBIDE-19911) Create a (manual) job to update a given 3rd-party project on TP

Mickael Istria (JIRA) issues at jboss.org
Wed Jun 3 13:48:01 EDT 2015


Mickael Istria created JBIDE-19911:
--------------------------------------

             Summary: 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
            Reporter: Mickael Istria


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.3.15#6346)


More information about the jbosstools-issues mailing list