Posts

Showing posts from 2018

Configuring jenkins with Robot Framework

Image
Jenkins is an import aspect of devops and is being widely used to schedule the execution of scrips now a days. In this blog i will help out to configure the Jenkins integration  with robot framework Download Jenkins You can refer to below url and download jenkin as per your environment https://jenkins.io/ Installation Install jenkins from exe    Once you click on Finish , your local browser opens up It will ask for password Go to your local installation directory , in my case it was   C:\Program Files (x86)\Jenkins\Secrets Click on intialAdminPassword , copy the password and paste it on Administrator password section Click on Install suggested plugins You can create your own user Create a free style project I provided the name as "Demo" project. Now we need to install required plugins to support robotframework. Go to Manage plugins Under the Available...

How to connect adb devices to linux container

Image
Assuming that you have Ubuntu image pulled in docker , in case not!  you can download with command docker pull ubuntu For more reference you can refer below link https://docs.docker.com/engine/reference/commandline/pull/#pull-an-image-by-digest-immutable-identifier Once the image is downloaded, you can check like below docker images | grep ubuntu To run the image as container docker run -ti -d --privileged ubuntu Check container id docker ps Lets run the command inside container , using container id docker exec -ti 8991d0a7f32c /bin/bash Verify if lsusb is installed or not , lsusb is used to know the hardware devices attached to the host machine. lsusb As per above error , lsusb is not recognized , so we need to install it. apt-get update apt-get install usbutils Check lsusb now Great !! lsusb is now installed on your container next step is to check java and install it in case it is not there in con...