Build angular application in jenkins

Can I use any other scripts other than bash?

Yes, if you know how to write scripts in shell or python then please do so. But please remember that the underlying operating system should have the support for that terminal. For example PowerShell for windows or zsh for MacOS.

Can I use my local NodeJS installation?

Yes, just remember to point to it while setting up your tools.

I don’t have Ubuntu. How can I run bash scripts?

If you don’t have Ubuntu then you can run it using a virtual machine technology like VMWare or Oracle VirtualBox. Visit this page to learn how to setup virtual machine. Ubuntu is an excellent choice for beginners and has extensive community support too.



How to Build Angular Application in jenkins ?

Jenkins is a popular tool for Continuous Integration. Using Jenkins, we can externalize the build process for our code. It allows teams to collaborate more efficiently and deliver software in shorter cycles. In this article, we will learn how to build an angular app in Jenkins.

Similar Reads

Pre-Requisites

Clone the Code By using the below link....

How to build angular application using Jenkins?

Step 1: Install the plugin support for Jenkins...

Output

Upon clicking the proceed button, your kill.sh file is run by Jenkins. This stops the angular application from running and you can see the message ‘Finished: SUCCESS’ on your console as follows:...

Conclusion

In this article we covered a lot of things. We setup our computer to build our projects using Jenkins and also learnt how we can do so through Virtual machine. We hosted our code on a source code manager and externalized our build process using Pipeline-as-a-code. The code we wrote for our file was in the form of a bash script. Next, we viewed our running application and afterwards, we successfully stopped the process and completed our build. That were indeed a lot of things. If you faced any unwanted errors, please feel free to discuss in the comments below....

Build angular application in jenkins – FAQ’s

Can I use any other scripts other than bash?...

Contact Us