Changeset View
Changeset View
Standalone View
Standalone View
jobs/templates/swh-pipeline.groovy.j2
pipeline { | pipeline { | ||||
{% filter indent(width=2) %} | {% filter indent(width=2) %} | ||||
{%- include 'includes/agent-docker.groovy.j2' -%} | {%- include 'includes/agent-docker.groovy.j2' -%} | ||||
{% endfilter %} | {% endfilter %} | ||||
options { | |||||
// require "Throttle Concurrent Builds" Jenkins plugin | |||||
throttleJobProperty( | |||||
categories: [], | |||||
limitOneJobWithMatchingParams: false, | |||||
maxConcurrentPerNode: {{ max_concurrent }}, | |||||
maxConcurrentTotal: {{ max_concurrent }}, | |||||
paramsToUseForLimit: '', | |||||
throttleEnabled: true, | |||||
throttleOption: 'project', | |||||
) | |||||
} | |||||
environment { | environment { | ||||
PHAB_CONDUIT_URL = 'https://forge.softwareheritage.org/api/' | PHAB_CONDUIT_URL = 'https://forge.softwareheritage.org/api/' | ||||
} | } | ||||
stages { | stages { | ||||
stage('Checkout') { | stage('Checkout') { | ||||
steps { | steps { | ||||
{% filter indent(width=8) %} | {% filter indent(width=8) %} | ||||
▲ Show 20 Lines • Show All 125 Lines • Show Last 20 Lines |