Today, i am gonna describe a solution to
send the Jenkins email notification with editable subject instead of
default subject each time depending upon the current environment
This can help you in the case when
you have a Jenkins build,which builds with user provided environment
variable according to requirement and then you may also want to get
the email notification after completion with the subject having
environment variable used to trigger build.
I assume you have created a Jenkins job
as per your project requirements :
Step 1 : Configure the build parameters
[ User defined environment variable ]
Step 2 : Add Editable email
notification as after build action :
Step 3 : Update the Default subject as
given in screenshot to include the user given environment variables
in email notification.
If you have user defined
parameter 'testsite' with value…
Jetbrains IntelliJ IDEA Ultimate edition allow to use its IDE for 30 days for free but after that it ask you to register else it get closed after every 30 minutes run, which is bad bad bad :(
So what i noticed and did to overcome this, i wanted to share with you all.Actually, i noticed that its IDE saves the current system time and on basis of that it gets closed after 30 minutes.
So i created a batch script which reset the time every 20 minutes so the IDE run time does not over and you get it running till you want :) :) :) :)
Copy and save the below commands with name 'tReset.bat' and start after starting your Intellij ultimate edition.
REM : Save the current time in a variable
FOR /F %%G IN ('time /t') DO Set cTime=%%G
REM Displaye current time
REM Sleep for 20 minutes
REM Reset the time
Thanks :) :) :)
Sample svg code enbeded into Html code <html>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="939" height="360">
Selenium 2 (Webdriver) code to locate and intract with an svg element embeded into HTML
Suppose in above given svg code three buttons are embeded into the svg.
Now we will be finding the button and be clicking on them using 'css locators'.Here we go.... Method 1 // First of all find the 'svg' tag in the page and save it int…