Jenkins (Freestyle)

Jenkins is the leading open source automation server, Jenkins provides hundreds of plugins to support building, deploying and automating any project.

You can use our jenkins plugin in your free-style project. You can setup jenkins from their official docs or follow our Jenkins (Pipeline) guide.

Install Tacotruck plugin

TODO — This will be replace after jenkins plugin is hosted.

Install Node.js Plugin

Tacotruck plugin requires nodejs as dependency. Login to your jenkins dasboard and go to the settings page. Plugins are available at http://localhost:8080/manage/pluginManager/available this path. You can search for "Nodejs" plugin. Select the plugin and install. You may need to restart your jenkins instance after installing the nodejs plugin.

Configure Nodejs as Global Tool

  1. Go to settings and click on tools section.

  1. Click on "Add Nodejs" button

  1. Install a Nodejs version. Please make sure that you install node version20. You need to name the Tool so that we can refer it later from the pipeline script.

Create a Freestyle project

Click on the "New Item" button from the home page of jenkins dashboard and create a new freestyle project.

Configure your project

First we need to configure nodejs environment for Tacotruck CLI. We can select the "Environment" tab and under "Envronment" section we should select the option to Provide Node & npm bin/ folder to PATH

Add Build and Test step

You can configure build and test step based on your tech stack or requirements. Here is an example that runs a C# .NET test and outputs a test-results.xml file.

Submit the test results using Tacotruck step

We can add "Execute Tacotruck" build step from "Add build step" dropdown button and configure all the required fields.

Last updated