Skip to content
Permalink
Browse files

[FIXED JENKINS-31386] Define the scm var in standalone projects using…

… CpsScmFlowDefinition.

Originally-Committed-As: fe22dc9fa39267239e6ca16001bd9cd97b0ee48c
  • Loading branch information
jglick committed Dec 4, 2015
1 parent 627d6f1 commit 154cf757f25f0ea9124cb579227d15084c522191
@@ -27,7 +27,7 @@ THE SOFTWARE.
<j:jelly xmlns:j="jelly:core" xmlns:f="/lib/form" xmlns:st="jelly:stapler">
<f:dropdownDescriptorSelector field="scm" title="SCM" descriptors="${descriptor.applicableDescriptors}"/>
<f:entry field="scriptPath" title="${%Script Path}">
<f:textbox default="flow.groovy"/>
<f:textbox default="Jenkinsfile"/>
</f:entry>
<st:include it="${descriptor.snippetizer}" page="block.jelly"/>
</j:jelly>
@@ -1,4 +1,6 @@
<div>
Relative location within the checkout of your Workflow script.
Note that it will always be run inside a Groovy sandbox.
<code>Jenkinsfile</code> is conventional and allows you to switch easily to a multibranch project
(just use <code>checkout scm</code> to retrieve sources from the same location as is configured here).
</div>

0 comments on commit 154cf75

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