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

1493 Commits

Author SHA1 Message Date
Marcus Holl
80f14ff9a2 Resolve calls to plugin steps in a transitive way
We have the case that one piper step calls other piper steps.
In such cases we would like to get all the plugin calls. The direct
calls but also the calls performed by nested piper-lib step calls.

The plugin calls as we registed them during listing to the tests are
resolved with the script provided by this commit.
2019-03-29 16:44:53 +01:00
Marcus Holl
0aea255a37 Create step specific plugin lists: Make use of the step tracker 2019-03-29 16:43:31 +01:00
Marcus Holl
8cba85b63e Create step specific plugin lists: Helper class for tracking step calls
Before the test we remmber which test is currently running.
During the test we collect all the calls to steps.

Beside that we persist the names of all steps within this shared
lib itself.

After the test(s) we write a corresponding json file. In fact we
write the file after each test, which is too often. But since we
don't know which test is the last test we can't do better.

The resulting file can be used later on for resolving the plugins
contributing the particular steps.

With that we are able to create a list of required plugins for each
step.
2019-03-29 16:42:19 +01:00
Marcus Holl
463bdfabaa Introduce step helper 2019-03-29 16:42:18 +01:00
Marcus Holl
ec58986ac5
Merge pull request #593 from marcusholl/pr/solmanMinVersion
Prerequiste transportRequestCreate: SOLMAN ST720 SP08 or higher
2019-03-27 13:57:17 +01:00
Marcus Holl
0e2c90bd79
Merge branch 'master' into pr/solmanMinVersion 2019-03-27 13:03:54 +01:00
Thorsten Duda
d8ef8eb577 [docu] remove old reference pipelines (#594)
* remove old reference pipelines

* fix trailing space
2019-03-27 11:42:07 +01:00
weloli
519a5d6384 web analytics: add reporting for dockerExecute and dockerExecuteOnKubernetes (#516)
web analytics: add reporting for dockerExecute and dockerExecuteOnKubernetes
2019-03-26 17:06:34 +01:00
Thorsten Duda
1135d47adf
Merge branch 'master' into pr/solmanMinVersion 2019-03-26 15:16:30 +01:00
Alejandra Ferreiro Vidal
6c9ba6ef7c
Merge pull request #590 from alejandraferreirovidal/cleanUpConfigProperties
Remove config.properties
2019-03-26 14:56:49 +01:00
Marcus Holl
397ec0c2fc Prerequiste transportRequestCreate: SOLMAN ST720 SP08 or higher 2019-03-26 14:35:52 +01:00
Alejandra Ferreiro Vidal
e282c07dd4 remove config.properties file 2019-03-26 14:13:03 +01:00
Christopher Fenner
0e7ef41fab
newmanExecute: generate documentation (#591)
* generate docs for newmanExecute step

* fix typo
2019-03-26 13:26:21 +01:00
Christopher Fenner
f8c8e81958
generate docs for slackSendNotification step (#592) 2019-03-26 12:14:29 +01:00
Florian Wilhelm
a6c8a8d94d
Fix typos and small IDE hints in IT controller (#588) 2019-03-26 10:32:26 +01:00
Christopher Fenner
f138ae1499
mailSendNotification: generate documentation (#584) 2019-03-25 14:34:48 +01:00
Christopher Fenner
208e1a4241
influx: report build link to measurements 'step_data' and 'pipeline_data' (#585) 2019-03-21 20:23:23 +01:00
Marcus Holl
db7e688294
Merge pull request #581 from IKirilova/patch-1
update documentation for neoDeploy step parameters
2019-03-21 14:48:24 +01:00
Marcus Holl
4d5b348bc6
Merge branch 'master' into patch-1 2019-03-21 14:20:36 +01:00
Marcus Holl
3a7e972093
Merge pull request #586 from IKirilova/master
enhance prepare stage with cleanup and checkout
2019-03-21 14:18:25 +01:00
Irina Kirilova
020a5aaadd
Merge branch 'master' into master 2019-03-21 12:54:15 +01:00
Marcus Holl
1f949f27af Fix the unit test 2019-03-21 12:40:38 +01:00
Marcus Holl
149b89900b
Merge pull request #572 from marcusholl/pr/useDockerForSolmanAndCts
Pr/use docker for solman and cts
2019-03-21 12:13:14 +01:00
Irina Kirilova
90c0604471 sort parameters alphabetically 2019-03-21 10:44:42 +01:00
Marcus Holl
3f8498e4dd Merge remote-tracking branch 'github/master' into HEAD 2019-03-21 10:43:27 +01:00
Irina Kirilova
3923d0b2e4 enhance prepare stage with cleanup and checkout 2019-03-21 10:37:02 +01:00
Irina Kirilova
a0eb77f3e6 update documentation for neoDeploy step parameters 2019-03-20 16:13:18 +01:00
Oliver Nocon
ff15efef20
bump version (#562) 2019-03-20 13:58:12 +01:00
Marcus Holl
1a36a775f4 Fix sanity checks for warPropertiesFile deploy mode. (#574)
* Fix sanity checks for warPropertiesFile deploy mode.

* improve tests for the sanity checks

The sanity checks are performed per deploy mode.
All parameters are checked at once.

* Explict check for host, account not found by sanity checks for deploy mode war properties
2019-03-20 12:14:57 +01:00
Christopher Fenner
80d288ae57
handlePipelineStepError: use ConfigurationHelper (#556)
* use ConfigurationHelper in handlePipelineStepError

* externalise help url
2019-03-20 11:21:06 +01:00
Holger Partsch
94957e2b54 Make K8S integration more configurable (#552)
* Define pod using k8s yaml manifest

The Kubernetes plugin allows to define pods directly via the Kubernetes
API specification:
https://github.com/jenkinsci/kubernetes-plugin#using-yaml-to-define-pod-templates

This has the advantage of unlocking Kubernetes features which are not
exposed via the Kubernetes plugin, including all Kubernetes security
featues.

Using the Kubernetes API directly is also better from development
point of view because it is stable and better desgined then the API the
plugin offers.

* Make the Kubernetes ns configurable

If one Jenkins Master is used by multiple Teams, it is desirable to
schedule K8S workloads in seperatae workspaces.

* Add securityContext to define uid and fsGroup

In the context of the Jenkins k8s plugin it is uids and fsGroups play an
important role, because the containers share a common file system.

Therefore it is benefical to configure this data centraly.

* fix indention

* Undo format changes

* Extend and fix unit tests

* Fix port mapping

* Don't set uid globally

This does not work with jaas due to permissions problems.

* Fix sidecar test

* Make security context configurable at stage level

* Extract json serialization

* Cleanup unit tests
2019-03-20 10:07:37 +01:00
Marcus Holl
ad41c27458 Merge remote-tracking branch 'github/master' into HEAD 2019-03-19 16:05:58 +01:00
Christopher Fenner
7177954e80
seleniumExecuteTests & uiVeri5ExecuteTests: improve documentation (#568)
* generate docs for seleniumExecuteTests

* inherit docs for uiVeri5ExecuteTests

* add description for failOnError
2019-03-19 15:38:52 +01:00
Christopher Fenner
60cbd2cd57
seleniumExecuteTests: fix type (#569) 2019-03-19 12:07:05 +01:00
Marcus Holl
d4d68a7a2b
Merge pull request #561 from marcusholl/pr/neoDeployParamChecksEarly
Perform parameter validation early, do not truncate parameters
2019-03-19 10:26:43 +01:00
Marcus Holl
728464ae54 checkChangeInDevelopment with docker 2019-03-19 10:07:18 +01:00
Marcus Holl
bdc0e487d6 release transport request for cts 2019-03-19 10:07:18 +01:00
Marcus Holl
3e8d4fc576 Release transport SOLMAN with docker 2019-03-19 10:07:18 +01:00
Marcus Holl
71fdcc3e53 docker for upload file SOLMAN 2019-03-19 10:07:18 +01:00
Marcus Holl
24cd9400d7 create transport request SOLMAN with docker 2019-03-19 10:07:18 +01:00
Marcus Holl
620e0c7d4a docker for transportRequestCreate CTS 2019-03-19 10:07:18 +01:00
Marcus Holl
94315bf006 use docker image for cts upload file 2019-03-19 10:07:18 +01:00
Marcus Holl
0fb68187af [fix] wrong default type for docker config 2019-03-19 10:07:18 +01:00
Marcus Holl
c60700b524 Avoid NullPointerException in case docker config not present 2019-03-19 10:07:18 +01:00
Marcus Holl
2c0ab2be3e docker for SOLMAN and CTS 2019-03-19 10:07:18 +01:00
Marcus Holl
4d4b9de660 Merge remote-tracking branch 'github/master' into HEAD 2019-03-19 09:06:15 +01:00
Daniel Kurzynski
af740e1092
Make source for neo deployments configurable in the config file (#564) 2019-03-18 14:55:51 +01:00
Daniel Kurzynski
9f4a597778
Wait for sidecar container to be ready (#567) 2019-03-18 14:05:42 +01:00
Daniel Kurzynski
95af03279a
Show correct logs in integration tests (#571) 2019-03-18 13:17:11 +01:00
Christopher Fenner
7069f29ec5
snykExecute: add missing documentation (#570)
* add docs for snykExecute

* add link to new docs page
2019-03-18 11:08:41 +01:00