Skip to content

Commit

Permalink
[FIXED JENKINS-31386] Define the scm var in standalone projects using…
Browse files Browse the repository at this point in the history
… CpsScmFlowDefinition.

Originally-Committed-As: fe22dc9fa39267239e6ca16001bd9cd97b0ee48c
  • Loading branch information
jglick committed Dec 4, 2015
1 parent 627d6f1 commit 154cf75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Expand Up @@ -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.