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

1258 Commits

Author SHA1 Message Date
SarahNoack
04c0316983
Remove ", buildTarget:'CF'"
Remove ", buildTarget:'CF'" from  Jenkinsfile example
2019-02-08 13:51:41 +01:00
SarahNoack
a5597a447c
Add SAP CP to CF account 2019-02-08 13:48:09 +01:00
SarahNoack
5d0daafe00
Remove note
Exchange note that this is a basic scenario with a single sentence in the paragraph before
2019-02-08 13:43:33 +01:00
Christoph Szymanski
40ff8fa2e3
Build Target from Parameter to Configuration
as discussed with @marcusholl
2019-02-08 13:09:30 +01:00
SarahNoack
b186e95dec
Fix another code climate issue 2019-02-07 16:44:04 +01:00
SarahNoack
ed99ac6bf7
Fix code climate issues 2019-02-07 16:42:18 +01:00
SarahNoack
214bc7a7c3
Make minor linguistic changes 2019-02-07 16:33:33 +01:00
SarahNoack
287eab8fae
Rework scenario 2019-02-07 16:16:10 +01:00
Noack
8e99bd4c63 Add CAP scenario 2019-02-07 13:57:57 +01:00
weloli
826e216cd5
Lookup mtar in the whole workspace (#492)
* allow mtar lookup in the whole workspace

* minor fixes
2019-02-07 08:58:00 +01:00
SarahNoack
aa6e42fbfc
Merge pull request #485 from SAP/SarahNoack-patch-1
Doc: Change title and add parameters
2019-02-06 14:29:30 +01:00
SarahNoack
d0f547861c
Merge branch 'master' into SarahNoack-patch-1 2019-02-06 14:25:01 +01:00
SarahNoack
0c3840dd08
Merge pull request #488 from SAP/SarahNoack-patch-2
Adapt scenario so that it matches the template
2019-02-06 14:11:14 +01:00
SarahNoack
005f0c824e
Fix training space 2019-02-06 14:06:03 +01:00
SarahNoack
ea34ebd847
Merge branch 'master' into SarahNoack-patch-2 2019-02-06 14:01:24 +01:00
SarahNoack
588ab54b8d
Change links to scenario files 2019-02-06 11:29:59 +01:00
SarahNoack
d2252c0eaf
Adapt scenario so that it matches the template
Adapt scenario title, add figure title, and minor linguistic and layout changes
2019-02-06 11:06:00 +01:00
Marcus Holl
00e8ad180b
Merge pull request #479 from marcusholl/pr/seeAnnotationInDocu
implement @see strategy
2019-02-06 10:50:03 +01:00
Christopher Fenner
887c8d0186
Merge branch 'master' into pr/seeAnnotationInDocu 2019-02-06 10:07:57 +01:00
Christoph Szymanski
2f2131b56b
Merge branch 'master' into SarahNoack-patch-1 2019-02-06 09:12:52 +01:00
Marcus Holl
1b202f879a Provide flag for skipping docker image pulls (#407)
* Provide flag for skipping docker image pulls

Usefull for testing while developing images. Without pulling images it is possible to
use images available in the local registry only.
2019-02-06 08:48:33 +01:00
Christoph Szymanski
139ed7b15d Align Navigation Text with Header 2019-02-05 18:46:27 +01:00
SarahNoack
47fc15f2e3
Change title and add parameters
Change title to be consistent with other scenarios and add links to detailed description of the parameters used in this scenario.
2019-02-05 16:58:29 +01:00
Marcus Holl
34b7c24faf Merge remote-tracking branch 'github/master' into HEAD 2019-02-05 16:37:49 +01:00
Marcus Holl
5bb495b389
Merge pull request #482 from marcusholl/pr/allowSingleLineDocuComments
allow single line comments
2019-02-05 16:07:33 +01:00
Oliver Nocon
567d31797c
Merge branch 'master' into pr/seeAnnotationInDocu 2019-02-05 15:44:10 +01:00
Marcus Holl
afc6158ba4 Merge remote-tracking branch 'github/master' into HEAD 2019-02-05 15:41:52 +01:00
Oliver Nocon
74366631b5
Project "Piper" Template: framework and structure (#476)
* Project "Piper" Template: framework and structure

This is the first in a series of Pull-Requests to provide a fully functional Pipeline template into the library.

This PR contains:
* general Pipeline structure incl. tests
* Pipeline initialization incl. tests
* Hollow pipeline stages incl. tests
* first set of default values
* add gitUrls to commonPipelineEnvironment
* set correct git information on commonPipelineEnvironment
2019-02-05 15:37:59 +01:00
Thorsten Duda
7222a250b7
Merge pull request #478 from SAP/remove-validation-from-mtabuild
Remove Tool Validation in mtaBuild
2019-02-05 14:35:21 +01:00
Thorsten Duda
d36c98ec30
Merge branch 'master' into remove-validation-from-mtabuild 2019-02-05 14:19:36 +01:00
Christopher Fenner
1f6646e5cc
Merge branch 'master' into pr/allowSingleLineDocuComments 2019-02-05 13:39:02 +01:00
Oliver Nocon
dde4e0abef
Fix regression introduced with #474 (#483)
Fix stashing behavior to include all files in workspace.
This was for example an issue for PR-voting in Docker pipeline since `Dockerfile` has been excluded from stashing
2019-02-05 09:07:47 +01:00
Christoph Szymanski
baea1db813
Merge branch 'master' into remove-validation-from-mtabuild 2019-02-04 17:12:05 +01:00
Christopher Fenner
08d62eb303
Merge branch 'master' into pr/seeAnnotationInDocu 2019-02-04 14:39:00 +01:00
Christopher Fenner
d91fa6d29d
Merge branch 'master' into pr/allowSingleLineDocuComments 2019-02-04 14:38:22 +01:00
Christopher Fenner
bd32367c31
dockerExecute: generate docs (#480)
* correct key order

* add docs annotation and description

* describe parameters

* remove generated content from doc

* fix indent

* add further decumentations
2019-02-04 14:35:44 +01:00
Marcus Holl
22340ebb25 allow single line comments
like this /** short comment */
rather than
/**
  * short comment
  */
2019-02-04 12:41:38 +01:00
Marcus Holl
b7deda1964 dockerExecute: make javadoc comment to 'normal' comment (#481)
since it is not intendend to expose the method docu as api doc.
2019-02-04 10:53:20 +01:00
Christopher Fenner
8a9fb6aef7
Merge branch 'master' into pr/seeAnnotationInDocu 2019-02-04 09:04:23 +01:00
Christopher Fenner
ba2e83c76a
dockerExecuteOnKubernetes: correct parameter keys (#475)
* Update dockerExecuteOnKubernetes.groovy

* Update dockerExecute.groovy

* Update dockerExecuteOnKubernetes.groovy
2019-02-04 09:03:58 +01:00
Marcus Holl
89fd30e84c implement @see strategy
in case there is a pseudo annotation '@see' found in a step docu the docu is retrived from
the parameter with the same name in the other step. Format is:

'@see <OTHER_STEP_NAME>'

This simplifies documentation for parameters with same name and same
semantics used in more than one step.
2019-02-01 16:59:54 +01:00
Christoph Szymanski
70ac75c8b8 Remove validation in mtaBuild
Removing validation calls for Java and MTA.
2019-02-01 16:13:18 +01:00
Oliver Nocon
3b2e42c74f
Add step containerExecuteStructureTest (#441)
* add step containerExecuteStructureTest
* include PR-review feedback
* documentation
2019-01-31 09:39:13 +01:00
Christopher Fenner
bca5b8ccf1
Add step uiVeri5ExecuteTests (#469)
* add defaults for uiVeri5 step

* add step and tests

* correct parameter names

* add empty docs

* add docs annotations

* remove not needed parameter

* add docs annotations
2019-01-31 09:16:34 +01:00
Christopher Fenner
fbb9cbeb3c
Update dockerExecuteOnKubernetes.groovy (#474) 2019-01-31 08:49:31 +01:00
Christopher Fenner
def66f4ffa
extend Analytics (#439)
* add extension mechanism for analytics

* add sha1 hashing

* correct return types

* correct registerEventListener method

* decrese visibility of createInstance

* correct typo

* catch exceptions from tests

* correct test case

* Update Analytics.groovy

* rename to Telemetry

* rename file

* fix typo

* add test case for generateSha1

* expose methods to tests

* add clear method for tests

* change return type

* add test for Telemetry class

* replace UtilsTests

* remove unused imports

* make default reporter static

* add stage parameters to payload

* simplify SHA1 method

* remove obsolete method

* remove obsolete methods

* remove outdated tests
2019-01-30 12:39:33 +01:00
Florian Geckeler
a72e33f488
Stop old instance only if it exists in CloudFoundry
If there was no instance deployed in CF and blue-green deployment was activated stopping the old instance caused a failure of the pipeline, even if the application was deployed successfully. 
With that change the failure of the pipeline will be avoided in case of no old application is available.
2019-01-30 10:07:00 +01:00
Marcus Holl
ddaa941b25
Merge pull request #473 from marcusholl/pr/fixDocuGeneratorFormatting
fix docu generator formatting
2019-01-29 17:52:39 +01:00
Marcus Holl
50edac02ca First char after docu asterisk is pruned
... with a blank after the asterisk the docu looks more beautifyfull.
2019-01-29 17:30:26 +01:00
Marcus Holl
8fb7c85e99 keep leading blanks in order to render 'git diff! Note' statements 2019-01-29 17:30:25 +01:00