Skip to content
Ben Stabler edited this page Jun 1, 2017 · 29 revisions

Setup

  • .Net framework used by Daysim
  • Microsoft Build Tools
  • Anaconda Python 3.5+. Jenkins needs to reference the install location (i.e. C:\Anaconda3)
  • Jenkins 2.x.x
  • git
  • git-lfs (large file storage)

Jenkins

Required plugins

  • git
  • github
  • msbuild
  • ShiningPanda (for Python)
  • SCM Sync Configuration Plugin (so changes to the Jenkins job are checked into Git)

Git setup

Git user DaySim-Jenkins-user has admin rights on the DaySim github repo. This Git account is connected to the user account daysim_jenkins_user in the git configuration for Windows.

Setup a Daysim job for Jenkins to run

The Daysim test job is stored in Git along with the Daysim code. It is the following Python program. Jenkins keeps jobs as subfolders.

python Daysim.Tests\Daysim.Tests.external\compare_output_directories\regress_subfolders.py --regional_data_directory "e:\rd\psrc_days_test-git"