Another essential piece of jenkns experience is plugin configuration. Today,if you are looking to add plugins to yur jekins environment,you are almost certainly using google to finda 3rd party review site,collecting he name f the plugin you want and then either linking to it on this website,or filtering for it in the plugin manager GUI.
When a developer has completed an initial version of the code and pushed the code to the server. If he wants to merge some code for bug fix or any new feature again in the repository – then it is important for him to know – that result of new changes into the repository should not break the old code.
a. They can configure their code repository with Jenkins – so that, whenever they push the new changes in the repo – an automatic build should trigger which will send them an email about the build status after the changes. This scenario has limitations and it will only help them to understand that build is stable and there are no compilation/source code errors. b. They can also write unit tests against his code and can configure them with Jenkins – so that these unit tests will execute – the moment there are any changes in the development repository. In this way – he can see that all his old Unit tests are passing after integration of new changes.
They generally utilize Jenkins for scheduling and triggering automated front end / integration tests such as – Selenium tests / API tests.
a. They can configure normal Selenium + TestNG project using windows batch file
b. They can configure any Java project which uses ANT as a build tool
c. They can also configure Maven project by adding a Maven plugin into Jenkins.
There has never been a better time to bring your store online with an apt e-commerce strategy. We live in a world where we communicate through smartphones and users want nothing more than to reach out to an online store open 24/7 from the comfort of their homes. E-commerce is the virtual supermarket ready to sell your products, be it through a website or a mobile responsive application. And what you need is e-commerce websites for sale if you are willing to join the race in business through the help of the internet.
If you are looking for inexpensive and accessible e-commerce solutions, we at Teknotrait are now pleased to announce a groundbreaking offer starting from this month : we are allowing our customers to open their store online via e-commerce website or through any mobile responsive application for just Rs. 299 per month only. This brilliant opportunity is extended by more. We will be providing free maintenance for 1 month along with free web hosting for the initial two months.
Why opt for e-commerce you ask?
E-commerce is now popular for vast reasons. It requires far less capital investment than an actual store as there is no need for recruiting sales staff, no requirement for renting shops or its infrastructure. If you have a e-commerce website and quality products, you are good to go. This is one of the primary reasons why online stores are able to sell their products at a reduced rate, applying discounts every now and then. The more there are Big Billion Days and Fashion Sales, the more customers frequent to buy items and this way more and more transactions are recorded each day.
And when we wonder how far ahead customers and sellers have come with online retail e-commerce sales, we get results of that we would have refused to believe a decade ago. In India, the e-commerce revenue is expected to jump from $30 billion in 2016 to $120 billion in 2020, thus having the highest rate of annual growth in online shopping, a booming 51% in the world.
Not only can you build your online shop and sell your own products with our help but there are other additional opportunities as well with your very own e-commerce portal.
Affiliate marketing too is a killer service one gets by owning e-commerce websites and it could boost one’s sales manifold. In this type of marketing, other websites will place your products on their site and in case, they get sold, you need to pay them a small part of the commission. The amount of revenue one can attain this way is tremendous.
With the advent of the virtual world there are no limitations for seller’s reach and no destination barriers. This is the first and foremost benefit of online selling and such e-commerce applications and websites. All you need is a user friendly e-commerce website or a mobile application, which does not have complex navigation and you have a showroom for customers that fit in their busy lives.
Setup Your Jenkins Server:
Download jenkins.war file from website and keep it inside a folder. For example I have kept inside F:\Softwares\Jenkins folder. Now go to respective folder through command prompt and execute following command:
java –jar jenkins.war
On successful execution You will see “Jenkins is fully up and running” log. Also Note Admin password to setup your Jenkins server, in my case it is ‘8e7a77318f9d4aa39f241c5ef5277fb8’. Refer bellow snapshot :
Now open any browser and navigate to “localhost:8080” page. You will be see similar page :
Now enter your admin password on “Unlock Jenkins” page which you captured from command prompt (in my case it is “8e7a77318f9d4aa39f241c5ef5277fb8”) and then “Continue”.
Now you have to select plugins for your Jenkins server. Click on “Select plugins to install” option.
If you select “Select plugins to install” then by default suggested plugins will be selected. In this section install three more plugins :
Parameterized Trigger plugin
Bitbucket Plugin (As I have selected Bitbucket Repository for build source code, You can select another plugin based on your code repository.)
Now finally click on Install to install your desired plugins.
NOTE: You may be encounter with Unable to connect issue. You can try with Retry option.
If problem persist the stop your Jenkins server from command line by pressing ctrl + C and restart again. Now follow step 2 and then enter your admin password on “Unlock Jenkins” page which you captured earlier from command prompt (in my case it is “8e7a77318f9d4aa39f241c5ef5277fb8”) and then “Resume”. Now select your plugins and install them.
Now setup your credential and click on “Save and Finish” button.
On successful setup you will navigate to following page.
Finally click on “Start using Jenkins” and you will be redirected to Jenkins Dashboard page.
Configure Global Tool and Additional Plugins:
First we have to setup Global Tool Configuration. Click on Jenkins (under header) > Manage Jenkins > Global Tool Configuration.
Now In this page configure your JDK and MAVEN.
i) JDK: Scroll to JDK section and click on “Add JDK” button. Enter JDK name. Uncheck install automatically option and enter JAVA_HOME environment variable value.
If you want to use different java version for your project then Uncheck install automatically option and enter appropriate value for requested field and then click on “Save” button to save your java configuration.
ii) Git: Go to Git section (As we are using Bitbucket as our source code repository) and enter Git name. Uncheck install automatically option as you have already Git installed in your system and set “Path to Git executable” field to your Git executable application and click on “Apply”.