Jenkins Simple Pipeline Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 22: Line 22:
====Do not allow concurrent builds====
====Do not allow concurrent builds====
Leave unchecked.
Leave unchecked.
====Do not allow the pipeline to resume if the master restarts====
====Do not allow the pipeline to resume if the master restarts====
Leave unchecked.
====GitHub project====
====GitHub project====
Leave unchecked.
====Delivery Pipeline configuration====
====Delivery Pipeline configuration====
Leave unchecked.
====Pipeline speed/durability override====
====Pipeline speed/durability override====
Leave unchecked.
====Preserve stashes from completed builds====
====Preserve stashes from completed builds====
Leave unchecked.
====Rebuild options====
====Rebuild options====
Leave unchecked.
====This project is parameterized====
====This project is parameterized====
String Parameter
String Parameter
Name: branch
Name: branch



Revision as of 03:17, 1 January 2020

Internal

General

Description

"Artifact pipeline that runs tests, packages and publishes ..."

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

Leave unchecked.

Do not allow the pipeline to resume if the master restarts

Leave unchecked.

GitHub project

Leave unchecked.

Delivery Pipeline configuration

Leave unchecked.

Pipeline speed/durability override

Leave unchecked.

Preserve stashes from completed builds

Leave unchecked.

Rebuild options

Leave unchecked.

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

Lightweight checkout.