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
Marcus Holl
6f96f3d87b
Add test for transportRequestRelease failure for type RFC
2019-02-01 13:29:41 +01:00
Marcus Holl
59bff987d7
Test for releaseTransportRequest RFC sanity checks
2019-02-01 13:23:08 +01:00
Marcus Holl
0d2dec0922
Introcude test transportRequest RFC release
2019-02-01 13:08:25 +01:00
Marcus Holl
cb61d80e12
development client for RFC release transport not hard coded anymore
2019-02-01 13:08:25 +01:00
Marcus Holl
c785e53317
split releaseTransportRequest method into three methods
...
one for each BackendType.
2019-02-01 13:08:24 +01:00
Marcus Holl
3551ed2121
[formatting] shorter lines with long method signature
2019-02-01 08:40:19 +01:00
Marcus Holl
7a4ca50399
Fix log message. Was invalid for backendType RFC.
2019-01-31 17:08:05 +01:00
Marcus Holl
6072bbd280
Remove outdated comment from test class
2019-01-31 14:12:05 +01:00
Marcus Holl
6a6e075da8
Provide test for transport request create rfc fails
2019-01-31 14:02:54 +01:00
Marcus Holl
53ae89d16f
[refactoring] streamline control flow
2019-01-31 13:17:23 +01:00
Marcus Holl
71148faa42
Test for create transport request via RFC succeeds.
2019-01-31 13:06:52 +01:00
Marcus Holl
3ea0cb6208
Remove duplicate test
...
the other test doing the same is testReleaseTransportRequestFailsSOLMAN
2019-01-31 12:38:46 +01:00
Marcus Holl
5302d1d7b1
Merge remote-tracking branch 'github/master' into work
2019-01-31 09:55:21 +01:00
Marcus Holl
06f48ce5e7
Test failure case RFC upload ChangeManagement
2019-01-31 09:39:34 +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
Marcus Holl
80c7da76f4
Test good case RFC upload ChangeManagement
2019-01-31 09:31:52 +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
Marcus Holl
01cdfc5d91
Make clear in the testName which type we test.
2019-01-31 09:06:02 +01:00
Christopher Fenner
fbb9cbeb3c
Update dockerExecuteOnKubernetes.groovy ( #474 )
2019-01-31 08:49:31 +01:00
Marcus Holl
34b0e1f4f5
RFC: upload failure test
2019-01-30 17:34:16 +01:00
Marcus Holl
40d89f2e5d
Test: sanity check parameters
2019-01-30 17:34:16 +01:00
Marcus Holl
dfe69d7a31
Test: upload rfc success
2019-01-30 16:57:25 +01:00
Marcus Holl
a70fc10ae0
Parameter applicationURL instead of file path
2019-01-30 16:02:48 +01:00
Marcus Holl
7f6b8a6850
Use docker image as specified by caller
2019-01-30 15:59:48 +01:00
Marcus Holl
ce710dfa38
More consistent test names for transportRequestUploadFile
2019-01-30 15:13:10 +01:00
Marcus Holl
eb49958a64
[refactoring] Streamline code flow
2019-01-30 15:13:10 +01:00
Marcus Holl
88d50a0a10
Fix error message: cmclient, rfc client
2019-01-30 15:13:10 +01:00
Marcus Holl
661745fd81
Merge remote-tracking branch 'github/master' into HEAD
2019-01-30 15:01:09 +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
Christopher Fenner
1c9eed993b
Merge branch 'master' into pr/removeNeoCredentialsCheck
2019-01-30 10:46:06 +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
Marcus Holl
80a7ae38d3
Provide docker image 'rfc' on the level of CM.releaseTransportRequest
2019-01-29 15:11:52 +01:00
Bernd Maier
c7a6b073fc
RFC release transport
2019-01-29 14:57:31 +01:00
Marcus Holl
262f39dfdd
Removing check for neo deploy credentials id
...
since there is a default defined in default_pipeline_environment.
I believe there is a misunderstanding. The check checks if there is a valid defined for the
credentials id key. Since there is one definded in the default config this check will always
succeed.
This check does not check if there is a credential defined with this id via the Jenkins
Credentials Plugin. Maybe when this check was provided this was the intention. There is a
speaking error message provided by the credentials plugin in case the credentials lookup
fails.
2019-01-29 09:48:52 +01:00
Daniel Kurzynski
09a2e3f090
Remove compatibility for neoDeploy
2019-01-28 12:35:35 +01:00
Daniel Kurzynski
6e26d78047
Improve neo deploy ( #440 )
...
The following features were added:
Lock resources for deployment
New parameters: environment, vmArguments
Assert password does not start with @
Link to cloud cockpit
Only execute rolling update if app is running
Show logs if deployment failed
Restart app after normal deployment
Use neo namespace for parameters
Align parameter names with neo sdk: size, application, source
Remove vmSize check as done by the tool itself
2019-01-28 11:32:24 +01:00