Added a doc entry and a test for jdk general parameter
Change-Id: I8e42e0a10f1fba2fd0e2931481f5e720be278b9d
This commit is contained in:
parent
49be71864a
commit
2da05c83c4
@ -97,6 +97,9 @@ Example:
|
||||
**Deprecated on jenkins >=1.637**: use the ``build-discarder``
|
||||
property instead
|
||||
|
||||
* **jdk**:
|
||||
The name of the jdk to use
|
||||
|
||||
* **raw**:
|
||||
If present, this section should contain a single **xml** entry. This XML
|
||||
will be inserted at the top-level of the :ref:`Job` definition.
|
||||
|
10
tests/general/fixtures/jdk001.xml
Normal file
10
tests/general/fixtures/jdk001.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<project>
|
||||
<jdk>OpenJDK1.8</jdk>
|
||||
<actions/>
|
||||
<keepDependencies>false</keepDependencies>
|
||||
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||
<concurrentBuild>false</concurrentBuild>
|
||||
<canRoam>true</canRoam>
|
||||
</project>
|
3
tests/general/fixtures/jdk001.yaml
Normal file
3
tests/general/fixtures/jdk001.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
name: jdk-project
|
||||
project-type: freestyle
|
||||
jdk: OpenJDK1.8
|
Loading…
x
Reference in New Issue
Block a user