Jenkins e-mail notification with Office365

Jenkins is a great tool for automation and building the Continuous Integration and Continuous Delivery/Deployment (whatever you want) systems. But the more jobs you create, the more complicated Jenkins will be. Hence you should have some tools for monitoring whether everything is ok. The most basic way to monitor Jenkins’ jobs is e-mail notification. More and more companies choose Office365 as their e-mail service. Today I will show you how to configure Jenkins e-mail notification with Office365 because it’s not so obvious as you may think. I don’t want to show you how to configure and run Post Build Publisher, Continue reading

Free IT e-books with Jenkins

Maybe some of you know PacktPub – part of the Pack Publishing Limited Company. They publish once a day a free IT e-books, which can be saved and downloaded from the account. Every day one can download another e-book from the very big library. It’s a really really great possibility, but it has one, serious problem. We must remember to take a look at the page every day. Without this, we may miss something interesting. Moreover, manual checking is not what we want to do. You wouldn’t be there if you like doing manual things, which can be done automatically! Continue reading

How to run Jenkins with docker?

Sometimes no one wants to deploy and configure the whole server and applications. Especially when the time is the scarce resource. Developers know about it – they face this problem every day. One of the solutions is docker. It helps with deploying, provisioning and automating development and production environments without the big workload. Docker can help also with learning. You do not need the create separated virtual machines for your labs. The only one you need is docker and your own notebook/PC. Forget about long configuration processes and subsequent work expenditures (removing, cleaning etc.). If you want to learn some Jenkins, Continue reading

Deploying multiple vSphere VMs with Terraform

Automation doesn’t mean only the ability to automate some process and repeating it over and over again. It means also the ability to automate every automated process – if it’s possible of course. So even if we can automatically deploy VM, why shouldn’t we try to deploy multiple machines? Everything is fine until we need to deploy three, four or more same virtual servers. It would be very annoying unless we automate also this process – process of deploying multiple vSphere VMs with Terraform. If you haven’t read my previous article, you can do it here: Deploying vSphere VM with Terraform. Continue reading

Terraform vSphere provider is alive again – hostname variable

Yes, I have been waiting for it for a long time! When Hashicorp decided to separate Terraform Core from Providers, vSphere Provider died. It lasted two months – no merging, no new releases. But it has changed at the end of the August – Chris Marchesi (better known as vancluever) took the matter into his own hands and he’s now taking care of re the repository. It’s great news, especially for those of us who use Terraform in the daily work with the vSphere. Terraform vSphere provider allows to use different hostname and name Chris has made a lot of work since Continue reading

vCloud HCL generator – small update

I should have updated my vCloud HCL generator for Terraform immediately after releasing the 0.10 version of Terraform. Unfortunately, it has been done at 2nd August 2017, so I didn’t have enough time. And I should have made it after the separating providers from the Terraform Core because the possibility of using original and translated port exists in the vCloud Director Provider code since 16th June 2017! But today I found some time and I’ve updated my code, so now it’s compatible with Terraform again. It’s a very small change because I’ve added only the one additional line with one Continue reading

Summer break and the future plans

August is a great month. Everyone can find the way to relax, but it means less time for working and writing. I should now publish a new post, but I am enjoying my break. I try to keep the two weeks between each article – it’s obvious to me that systemic is one of the most important things in blogging. Unfortunately, summer doesn’t help in regularly writing. I have begun some posts, but I can’t complete anyone of them. On the other hand, I don’t want to decrease the quality. On the contrary, I would like to publish articles which will Continue reading

How to use credentials in Jenkins projects?

Some time ago I published a post in which I explain how you can create credentials in Jenkins. It’s very important topic because there are several ways to manage the credentials, but not all of them are safe. I showed you in my post how to use Credential Plugin, and it’s enough for adding, storing and managing secrets, but not for using them in the builds. I think this topic should have a separate discussion, so I decided to make this post. So now you will learn how to use credentials in Jenkins projects! Short reminder One can add and manage Continue reading

vCloud HCL generator for Terraform

vCloud Director is one of the VMware products which help service providers with the public cloud delivery. As with the most VMware products, developers can communicate with it by API. So if something has API, it may have its own Terraform Provider! To be honest, I use vSphere Provider more than vCloud, but sometimes it’s better to use Terraform instead of using GUI or even PowerCLI. Of course, I don’t save the states of my infrastructure, because I don’t need to destroy or change it later, but I can save my time during the creation of new infrastructure. One of Continue reading

“Unable to expire password for root” – Debian 9 in vCloud Director

Debian 9 was released on 17th of June 2017, and for me, it was not only the information about the arriving upgrades. Also, it was the sign of the new vCloud Director template. I started making it on Monday, and I faced the problem with customization. Of course, I used Open-VM-Tools because I try to use them everywhere. I had many problems with customization, but it was the first time when I had a problem with password customization on a Linux guest OS – I got “unable to expire password for root” error. Fortunately, I took one look at the Continue reading