[jbosstools-issues] [JBoss JIRA] (JBDS-4667) Job rpm_rh_central_UI_test_one_by_one.weekly should be albe to find out which IU should be installed
Nick Boldt (JIRA)
issues at jboss.org
Thu Jan 18 11:45:00 EST 2018
[ https://issues.jboss.org/browse/JBDS-4667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13521005#comment-13521005 ]
Nick Boldt commented on JBDS-4667:
----------------------------------
If your intent is "install everything from 1 or more URLs, without having to hardcode the list" then you might be able to use this script:
https://github.com/jbosstools/jbosstools-build-ci/blob/master/util/installFromCentral.sh
Here's an example of how I've used it in a jenkins job:
{code}
# Install plan is semi-colon-separated pair of URLs:
# 1. JBT/JBDS update (or discovery) site
# 2. URL with directory.xml
# NOTE: Jenkins requires semi-colons, but to pass to shell, must use quotes
# On commandline, can use comma-separated pair instead so quotes aren't needed
stream_jbt=${JOB_NAME#*_}
stream_jbt=${stream_jbt%%/*} # master or 4.4.neon
# use composite site with JBT/JBDS + Central (or JBT/JBDS + Central + EA) in order to resolve ALL artifacts in a single operation
if [[ ${PROJECT} == "jbosstools" ]]; then
INSTALL_PLAN="http://download.jboss.org/jbosstools/${eclipseReleaseName}/snapshots/builds/"
INSTALL_PLAN="${INSTALL_PLAN}jbosstools-discovery.central_${stream_jbt}/latest/all/repo/;"
INSTALL_PLAN="${INSTALL_PLAN}http://download.jboss.org/jbosstools/${eclipseReleaseName}/snapshots/builds/"
INSTALL_PLAN="${INSTALL_PLAN}jbosstools-discovery.${SET}_${stream_jbt}/latest/all/repo/jbosstools-directory.xml"
elif [[ ${PROJECT} == "devstudio" ]]; then
INSTALL_PLAN="https://devstudio.redhat.com/${devstudioReleaseVersion}/snapshots/builds/"
INSTALL_PLAN="${INSTALL_PLAN}jbosstools-discovery.central_${stream_jbt}/latest/all/repo/;"
INSTALL_PLAN="${INSTALL_PLAN}https://devstudio.redhat.com/${devstudioReleaseVersion}/snapshots/builds/"
INSTALL_PLAN="${INSTALL_PLAN}jbosstools-discovery.${SET}_${stream_jbt}/latest/all/repo/devstudio-directory.xml"
fi
# comma-separated list of IUs (omit .feature.group) to exclude from installation
EXCLUDES="org.eclipse.e4.rcp,.*.epp.package.*,org.eclipse.equinox.*,org.eclipse.help,org.eclipse.platform,org.eclipse.rcp"
echo "Install everything into ${eclipseID} from ${PROJECT} and its ${SET} site"
${WORKSPACE}/sources/util/installFromCentral.sh -ECLIPSE ${WORKSPACE}/eclipse -INSTALL_PLAN "${INSTALL_PLAN}" -EXCLUDES "${EXCLUDES}" \
| tee ${WORKSPACE}/log.txt
{code}
-- https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/jbosstools-install-p2director.install-tests.matrix_master/configure
> Job rpm_rh_central_UI_test_one_by_one.weekly should be albe to find out which IU should be installed
> ----------------------------------------------------------------------------------------------------
>
> Key: JBDS-4667
> URL: https://issues.jboss.org/browse/JBDS-4667
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Task
> Components: rpm
> Reporter: Lukáš Valach
> Assignee: Lukáš Valach
> Fix For: 11.3.0.AM2
>
>
> Job rpm_rh_central_UI_test_one_by_one.weekly \[1\] should be albe to find out which IUs should be installed/tested. Now it requires a list of IUs as input parameter. It is not comfortable and needs some maintenance.
> \[1\] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/user/lvalach/my-views/view/My%20Jobs/job/rpm_rh_central_UI_test_one_by_one.weekly/
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jbosstools-issues
mailing list