1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
Commit Graph

1154 Commits

Author SHA1 Message Date
Christopher Fenner
1baa1f14cb remove trailing line break 2019-01-18 08:57:54 +01:00
Christopher Fenner
4f804f8876 remove trailing line breaks 2019-01-18 08:57:54 +01:00
Marcus Holl
6f59627551 Create file containing classpath into build dir
and not into project root. With this appraoch the root folder get not
filled with temporary content.
2019-01-18 08:57:54 +01:00
Marcus Holl
e48cfa7a77 adapt generateDocu script for travis 2019-01-18 08:57:54 +01:00
Marcus Holl
760137058c Evaluate @GenerateDocumentation annotation. 2019-01-18 08:57:54 +01:00
Marcus Holl
d681b42c00 Introduce @GenerateDocumentation annotation 2019-01-18 08:57:54 +01:00
Marcus Holl
f81dc7b147 docu script classpath contains the built classes folder
we do not have only groovy script, but also java files inside src folder.
Hence we should rely on the target/classes folder in order to see also the
compiled java classes, and not only the groovy scripts.
2019-01-18 08:57:54 +01:00
Marcus Holl
daaac272d6 Remove commented coding line 2019-01-18 08:57:54 +01:00
Marcus Holl
c6500a7516 Relocate script files for generting documention 2019-01-18 08:57:54 +01:00
Marcus Holl
96d5184651 Remove hand crafted step descrption 2019-01-18 08:57:54 +01:00
Marcus Holl
7ac70e4c51 Streamline naming of parameter sections 2019-01-18 08:57:54 +01:00
Marcus Holl
89370b7a93 better text for step configuration section 2019-01-18 08:57:54 +01:00
Marcus Holl
669d91bcdd Provide more than one step via cli
elements 2 until end are considered to be step names.

the first two elements denotes the folder containing the steps (vars) and
the folder containing the docu markdown files.
2019-01-18 08:57:54 +01:00
Marcus Holl
ab83e9f7b8 Generate docu during travis build (for checkChangeInDevelopment) 2019-01-18 08:57:54 +01:00
Marcus Holl
1ef91ce8a3 Parameters now generated during build 2019-01-18 08:57:54 +01:00
Marcus Holl
d9c536e25a [fix] Required parameter is not labeled as required in case there is a default
Otherwise the meaning of required is confusing.
2019-01-18 08:57:54 +01:00
Marcus Holl
d140a20bb4 [fix] script can only be passed via parameters 2019-01-18 08:57:54 +01:00
Oliver Nocon
e11478ca00
cloudFoundryDeploy - add deployment reporting to Influx (#421)
Add reporting of operations-related data to Influx (if configured), like:
* Version of deployed artifact
* Deployment time
* Target infrastructure for deployment
2019-01-18 08:25:22 +01:00
Oliver Nocon
98139bb498
influxWriteData - support Influx tags (#420)
* influxWriteData - support Influx tags

In order to better query data in Influx, tags needs to be written.
This change allows filling tag data via the Influx plugin.
2019-01-17 15:42:03 +01:00
weloli
58a1d9eb15
Merge pull request #444 from SAP/fix/doc
fix documentation
2019-01-17 13:33:49 +01:00
weloli
4e20f61dc4 fix documentation 2019-01-17 12:36:13 +01:00
Christopher Fenner
f988c908ce
Travis: remove reporting to coveralls (#443)
* remove coveralls reporting

* remove badge

* remove plugin dependency
2019-01-17 09:23:21 +01:00
Oliver Nocon
e0da4aedfe
bump version (#433) 2019-01-16 14:17:55 +01:00
SarahNoack
4803695185 Documentation: Hybrid Applications with Jenkins and SAP Solution Manager (#410) 2019-01-15 17:45:26 +01:00
Marcus Holl
db5022a4ff New Scenario Step: SAP UI5 on SAP Cloud Platform (#388)
This scenario builds a UI5 app and deploys it to SAP Cloud Platform (neo).
2019-01-15 13:32:01 +01:00
Oliver Nocon
20a54cf094
dockerExecute - extend Kubernetes capabilities (#432)
allow `dockerExecute` to pass on to dockerExecuteOnKubernetes
* containerCommand
* containerShell
2019-01-14 14:43:07 +01:00
Oliver Nocon
4064e6ffe1
piperStageWrapper - switch to parameter map for extensions (#424)
switch to using a parameter map
2019-01-14 10:25:47 +01:00
Christopher Fenner
3cb70a2a48 clean influx docs (#431) 2019-01-11 16:40:31 +01:00
Christopher Fenner
caf54b0e68 docs: add reference to newman page (#430) 2019-01-11 08:02:30 +01:00
Christoph Szymanski
f41adcf2d1
Fixing PULL_REQUEST_TEMPLATE.md (#415)
* Update PULL_REQUEST_TEMPLATE.md

* Update PULL_REQUEST_TEMPLATE.md

* CodeClimate
2019-01-09 10:41:02 +01:00
Oliver Nocon
724a851bcd
executeDockerOnKubernetes - specify custom shell (#428)
Depending on the Docker image used the default shell will not work in certain cases.
This extends the executeDockerOnKubernetes step to be able to use a custom shell according to https://github.com/jenkinsci/kubernetes-plugin#specifying-a-different-shell-command-other-than-binsh
2019-01-08 19:44:28 +01:00
Florian Wilhelm
db9ba38ed1
Fail CF Deployment Shell Script Early (#426)
Resolves #425
2019-01-07 12:54:00 +01:00
Marcus Holl
e7c73cabf9
Merge pull request #412 from marcusholl/pr/adjustMtaBuildTestToShellCallRule
Adapt mta build test to JenkinsShellCallRule
2018-12-19 13:26:56 +01:00
Marcus Holl
d6372d5d96 Merge remote-tracking branch 'github/master' into HEAD 2018-12-19 13:18:00 +01:00
Marcus Holl
ddd0cf8aae
Merge pull request #418 from SAP/1084565-patch-1
Typo in documentation
2018-12-19 10:09:24 +01:00
Christoph Szymanski
9157ad3ce6
Typo in documentation 2018-12-14 18:29:02 +01:00
Christoph Szymanski
30d6f59b56
Typo in documentation (#414) 2018-12-14 18:10:11 +01:00
Oliver Nocon
130e607446
influxWriteData - fix issue when running in POST (#413)
influxWriteData requires a node to be executed.
In a declarative pipeline the POST section by default does not provide a node/agent.

This adds a parameter to force creation of a node/agent.
2018-12-12 17:33:36 +01:00
Marcus Holl
5a142ec41f
Merge pull request #384 from marcusholl/pr/moreLoggingAndFailfastInMtaBuild
More logging and be failfast around mtaYamlFile
2018-12-12 12:29:02 +01:00
Marcus Holl
0751eda1ee Merge remote-tracking branch 'github/master' into HEAD 2018-12-12 12:24:26 +01:00
Marcus Holl
45170e979e Adapt mta build test test JenkinsShellCallRule
a lot of code can be replaced by configuring the JenkinsShellCallRule accordingly. At the time when
this test was provided there was not JenkinsShellCallRule ...
2018-12-12 12:14:14 +01:00
Marcus Holl
06767438db
Merge pull request #411 from marcusholl/JSCR-equals
Implement hashCode/equals/toString for JenkinsShellCallRule
2018-12-12 12:10:30 +01:00
Marcus Holl
bf881bfc13 Merge remote-tracking branch 'github/master' into HEAD 2018-12-12 12:05:24 +01:00
Oliver Nocon
e556fba950
add wrapper for stages contained in library (#341)
* add wrapper for stages contained in library

`piperStageWrapper` provides a wrapper for stages which we may include into the library.
It will take care about extension capabilities, locking, node handling, ... which should be a capability of every stage contained in the library.
2018-12-12 11:45:11 +01:00
Marcus Holl
51afc894e5 Implement hashCode/equals/toString for JenkinsShellCallRule
* toString is helpful for troubleshooting during developing tests
* equals/hashCode are required in case somebody would like to register
  some responses again (e.g. register something valid almost all the time, and
  register something more specific for a certain test).
2018-12-10 16:23:24 +01:00
Christopher Fenner
d303e49ebe
add newman doc (#399) 2018-12-10 11:53:48 +01:00
Christopher Fenner
71b66e8645
correct Code Climate config (line length) (#374)
* deactivate MD013 - line length

* correct rule deactivation

* Update .codeclimate.yml
2018-12-10 11:43:09 +01:00
Marcus Holl
5a6200f52c
Merge pull request #379 from marcusholl/pr/removeReturnValueFromDocuForCheckChangeInDevelopment
Remove return value from docu for step checkChangeInDevelopment
2018-12-07 13:15:00 +01:00
Marcus Holl
cc971190c9 Merge remote-tracking branch 'github/master' into HEAD 2018-12-07 13:04:51 +01:00
Marcus Holl
987584a28f Remove return value from docu for step checkChangeInDevelopment 2018-12-07 13:04:40 +01:00