mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Update CI script output for parsing with the Log Parser plugin in Jenkins
This commit is contained in:
parent
7a1bb8863a
commit
4e50c186df
@ -1,8 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "################################################################################"
|
||||
echo "Building docs..."
|
||||
echo "################################################################################"
|
||||
echo "EXECUTING: Build docs"
|
||||
echo
|
||||
|
||||
cd $WORKSPACE
|
||||
|
@ -1,8 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "################################################################################"
|
||||
echo "Building PIP wheel..."
|
||||
echo "################################################################################"
|
||||
echo "EXECUTING: Build PIP wheel"
|
||||
echo
|
||||
|
||||
cd $WORKSPACE
|
||||
|
@ -1,8 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "################################################################################"
|
||||
echo "Building runtime - QT4..."
|
||||
echo "################################################################################"
|
||||
echo "EXECUTING: Build runtime - QT4"
|
||||
echo
|
||||
|
||||
cd $WORKSPACE/runtime
|
||||
|
@ -1,8 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "################################################################################"
|
||||
echo "Building runtime - QT5..."
|
||||
echo "################################################################################"
|
||||
echo "EXECUTING: Build runtime - QT5"
|
||||
echo
|
||||
|
||||
cd $WORKSPACE/runtime
|
||||
|
@ -1,8 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "################################################################################"
|
||||
echo "Building Tarballs..."
|
||||
echo "################################################################################"
|
||||
echo "EXECUTING: Build Tarballs"
|
||||
echo
|
||||
|
||||
cd $WORKSPACE
|
||||
|
@ -1,11 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
$WORKSPACE/ci/create_config.sh || { echo 'Failed to create the configuration.' ; exit 1; }
|
||||
$WORKSPACE/ci/run_python_tests.sh || { echo 'Error detected when running the Python tests.' ; exit 1; }
|
||||
$WORKSPACE/ci/run_jasmine_tests.sh || { echo 'Error detected when running the Jasmine tests.' ; exit 1; }
|
||||
$WORKSPACE/ci/build_docs.sh || { echo 'Failed to build the documentation.' ; exit 1; }
|
||||
$WORKSPACE/ci/build_runtime_qt4.sh || { echo 'Failed to build the QT4 runtime.' ; exit 1; }
|
||||
$WORKSPACE/ci/build_runtime_qt5.sh || { echo 'Failed to build the QT5 runtime.' ; exit 1; }
|
||||
$WORKSPACE/ci/update_messages.sh || { echo 'Failed to update translation message catalogs.' ; exit 1; }
|
||||
$WORKSPACE/ci/build_pip_wheel.sh || { echo 'Failed to build the PIP wheel.' ; exit 1; }
|
||||
$WORKSPACE/ci/build_tarballs.sh || { echo 'Failed to build the tarballs.' ; exit 1; }
|
||||
$WORKSPACE/ci/create_config.sh || { echo 'ERROR: Failed to create the configuration.' ; exit 1; }
|
||||
$WORKSPACE/ci/run_python_tests.sh || { echo 'ERROR: Error detected when running the Python tests.' ; exit 1; }
|
||||
$WORKSPACE/ci/run_jasmine_tests.sh || { echo 'ERROR: Error detected when running the Jasmine tests.' ; exit 1; }
|
||||
$WORKSPACE/ci/build_docs.sh || { echo 'ERROR: Failed to build the documentation.' ; exit 1; }
|
||||
$WORKSPACE/ci/build_runtime_qt4.sh || { echo 'ERROR: Failed to build the QT4 runtime.' ; exit 1; }
|
||||
$WORKSPACE/ci/build_runtime_qt5.sh || { echo 'ERROR: Failed to build the QT5 runtime.' ; exit 1; }
|
||||
$WORKSPACE/ci/update_messages.sh || { echo 'ERROR: Failed to update translation message catalogs.' ; exit 1; }
|
||||
$WORKSPACE/ci/build_pip_wheel.sh || { echo 'ERROR: Failed to build the PIP wheel.' ; exit 1; }
|
||||
$WORKSPACE/ci/build_tarballs.sh || { echo 'ERROR: Failed to build the tarballs.' ; exit 1; }
|
||||
|
@ -1,8 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "################################################################################"
|
||||
echo "Creating pgAdmin configuration..."
|
||||
echo "################################################################################"
|
||||
echo "EXECUTING: Create pgAdmin config"
|
||||
echo
|
||||
|
||||
cd $WORKSPACE
|
||||
|
@ -1,8 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "################################################################################"
|
||||
echo "Executing jasmine tests..."
|
||||
echo "################################################################################"
|
||||
echo "EXECUTING: Jasmine tests"
|
||||
echo
|
||||
|
||||
cd $WORKSPACE/web/
|
||||
|
@ -1,17 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "################################################################################"
|
||||
echo "EXECUTING: Python tests"
|
||||
echo
|
||||
|
||||
echo "Starting virtual frame buffer..."
|
||||
echo "################################################################################"
|
||||
echo
|
||||
|
||||
Xvfb -ac :99 -screen 0 1280x1024x16 &
|
||||
FB_PID=$!
|
||||
export DISPLAY=:99
|
||||
|
||||
echo "################################################################################"
|
||||
echo "Creating Python ${PYTHON_VERSION} virtual environment..."
|
||||
echo "################################################################################"
|
||||
echo
|
||||
|
||||
cd $WORKSPACE/
|
||||
@ -27,16 +26,12 @@ fi
|
||||
$WORKSPACE/pgadmin-venv/bin/pip install -r requirements.txt
|
||||
$WORKSPACE/pgadmin-venv/bin/pip install -r web/regression/requirements.txt
|
||||
|
||||
echo "################################################################################"
|
||||
echo "Executing regression tests..."
|
||||
echo "################################################################################"
|
||||
echo "Running regression tests..."
|
||||
echo
|
||||
|
||||
$WORKSPACE/pgadmin-venv/bin/python $WORKSPACE/web/regression/runtests.py --exclude feature_tests
|
||||
|
||||
echo "################################################################################"
|
||||
echo "Cleaning up..."
|
||||
echo "################################################################################"
|
||||
echo
|
||||
|
||||
kill $FB_PID
|
||||
|
@ -1,16 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "################################################################################"
|
||||
echo "Extracting, merging and compiling strings..."
|
||||
echo "################################################################################"
|
||||
echo "EXECUTING: Compile messages"
|
||||
echo
|
||||
|
||||
cd $WORKSPACE/web
|
||||
|
||||
. $WORKSPACE/pgadmin-venv/bin/activate
|
||||
|
||||
pybabel extract -F babel.cfg -o pgadmin/messages.pot pgadmin || { echo 'Failed to extract messages from the source code.' ; exit 1; }
|
||||
pybabel extract -F babel.cfg -o pgadmin/messages.pot pgadmin || { echo 'ERROR: Failed to extract messages from the source code.' ; exit 1; }
|
||||
|
||||
pybabel update -i pgadmin/messages.pot -d pgadmin/translations || { echo 'Failed to update message catalogs from the template.' ; exit 1; }
|
||||
pybabel update -i pgadmin/messages.pot -d pgadmin/translations || { echo 'ERROR: Failed to update message catalogs from the template.' ; exit 1; }
|
||||
|
||||
pybabel compile -d pgadmin/translations || { echo 'Failed to compile the message catalogs.' ; exit 1
|
||||
pybabel compile -d pgadmin/translations || { echo 'ERROR: Failed to compile the message catalogs.' ; exit 1
|
Loading…
Reference in New Issue
Block a user