How to send email at every build with Jenkins

Posted Posted in Android, Automation/QTP/Selenium Blogs, Java, JavaScript, Others, questions, Selenium Cucumber, Technical blog, Trending, Wordpress
Jenkins default configuration setting allows to send email notification for build failure, someone breaks the build etc. To send email for every build Install Email-ext plugin. Once it is installed, click on Configure System Then in “Jenkins Location” section & “Extended E-mail Notification” – enter your email ids In “E-mail Notification” section, enter the SMTP […]

Jenkins reset user password

Posted Posted in Java, JavaScript, Others, questions, Selenium Cucumber, Technical blog, Trending, Wordpress
Jenkins reset user password : First stop the Jenkins service if you are already running jenkins Go to the folder where jenkin’s config.xml file is stored (generally C:\jenkins\.jenkins\config.xml) Open config.xml file using notepad++ or any text editor Search for <useSecurity>true</useSecurity> and change that to <useSecurity>false</useSecurity>, Save the file. re-start Jenkins service (using Java -jar jenkins.war […]

How to run selenium tests in jenkins

Posted Posted in Java, JavaScript, Others, questions, Selenium Cucumber, Technical blog, Trending, Wordpress
How to run selenium tests in Jenkins Jenkins configuration: To run selenium scripts in Jenkins, Jenkins needs to started. To make Jenkins server start, please use the following command in the Jenkins folder of your machine when Jenkins.war file is downloaded from internet… “java -jar jenkins.war” in DOS / command prompt mode. Then you need […]

how to print alphabets using java programming

Posted Posted in Trending, Uncategorized, Wordpress
First Method: char cAlpha = ‘A’; do { System.out.println(cAlpha ); cAlpha ++; } while (cAlpha <= ‘Z’);   Second method: char cAlpha = ‘a’; while (cAlpha <= ‘z’) { System.out.println(cAlpha); cAlpha ++; } Third Method : class PrintAlphabets { public static void main(String args[]) { char chAlpha; for( chAlpha= ‘a’ ; chAlpha<= ‘z’ ; chAlpha++ ) […]

Java quick reference

Posted Posted in Java, JavaScript, Wordpress
Java quick reference Java is object oriented(OOP) programming language. It is platform independent and can be run on any Operating system (OS) and it requires java interpreter (for bytecode to machine code transfer) in the system. Java applets are one type of java program which is used within a web page however JSP is used […]

Docker container raspberry pi

Posted Posted in Trending, Wordpress
Docker container raspberry pi Docker functions like Virtual machine but has got more merits than Virtual machines. Mainly performance and easiness of implementation. Docker manages the software infrastructure and runs as container containing the software and dependencies.  Docker image can be created which can be a software and its dependencies. This docker image can be […]

Summary of SQL

Posted Posted in Android, questions, SQL, Wordpress
What are the SQL MAX() and MIN() Functions? The MAX() function returns the largest value in the selected column. The MIN() function returns the smallest value in the selected column. SELECT MAX(Weight) AS LargestWeight FROM CricketBats ; SELECT MIN(Weight) AS SmallestWeight FROM CricketBats ; What are the SQL AVG(), COUNT() and SUM() Functions The SQL […]