How To Use Shared Libraries In A Jenkins Pipeline?

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • spring-boot-data-H2-embedded

    Spring Boot Demo App with H2 In Memory Database

  • pipeline { agent any tools { maven 'Maven 3.5.0' jdk 'jdk8' } stages { stage("Tools initialization") { steps { sh "mvn --version" sh "java -version" } } stage("Checkout Code") { steps { git branch: 'master', url: "https://github.com/iamvickyav/spring-boot-data-H2-embedded.git" } } stage("Cleaning workspace") { steps { sh "mvn clean" } } stage("Running Testcase") { steps { sh "mvn test" } } stage("Packing Application") { steps { sh "mvn package -DskipTests" } } }

  • @Library('first-shared-lib') _ jenkinsLambdaTest 'https://github.com/iamvickyav/lambdatest-sample-repo.git'

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • NodeJs-Cucumber-Selenium

    Run test automation on cloud with Cucumber.js and LambdaTest. This is a sample repo to help you execute Cucumber.js framework based test scripts in parallel with LambdaTest automation testing cloud

  • _ Note: Sign Up on the https://www.lambdatest.com/ to get your username & accesskey._

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts