diff --git a/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/builds/lastFailedBuild b/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/builds/lastFailedBuild new file mode 120000 index 0000000000..d7d17fcbef --- /dev/null +++ b/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/builds/lastFailedBuild @@ -0,0 +1 @@ +-1 \ No newline at end of file diff --git a/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/builds/lastStableBuild b/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/builds/lastStableBuild new file mode 120000 index 0000000000..d7d17fcbef --- /dev/null +++ b/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/builds/lastStableBuild @@ -0,0 +1 @@ +-1 \ No newline at end of file diff --git a/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/builds/lastSuccessfulBuild b/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/builds/lastSuccessfulBuild new file mode 120000 index 0000000000..d7d17fcbef --- /dev/null +++ b/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/builds/lastSuccessfulBuild @@ -0,0 +1 @@ +-1 \ No newline at end of file diff --git a/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/builds/lastUnstableBuild b/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/builds/lastUnstableBuild new file mode 120000 index 0000000000..d7d17fcbef --- /dev/null +++ b/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/builds/lastUnstableBuild @@ -0,0 +1 @@ +-1 \ No newline at end of file diff --git a/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/builds/lastUnsuccessfulBuild b/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/builds/lastUnsuccessfulBuild new file mode 120000 index 0000000000..d7d17fcbef --- /dev/null +++ b/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/builds/lastUnsuccessfulBuild @@ -0,0 +1 @@ +-1 \ No newline at end of file diff --git a/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/builds/legacyIds b/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/builds/legacyIds new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/config.xml b/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/config.xml new file mode 100644 index 0000000000..66e235544d --- /dev/null +++ b/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/config.xml @@ -0,0 +1,146 @@ + + + + + false + + + + 30 + 100 + -1 + -1 + + + + + + STAGE + + STOP_TEST + + + TESTSCRIPT + + TEST_VIRGO + + + RESET_CODE + remove existing dataset and extract from the dataset archive + NO_RESET_CODE + + + QUICK_BUILD_FLOW + <strong>this field need a complete config line, to run a flow</strong> +<br/> +<quote> +/java/exo-working/VALIDATIONS/TQA-432/PLF-354_VISUALVM_PROFILING_PATCH_20120606 /mnt/nfs4/DATASETS/PLF/PLF3.5.x/3.5.x_02/NODATASET.zip plf_jcr plf_idm!PERF_PLF_INTRANET_99_SIMPLE_CALENDAR_HOMEPAGE 2 10 7200 9999 192.168.5.8 8080 CALENDAR_HOME_PATCH20120606_01 true true - - TQA-432_CALENDAR_HOME_PATCH20120606!eXoPLF.install.sh +<quote> + NO_QUICK_BUILD_FLOW + + + + + + XSS-AUTO-1 + false + false + false + false + + false + + + #!/bin/bash + +EXO_WORKING_DIR=/java/exo-working + +if [ -d $EXO_WORKING_DIR ]; then + pushd $EXO_WORKING_DIR + + if [ ! -d automation_xss_tc_new ]; then + echo "INFO: downloading automation_xss_tc_new" + git clone https://github.com/nghinv/automation_xss_tc_new.git + ln -s automation_xss_tc_new automation_xss_tc + fi + #download firefox + if [ ! -f firefox-21.0b7.tar.bz2 ]; then + if [ ! -d firefox21 ]; then + # remove firefox folder + rm -frv current_firefox || true + + # download firefox21 + curl -fL https://download-installer.cdn.mozilla.net/pub/firefox/releases/21.0b7/linux-x86_64/en-US/firefox-21.0b7.tar.bz2 -o ${EXO_WORKING_DIR}/firefox-21.0b7.tar.bz2 + tar xf ${EXO_WORKING_DIR}/firefox-21.0b7.tar.bz2 + + # choose ff21 + mv firefox firefox21 + ln -s firefox21 current_firefox + else + echo "INFO: the folder firefox21 existing, abort the download process" + fi + fi + + if [ ! -f selenium-server-standalone-2.52.0.jar ]; then + echo "INFO: downloading selenium-server-standalone-2.52.0.jar" + curl -fL http://selenium-release.storage.googleapis.com/2.52/selenium-server-standalone-2.52.0.jar -o ${EXO_WORKING_DIR}/selenium-server-standalone-2.52.0.jar + fi + + if [ ! -f plf-community-tomcat-standalone-4.3.0.zip ]; then + echo "INFO: downloading plf-community-tomcat-standalone-4.3.0.zip" + curl -fL https://repository.exoplatform.org/service/local/repositories/exo-releases/content/org/exoplatform/platform/distributions/plf-community-tomcat-standalone/4.3.0/plf-community-tomcat-standalone-4.3.0.zip -o ${EXO_WORKING_DIR}/plf-community-tomcat-standalone-4.3.0.zip + mkdir ${EXO_WORKING_DIR}/TC || true + if [ -d ${EXO_WORKING_DIR}/TC/current ]; then + echo "INFO: removing ${EXO_WORKING_DIR}/TC/current" + rm -rf ${EXO_WORKING_DIR}/TC/current + fi + unzip -q ${EXO_WORKING_DIR}/plf-community-tomcat-standalone-4.3.0.zip -d /tmp/PLF + TMP_PLF_DIR=`find /tmp/PLF -maxdepth 1 -mindepth 1` + if [ $? -eq 0 ]; then + mv $TMP_PLF_DIR/* ${EXO_WORKING_DIR}/TC/current/ + # extract dataset + echo "INFO: Extracting dataset" # extract dataset + + pushd ${EXO_WORKING_DIR}/TC/current/ + mkdir DATASET + pushd DATASET + # this dataset contain conf/server.xml and webapps/eXoResources.war together with gatein/data + tar xf ${EXO_WORKING_DIR}/automation_xss_tc/plf_templates/datasets/plf43comm/PLF43_DATASET_HSQL.tar.bz2 + popd + cp DATASET/* . -R + rm -rf DATASET + echo "INFO: ${EXO_WORKING_DIR}/TC/current/ is now ready to run" + popd #to EXO_WORKING_DIR + + echo "${EXO_WORKING_DIR}/TC/current/ RE_USE!SAMPLES 3600 SAMPLE_TEST_WITH_PLF43 SHOULD_WORK!eXoPLF.install.sh" + fi + fi +else + echo "ERROR: Expect to have the folder $EXO_WORKING_DIR to exist" + a=$((1/0)) +fi + + + + + TEST_VIRGO__00_start-new-bridge + + SUCCESS + 0 + BLUE + true + + + + + + + 5 + + + + + + + + \ No newline at end of file diff --git a/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/nextBuildNumber b/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/nextBuildNumber new file mode 100644 index 0000000000..d00491fd7e --- /dev/null +++ b/docker_shared_data/SEC_TEST_AUTO_1/jenkins_home/jobs/TEST_VIRGO__00_run_way/nextBuildNumber @@ -0,0 +1 @@ +1