Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
427 views
by The go-to Tester (218 points)
I can run run automated tests using Jenkins and send bug report to designated email address. I want to run Jenkins tests from a web server or a cloud. How can I do this. How can i configure web server to run jenkins.
by The go-to Tester (181 points)
What kind of configuration do you have? Linux or Windows? What are the steps you have already completed? What point are you facing error?
by The go-to Tester (218 points)
I had checked Amazon cloud services at https://aws.amazon.com. I am not sure about the details but want to run automated tests as an on line process. not from my pc.

1 Answer

1 like 0 dislike
by The go-to Tester (181 points)
selected by
 
Best answer

So, from Amazon, you can buy any VM you like. Windows or Linux.

In the case of Windows you can access it via RDP and in the case of Linux, you can access it via SSH using Putty.

Instruction to set Jenkins on Windows machine as a service:

First, you need to start Jenkins before installing it. This can be done from JNLP, or by running "java -jar jenkins.war".

Now connect to Jenkins by going to the following URL http://<hostname>:8080/
Once Jenkins is started this way, look for the "Install as Windows Service" link in the "Manage Jenkins" page (requires Microsoft .NET framework version 2.0)

Click "Install as Windows Service". It will navigate to the installation screen.

Choose the path on the installation screen where you want to install Jenkins. Make sure that the directory exists.

Click on Install and it will install Jenkins as a service.

You can now restart Jenkins to re-launch it as a newly installed service.

On the Linux machine say Ubuntu:

You need to have a JDK and JRE installed. openjdk-7-jre and openjdk-7-jdk are suggested

Then execute below commands:

wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins

src: 

  1. https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+as+a+Windows+service
  2. https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...