1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-18 05:18:24 +02:00

Merge remote-tracking branch 'github/master' into HEAD

This commit is contained in:
Marcus Holl 2018-11-05 10:55:09 +01:00
commit 13f0b536da
3 changed files with 10 additions and 3 deletions

View File

@ -13,3 +13,12 @@ insert_final_newline = true
trim_trailing_whitespace = true
[*.{yml,yaml}]
indent_size = 2
[*.png]
indent_style = none
indent_size = none
[LICENSE]
indent_style = none
indent_size = none
[cfg/id_rsa.enc]
indent_style = none
indent_size = none

View File

@ -43,7 +43,7 @@ githubPublishRelease script: this, releaseBodyHeader: "**This is the latest succ
|releaseBodyHeader|no|||
|version|yes|`script.commonPipelineEnvironment.getArtifactVersion()`||
### Details:
### Details
* `script` defines the global script environment of the Jenkinsfile run. Typically `this` is passed to this parameter. This allows the function to access the [`commonPipelineEnvironment`](commonPipelineEnvironment.md) for storing the measured duration.
* All GitHub related properties allow you to overwrite the default behavior of identifying e.g. GitHub organization, GitHub repository.
@ -54,7 +54,6 @@ githubPublishRelease script: this, releaseBodyHeader: "**This is the latest succ
* By passing the parameter `customFilterExtension` it is possible to pass additional filter criteria for retrieving closed issues since the last release. Additional criteria could be for example specific `label`, or `filter` according to [GitHub API documentation](https://developer.github.com/v3/issues/).
* It is possible to exclude issues with dedicated labels using parameter `excludeLabels`. Usage is like `excludeLabels: ['label1', 'label2']`
## Step configuration
We recommend to define values of step parameters via [config.yml file](../configuration.md).

View File

@ -27,7 +27,6 @@ class StepTestTemplateTest extends BasePipelineTest {
void testStepTestTemplate() throws Exception {
jsr.step.call()
// asserts
assertEquals(true != false)
assertTrue(true)
assertJobStatusSuccess()
}