Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
work.servoy.install.dir = [path_to_your_separate_Servoy_developer_installation]
smart_test_solutions    = solution1,solution2
WORKSPACE               = ${WORKSPACE}
ANT_CONTRIB_JAR         = ${ANT_CONTRIB_JAR}

If you are on windows use '/' or '\\' instead of '\' in that path. For example "work.servoy.install.dir=f:/ServoyInstalls/Servoy_7.3".

...

Code Block
languagejava
work.servoy.install.dir   = [path_to_your_separate_Servoy_developer_installation]
deploy.servoy.install.dir = [path_to_your_deployment_Servoy_developer_installation]
webdriver.chrome.driver   = [path_to_chromedriver.exe_that_was_downloaded_above]
selenium.server.jar       = [path_to_downloaded_selenium_server_jar]
WORKSPACE=${WORKSPACE}
ANT_CONTRIB_JAR=mobile_test_solutions     = demo_ipAddressValidatorTester
mobile_service_solutions  = demo_ipAddressValidatorTester_service
mobile_to_deploy          = demo_ipAddressValidator
mobile_to_deploy_services = demo_ipAddressValidator_service
WORKSPACE                 = ${WORKSPACE}
ANT_CONTRIB_JAR           = ${ANT_CONTRIB_JAR}

For example:

Code Block
languagejava
work.servoy.install.dir   = f:/ServoyInstalls/Servoy_7.3
deploy.servoy.install.dir = f:/ServoyInstalls/Servoy_7.3_deployment
webdriver.chrome.driver   = f:/Selenium/Drivers/Chrome/chromedriver.exe
selenium.server.jar       = f:/Selenium/ServerJar/selenium-server-standalone-2.3339.0.jar
WORKSPACE=${WORKSPACE}
ANT_CONTRIB_JAR=${ANT_CONTRIB_JAR}(...)

The deployment installation of Servoy can be the one that "Install/Start Servoy Server Importer" step will use.

...

  • Under "Source Code Management", instead of configuring sample SVN contents, configure the location of your own solutions to be checked out. Make sure the resulting job workspace contents are similar (after checkout the job workspace directory should contain directly the solution/resources project directories).
  • Adjust "Abort the build if it's stuck" value depending on how long you expect your test job to run.
  • At "Build" -> "Add build step" -> "Invoke Ant" -> "Advanced" -> "Properties" -> expanded - add to edit in that text-area the following properties to specifiy the names of the root solutions relevant for your test job:
    • in case of Smart Client job - replace sample tests root solution names below with your own; comma separated list:

      Code Block
      languagejava
      smart_test_solutions      = solution1,solution2
    • in case of Mobile Client job - replace sample root solution names below with your own; comma separated lists:

      Code Block
      languagejava
      mobile_test_solutions     = demo_ipAddressValidatorTester
      mobile_service_solutions  = demo_ipAddressValidatorTester_service
      mobile_to_deploy          = demo_ipAddressValidator
      mobile_to_deploy_services = demo_ipAddressValidator_service
  • Change the "antRunner/servoy.properties" file as needed by your solutions (define servers and other needed changes; the repository server can be a Hslq (in memory) server to always import clean or you can change it to a persistent server as well).

...