/declarative-pipeline

jenkinsfile pipeline library

Primary LanguageGroovyMozilla Public License 2.0MPL-2.0

javatar declarative pipeline

This is jenkins shared library created by Javatar

Documentation

Our documentation is in confluence

What is this repository for?

  • Setup CI/CD for micro-sevices with a help of jenkins & this library
    • java
    • golang
    • nodejs
  • Setup CI/CD for UI repos based on docker or S3 artifacts
    • angular
    • react
    • viewjs

How do I get set up?

  • You can use import @Library('declarative-pipeline') into Jenkinsfile
  • All configuration should be in Jenkinsfile
  • All code files must be groovy, Jenkinsfile's restriction
  • All jobs (except development/experimental) should use tag version
  • Jenkinsfile example continuous-delivery repo

Contribution guidelines

  • All experiments you can do in feature branch, import @Library('declarative-pipeline@branchName')
  • After library works property merge into master and create tag version for it

Who do I talk to?

RELEASE NOTES

  • 1.2
    • added yml configuration support
    • ui deployment to s3
    • sonar integration
    • marathon/mesos deployment on dev env with docker images included build number
    • multi docker project (multiple Dockerfiles in sub-folders)
  • 1.1
    • added python support
    • added github support
  • 1.0
    • tools supported: gitlab, docker, mesos
    • build tools: maven, npm
    • version control types: git, mercurial
    • version control providers: gitlab, bitbucket
    • sonar quality check