Member-only story

One of the easiest ways to build and run Javascript applications for testing before the production stage: Using the “Docker Plugin” as an agent in Jenkins.

In this article, we will see how to use the Docker plugin in Jenkins, which is the easiest way to build Javascript applications using Yarn or run Java scripts using NodeJs, step by step. It will allow us to build or run the Javascript code on the containers that will be created without the need for Docker settings, and without typing a Docker file. Easily and effortlessly.

Cumhur Akkaya
7 min readJun 11, 2023

Topics we will cover:

1. What is the Docker plugin?

2. Installing the Docker plugin.

3. Preparing the Jenkins file to use in the Jenkins pipeline

4. Preparing the Jenkins pipeline to use the Docker plugin

5. Running Jenkins pipeline and monitoring the build of the Java script using Yarn via the Docker plugin.

6. As a Result

7. Next Post

--

--

Cumhur Akkaya
Cumhur Akkaya

Written by Cumhur Akkaya

✦ Multi-Cloud & DevOps Engineer, ✦Technical Writer, ✦AWS Community Builder, ✦LinkedInTop Voice, ✦Believes in learning by doing, ✦ linkedin.com/in/cumhurakkaya

Responses (1)