Giter Club home page Giter Club logo

pipeline-jobs's Introduction

CNCT Pipeline JobDsl configuration

JobDsl configuration and definitions from CNCT Pipeline Jenkins

Repository structure

configs - YAML configurations for github repositories to be monitored by CNCT Jenkins
jobdsl - JobDsl code that will be executed by CNCT Jenkins seed job
scripts - additional groovy scripts

Configuration

To add a repo to be monitored by CNCT jenkins, add a yaml file to configs. Two types of YAML configurations are currently supported

type: cnct

CNCT pipeline type job. Jenkins will look for pipeline.yaml and .versionfile in the repository root.

Example:

---
type: cnct
uniqueId: pipeline-jenkins
displayName: JenkinsCI pipeline
description: Pipeline Jenkins Helm chart and docker files
apiUrl: "https://api.github.com"
org: samsung-cnct
repo: pipeline-jenkins
keepDays: 10
credentials: github-access
Setting Description
type Pipeline type (cnct)
uniqueId unique ID for the pipeline
displayName Pipeline display name in Jenkins dashboard
description Pipeline description name in Jenkins dashboard
apiUrl Github API URL
org Github Org for this repo
repo Github repository name
keepDays Job data retention in days
credentials Jenkins github credentials ID

type: standard

Standard multibranch pipeline. Jenkins will look for Jenkinsfile in the repository root

Example:

---
type: standard
uniqueId: pipeline-jobs
displayName: Jenkins jobs pipeline
description: Job configuration repository
apiUrl: "https://api.github.com"
org: samsung-cnct
repo: pipeline-jobs
keepDays: 10
credentials: github-access
Setting Description
type Pipeline type (cnct)
uniqueId unique ID for the pipeline
displayName Pipeline display name in Jenkins dashboard
description Pipeline description name in Jenkins dashboard
apiUrl Github API URL
org Github Org for this repo
repo Github repository name
keepDays Job data retention in days
credentials Jenkins github credentials ID

Additional job dsl code

All .groovy files under jobdsl will be executed as JobDsl code by CNCT Jenkins.

Testing

TBD

pipeline-jobs's People

Contributors

maratoid avatar davidewatson avatar notjames avatar leahnp avatar l337ch avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.