Changeset View
Changeset View
Standalone View
Standalone View
jobs/templates/swh-pipeline.groovy.j2
Show All 24 Lines | stage('Checkout') { | ||||
steps { | steps { | ||||
{% filter indent(width=8) %} | {% filter indent(width=8) %} | ||||
{%- include 'includes/create-phabricator-artifacts.groovy.j2' -%} | {%- include 'includes/create-phabricator-artifacts.groovy.j2' -%} | ||||
{% endfilter %} | {% endfilter %} | ||||
checkout([ | checkout([ | ||||
$class: 'GitSCM', | $class: 'GitSCM', | ||||
branches: [[name: "${params.REVISION}"]], | branches: [[name: "${params.REVISION}"]], | ||||
doGenerateSubmoduleConfigurations: false, | doGenerateSubmoduleConfigurations: false, | ||||
extensions: [], | extensions: [[$class: 'CloneOption', honorRefspec: true]], | ||||
gitTool: 'Default', | gitTool: 'Default', | ||||
submoduleCfg: [], | submoduleCfg: [], | ||||
userRemoteConfigs: [ | userRemoteConfigs: [ | ||||
[url: 'https://forge.softwareheritage.org/source/{{repo_name}}.git'], | [url: 'https://forge.softwareheritage.org/source/{{repo_name}}.git', | ||||
refspec: '+refs/heads/master:refs/remotes/origin/master'], | |||||
], | ], | ||||
browser: [$class: 'Phabricator', repoUrl: 'https://forge.softwareheritage.org', repo: '{{name}}'] | browser: [$class: 'Phabricator', repoUrl: 'https://forge.softwareheritage.org', repo: '{{name}}'] | ||||
]) | ]) | ||||
} | } | ||||
} | } | ||||
{%- if phabricator_diff %} | {%- if phabricator_diff %} | ||||
stage('Apply phabricator diff') { | stage('Apply phabricator diff') { | ||||
▲ Show 20 Lines • Show All 106 Lines • Show Last 20 Lines |