I’m trying to set up a test environment for a CMS system in Jenkins. I want to run a bat file first and afterwards I want to call in the CMS (with Selenium?) the code in the content pages to start the tests. But how can I do that? Can anyone help me a little witch configuration I need and is there some tutorial or something?
Of course, this assumes you are using Selenium to run the tests. But just about any tool that can test web applications should work, and for all of them the above options are pretty much what you have.
Yeah I understand, but I can't find how to start Jenkins with my CMS server.. Everytime I start a test he doesn't find anything. He said there is no project. So I would like to do a tutorial where I can find out how this works..
What do you mean by "start Jenkins with my CMS server"? The CMS (it would help if you told me which one you were using) is deployed to an application server and you run that by itself. Ditto for Jenkins - it uses either a app server (Resin, I think) built into its WAR file, or you can deploy the WAR to an app server. There is no such thing as "starting" Jenkins from the CMS.
Everytime I start a test he doesn't find anything. He said there is no project.
In Jenkins, you create jobs. A job runs a script on a build slave. That script does whatever, usually compiles something, but it can also do other things such as run tests (such as tests created using Selenium).