Skip to main content

Posts

Showing posts with the label Jenkins

Jenkins quick setup on @Nitrous

Want to quickly setup Jenkins on the cloud? Try this on http://www.nitrous.io. See a prior post about setting up Dashing.io on Nitrous.io for basics of how to get started on Nitrous.io if required and then come back here. Advantage: If you want to experiment with something new on Jenkins before you run it in a production environment, this will get you going quickly. If you mess up, just re-install in Nitrous.io and start over. Step 1:  Copy the installation commands from this Jenkins-ci page - https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu to a shell script in the Nitrous.io IDE and run the shell script. You could just run them in the command line if you choose. Step 2:  View Jenkins in the browser by previewing port 8080 as seen in the screenshot Jenkins will show up on a new browser window. It works! 

@Jenkinsci analytics with @Elasticsearch and #Kibana

I have been doing a lot of work with presenting Jenkins data in dashboards. Jenkins by default does not come with a built-in database. All the data gets stored in the filesystem. However, Jenkins has a REST API that allows us to read data as json. I searched around the Googlesphere to see if anyone had figured out how to capitalize on this REST API for performing analytics and found almost nothing directly related to this. I was searching for open to public Jenkins instances to see how other people use Jenkins. I came across Elasticsearch's Jenkins site and I was pleasantly surprised. Elasticsearch is a json document storage application. There is a Jenkins plug-in that directly inputs data to Elasticsearch.  I implemented this proof of concept to perform Jenkins analytics with Elasticsearch as the document store and Kibana as the analytics engine. I automated the installation part using Docker. There are better ways to automate this. The steps given below do not require any...

Everything I know about Jenkins - Part 2 - Test drive

In this post, I will list simple steps to start Jenkins and play with it for the first time. Prerequisites 1. Windows, Mac or Linux operating system or virtual machine 2. A recent version of JDK installed. Verify by executing 'java -version' on the command line. Installation Download the latest jenkins.war file from http://mirrors.jenkins-ci.org/war/latest/jenkins.war Startup 1. Start Jenkins as a java app by executing 'java -jar jenkins.war' (In Windows, you may need to open command prompt as admin) 2. A message stating 'Jenkins is fully up and running' shows up eventually. Access the front end Open http://localhost:8080 in a browser and you should see the front page of Jenkins. Authentication is disabled by default. Create your first Jenkins job 1. Click on 'New Item' on the list of links on the left. 2. Enter the job name, select 'Freestyle project' and click ok. 3. Scroll to the bottom of the job configu...

Everything I know about Jenkins - Part 1

I have been working with Jenkins for over an year as a user, developer, customization programmer and providing operations support for Jenkins at Blue Shield of California. I started playing with Jenkins by running it on my laptop as a standalone jar. I moved on to running it on Tomcat in a VirtualBox VM. Later, I created reusable a Vagrant box for the same. Then I got hooked on Docker and created a replica of a production Jenkins server as a Docker container. 1. What is Jenkins? Jenkins is an open source tool that allows organizations to perform continuous integration and continuous delivery (CICD) of all their software applications through automated builds and deployments. The creator of Jenkins is Kohsuke Kawaguchi . I had the pleasure of meeting him at a Jenkins conference in San Francisco. 2. Are there other options? Yes. Teamcity from JetBrains, Bamboo from Atlassian. There may be others and I have not tried them. 3. Do I need any other tools or software to perform CICD ...