Skip to content

jenkins shared library example for maven based prject

Notifications You must be signed in to change notification settings

rezaarshad/jenkins-pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

Jenkins Pipeline Shared Library

This repository provides an example of deploying Maven-based projects using Jenkins.

Required Plugins

How to Import and Use the Library

To import and use this shared library in your Jenkins pipeline:

@Library('jenkins-pipeline') _

MvnPipeline(
  branch: 'master',
  gitUrl: 'git url',
  type: 'mvn',
  deployType: '',
  email: '',
  serverPort: '8080',
  developmentServer: 'server1',
  stagingServer: 'server2',
  productionServer: 'server3',
  appName: '',
  deployInDev: true,
  deployInStage: false,
  deployInProduction: false
)

Releases

No releases published

Packages

No packages published

Languages