Jenkins Simple Pipeline Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 35: Line 35:
====Throttle Concurrent Builds====
====Throttle Concurrent Builds====
====Throttle this project alone/Throttle this project as part of one or more categories====
====Throttle this project alone/Throttle this project as part of one or more categories====
====Maximum Total Concurrent Builds====
5


The maximum number of concurrent builds of this project (or category) to be allowed to run at any one time, across all nodes.
====Maximum Concurrent Builds Per Node====
====Prevent multiple jobs with identical parameters from running concurrently====
====Throttle builds====
====Prepare an environment for the run====
=Build Triggers=
=Build Triggers=
====Build after other projects are built====
====Build periodically====
====Build when another project is promoted====
====GitHub Pull Request Builder====
====GitHub hook trigger for GITScm polling====
====Poll SCM====
====Disable this project====
====Quiet period====
====Trigger builds remotely (e.g., from scripts)====


=Advanced Pipeline Options=
=Advanced Project Options=
 
Display Name


=Pipeline=
=Pipeline=
Definition: Pipeline script from SCM
SCM: Git
Repositories:
Repository URL:
Credentials:
Branches to build:
Branch Specifier: $branch
Repository browser: Auto
Additional Behaviors
Script Path: infra/something.Jenkinsfile

Revision as of 01:22, 1 January 2020

Internal

General

Description

Discard old builds

Yes

This determines when, if ever, build records for this project should be discarded. Build records include the console output, archived artifacts, and any other metadata related to a particular build. Keeping fewer builds means less disk space will be used in the Build Record Root Directory, which is specified on the Configure System screen.

Strategy: Log Rotation

Max # of builds to keep: 10

Advanced:

Do not allow concurrent builds

Do not allow the pipeline to resume if the master restarts

GitHub project

Delivery Pipeline configuration

Pipeline speed/durability override

Preserve stashes from completed builds

Rebuild options

This project is parameterized

String Parameter

Name: branch

Default Value: develop

Description: the branch to build on

Throttle Concurrent Builds

Throttle this project alone/Throttle this project as part of one or more categories

Maximum Total Concurrent Builds

5

The maximum number of concurrent builds of this project (or category) to be allowed to run at any one time, across all nodes.

Maximum Concurrent Builds Per Node

Prevent multiple jobs with identical parameters from running concurrently

Throttle builds

Prepare an environment for the run

Build Triggers

Build after other projects are built

Build periodically

Build when another project is promoted

GitHub Pull Request Builder

GitHub hook trigger for GITScm polling

Poll SCM

Disable this project

Quiet period

Trigger builds remotely (e.g., from scripts)

Advanced Project Options

Display Name

Pipeline

Definition: Pipeline script from SCM

SCM: Git

Repositories:

Repository URL:

Credentials:

Branches to build:

Branch Specifier: $branch

Repository browser: Auto

Additional Behaviors

Script Path: infra/something.Jenkinsfile