Skip to content
Browse files

[JENKINS-26100] Display buildEnv views of available SCM installations.

  • Loading branch information
jglick committed Jun 29, 2017
1 parent 17a9946 commit 0008adc79cb5617971d5447c463d2ca1a0799e10
@@ -1,4 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?jelly escape-by-default='true'?>
<div xmlns:j="jelly:core" xmlns:st="jelly:stapler">
This is a special step that allows to run checkouts using any configuration
options offered by any Pipeline-compatible SCM plugin.
@@ -17,6 +19,15 @@

def commitHash = checkout(scm).GIT_COMMIT
Specific variables advertised by installed plugins:
<!-- Cf. EnvironmentContributor/EnvVarsHtml/index.groovy -->
<dl class="env-vars">
<j:forEach var="d" items="${app.getDescriptor('org.jenkinsci.plugins.workflow.steps.scm.GenericSCMStep').applicableDescriptors}">
<st:include class="${d.clazz}" page="buildEnv" optional="true"/>
Any other specific step to run checkouts (like <code>svn</code> or <code>git</code>)
are simplistic options of this step.

0 comments on commit 0008adc

Please sign in to comment.
You can’t perform that action at this time.