parent
980379f386
commit
ad91e77d13
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash
|
||||
# Copyright (c) 2017 Red Hat, Inc.
|
||||
# All rights reserved. This program and the accompanying materials
|
||||
# are made available under the terms of the Eclipse Public License v1.0
|
||||
# which accompanies this distribution, and is available at
|
||||
# http://www.eclipse.org/legal/epl-v10.html
|
||||
|
||||
# Just a script to get and build eclipse-che locally
|
||||
# please send PRs to github.com/kbsingh/build-run-che
|
||||
|
||||
# update machine, get required deps in place
|
||||
# this script assumes its being run on CentOS Linux 7/x86_64
|
||||
|
||||
#include common scripts
|
||||
. ./.ci/cico_common.sh
|
||||
|
||||
load_jenkins_vars
|
||||
load_mvn_settings_gpg_key
|
||||
install_deps
|
||||
|
||||
DO_NOT_IGNORE_TESTS="true"
|
||||
mvn_build
|
||||
|
|
@ -72,7 +72,11 @@ install_deps(){
|
|||
|
||||
mvn_build() {
|
||||
set -x
|
||||
scl enable rh-maven33 'mvn clean install -U -Pintegration'
|
||||
if [[ $DO_NOT_IGNORE_TESTS == "true" ]]; then
|
||||
scl enable rh-maven33 'mvn clean install -U -Pintegration -Dmaven.test.failure.ignore=false'
|
||||
else
|
||||
scl enable rh-maven33 'mvn clean install -U -Pintegration'
|
||||
fi
|
||||
if [[ $? -eq 0 ]]; then
|
||||
echo 'Build Success!'
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue