[jbosstools-issues] [JBoss JIRA] (JBIDE-21657) set up jobs to handle building from PRs

Nick Boldt (JIRA) issues at jboss.org
Mon Feb 8 03:46:00 EST 2016


    [ https://issues.jboss.org/browse/JBIDE-21657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13159579#comment-13159579 ] 

Nick Boldt commented on JBIDE-21657:
------------------------------------

Another limitation I just realized is that the PR builder needs to be more selective -- jobs set to build from master should only build from that branch or from master-based PRs, or else deps will come from the wrong parent pom, component versions, and TP. Witness:

{code}
[INFO] Adding repository http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.50.2.Beta2-SNAPSHOT/REPO
[INFO] Fetching content.jar from http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.50.2.Beta2-SNAPSHOT/REPO/ (0B of 668.79kB at 0B/s)
[INFO] Adding repository http://download.jboss.org/jbosstools/updates/nightly/core/master
[INFO] Resolving dependencies of MavenProject: org.jboss.tools:org.jboss.tools.site.central.earlyaccess:4.3.1-SNAPSHOT @ /mnt/hudson_workspace/workspace/jbosstools-build-sites.aggregate.child-sites__pull-request_master/jdk/jdk1.8/label_exp/(RHEL6||RHEL7||beaker||jboss-prod)&&!ia64&&!ppc64&&!rhts/projectName/earlyaccess/sources/aggregate/earlyaccess-site/pom.xml
[INFO] {osgi.os=macosx, osgi.ws=cocoa, org.eclipse.update.install.features=true, osgi.arch=x86_64}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: org.jboss.tools.site.central.earlyaccess raw:4.3.1.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):4.3.1-SNAPSHOT
[ERROR]   Missing requirement: org.jboss.tools.foundation.ui 1.3.0.Alpha1-v20160126-2136-B879 requires 'bundle org.eclipse.ui.forms 3.7.0' but it could not be found
[ERROR]   Cannot satisfy dependency: org.jboss.ide.eclipse.as.ui 3.2.0.Alpha1-v20160203-2109-B913 depends on: bundle org.jboss.tools.foundation.ui 1.1.0
[ERROR]   Cannot satisfy dependency: org.jboss.tools.arquillian.feature.feature.group 1.2.100.Alpha1-v20151213-0942-B361 depends on: org.jboss.tools.arquillian.ui [1.2.100.Alpha1-v20151213-0942-B361]
[ERROR]   Cannot satisfy dependency: org.jboss.tools.arquillian.ui 1.2.100.Alpha1-v20151213-0942-B361 depends on: bundle org.jboss.ide.eclipse.as.ui 2.4.0
[ERROR]   Cannot satisfy dependency: org.jboss.tools.site.central.earlyaccess raw:4.3.1.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):4.3.1-SNAPSHOT depends on: org.jboss.tools.arquillian.feature.feature.group 0.0.0
{code} -- http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-build-sites.aggregate.child-sites__pull-request_master/jdk=jdk1.8,label_exp=%28RHEL6||RHEL7||beaker||jboss-prod%29&&!ia64&&!ppc64&&!rhts,projectName=earlyaccess/lastBuild/console

> set up jobs to handle building from PRs
> ---------------------------------------
>
>                 Key: JBIDE-21657
>                 URL: https://issues.jboss.org/browse/JBIDE-21657
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 4.3.1.Beta2, 4.4.0.Alpha1
>            Reporter: Nick Boldt
>            Assignee: Nick Boldt
>             Fix For: 4.3.1.CR1, 4.4.0.Alpha1
>
>
> First experimental build:
> https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-build-sites.aggregate.child-sites__pull-request_master/
> Output:
> http://download.jboss.org/jbosstools/neon/snapshots/builds/jbosstools-build-sites.aggregate.earlyaccess-site_master/2016-02-05_16-34-19-B1/all/repo/buildinfo.json
> {code}
>     "revision" : {
>         "HEAD" : "bfe76fb3f3c34d68b873d0acf715e2145e4cb805",
>         "currentBranch" : "HEAD",
>         "knownReferences" : [{
>             "name" : "origin",
>             "url" : "git://github.com/jbosstools/jbosstools-build-sites.git",
>             "ref" : "pr/221/merge"
>         }]
>     },
> {code}
> http://download.jboss.org/jbosstools/neon/snapshots/builds/jbosstools-build-sites.aggregate.earlyaccess-site_master/2016-02-05_16-34-19-B1/logs/GIT_REVISION.txt
> {code}
> #Fri Feb 05 16:42:42 EST 2016
> null\:merge=bfe76fb3f3c34d68b873d0acf715e2145e4cb805
> HEAD=bfe76fb3f3c34d68b873d0acf715e2145e4cb805
> {code}
> build log:
> {code}
> Started by upstream project "jbosstools-build-sites.aggregate.child-sites__pull-request_master" build number 1
> originally caused by:
>  GitHub pull request #221 of commit 50c10ad83d250d2b86f5697c4581ba8f9cb4937d, no merge conflicts.
> ...
> Fetching upstream changes from git://github.com/jbosstools/jbosstools-build-sites.git
>  > git -c core.askpass=true fetch --tags --progress git://github.com/jbosstools/jbosstools-build-sites.git +refs/heads/*:refs/remotes/origin/* +refs/pull/*:refs/remotes/origin/pr/*
> Checking out Revision bfe76fb3f3c34d68b873d0acf715e2145e4cb805 (refs/remotes/origin/pr/221/merge)
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f bfe76fb3f3c34d68b873d0acf715e2145e4cb805
> {code}
> vars:
> {code}
> -DghprbActualCommit=50c10ad83d250d2b86f5697c4581ba8f9cb4937d
> -DghprbPullId=221
> -Dsha1=origin/pr/221/merge
> "-DghprbPullDescription=GitHub pull request #221 of commit 50c10ad83d250d2b86f5697c4581ba8f9cb4937d, no merge conflicts." 
> -DghprbActualCommit=50c10ad83d250d2b86f5697c4581ba8f9cb4937d
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list