This Jenkins pipeline has three steps to test CI-CD on a nodejs application:
Build allows to clone repository and build application
Test allows to test the application through Mocka.
Deploy allows execute a script in order to deploy the application via SSH on a remote server.
Finally, you receive a notification from Slack if the pipeline's result was succesful.
Slack Notification
About
This Jenkins pipeline has three steps to test CI-CD on a nodejs application