That worked fine... for regular users. But not for building Ranorex solutions via the Jenkins plugin.
I had to remove *.sln files from .gitignore as Jenkins use that file for building. Then things worked fine... until someone created a new project... Seems like the Jenkins plugin needs *Repository.cs files in order to build. After removing that one from the .gitignore file, Jenkins builds were fine again.
Anyone knows why? Are solutions built differently by the Jenkins plugin and the Ranorex GUI?
Code: Select all
# Taken from https://www.ranorex.com/forum/viewtopic.php?f=4&t=10988&p=44185&hilit=gitignore#p44185
# CHANGE: removed *.sln from list - Jenkins needs it.
#User specific files
*.csproj.rxuser
Solution specific files
*.rxsln.pref
#Project specific files
*.csproj.pref
#Autogenerated files
# CHANGE: *Repository.cs removed. Jenkins needs it.
#Reports Directory
Reports/
#Output Directories
Bin/
Obj/
#Repository Images
*.rximg
RepositoryImages/
#Nuget Packages
*.nupkg
**/packages/
!**/packages/build
Bo Bøgvald