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

854 Commits

Author SHA1 Message Date
Marcus Holl
c03a75da9f Ensure script is mandatory parameter
... only in case a step uses the script at all.
2018-10-30 16:24:47 +01:00
Christopher Fenner
3d2bc3f892
add missing parameter (#164) 2018-10-10 12:05:41 +02:00
Marcus Holl
fd6a01a322
Merge pull request #320 from marcusholl/pr/assertOrderOfGitCommands
Ensure the order of the git commands
2018-10-09 16:51:47 +02:00
Marcus Holl
b8ff2a5285 Merge remote-tracking branch 'github/master' into HEAD 2018-10-09 16:30:55 +02:00
Marcus Holl
e629937db9
Merge pull request #315 from marcusholl/pr/noExplictGetterAnDSettersInCommonPipelineEnvironment
No explict getter an d setters in common pipeline environment
2018-10-09 16:29:49 +02:00
Marcus Holl
b6a205f9aa Merge remote-tracking branch 'github/master' into HEAD 2018-10-09 15:31:43 +02:00
Christopher Fenner
e0aa95645b remove unnecessary import 2018-10-09 15:25:46 +02:00
Christopher Fenner
27959e4644 remove unnecessary imports 2018-10-09 15:25:46 +02:00
Christopher Fenner
bab4772704 remove unnecessary imports 2018-10-09 15:25:46 +02:00
Christopher Fenner
475b977f17 remove unnecessary import 2018-10-09 15:25:46 +02:00
Christopher Fenner
0bc21ed7e2 remove unnecessary import 2018-10-09 15:25:46 +02:00
Christopher Fenner
e068c52f6c remove unnecessary import 2018-10-09 15:25:46 +02:00
Christopher Fenner
a24c1457d2 remove unnecessary import 2018-10-09 15:25:46 +02:00
Christopher Fenner
d6f47e802a
executeDockerOnKubernetes: support workspace/container stashing for sidecar case (#330)
* simplify parameter handover

* extract default contaner name and map

* condense pod execution methods

* simplify closure handling

* fix map issue

* simplify

* stash only if needed

* fix test case
2018-10-08 11:54:13 +02:00
Christopher Fenner
34b675a030
handle test repositories (#324)
* handle test repositories

* use GitUtils

* add test case

* fix test cases

* return stash name

* handle seleniumExecuteTests step

* Revert "handle seleniumExecuteTests step"

This reverts commit 2b33d274fe.

* handle seleniumExecuteTests step

* add import of GitUtils
2018-10-08 11:30:42 +02:00
Oliver Nocon
aeb814fc2b
Merge branch 'master' into pr/noExplictGetterAnDSettersInCommonPipelineEnvironment 2018-10-08 09:45:14 +02:00
Oliver Nocon
0ee27774f6
Merge branch 'master' into pr/assertOrderOfGitCommands 2018-10-08 09:43:16 +02:00
Oliver Nocon
bf753814e4
seleniumExecuteTests - Documentation Update (#327) 2018-10-05 16:10:26 +02:00
Oliver Nocon
7965b5a78d
Bump version (#328) 2018-10-05 13:56:57 +02:00
Christopher Fenner
f10a8c6246
dockerExecuteOnKubernetes: fix stash overriding (#329)
* dockerExecuteOnKubernetes: fix stash overriding

* update comment
2018-10-05 10:51:01 +02:00
Christopher Fenner
d4ca181b1d
ignore bin folder (#326) 2018-10-05 08:22:55 +02:00
Oliver Nocon
7a961ef38e
seleniumExecuteTests - add step to run Selenium tests (#318)
It comes with an extension to executeDocker and executeDockerOnKubernetes to run sidecar containers.

This helps to execute Selenium tests using two Docker images:

1. Execution runtime for tests (e.g. node image)
2. Selenium instance which holds Selenium server + browser

* add documentation & some name cleanup
* include PR feedback
* add step documentation to structure
2018-10-04 17:06:42 +02:00
Marcus Holl
d0d4cac75b Assert that there is no git commit if there should be not commit intentionally (#321)
up to now only the mvn call for setting the version was asserted, but it was not asserted
whether or not there is a commit.
2018-10-02 08:53:21 +02:00
Marcus Holl
252c6da4bd Ensure the order of the git commands
Up to now we checked for git commands, but the order was not taken into account.
Test would pass even if the commit happens before git add.

Now the order of the git commits is asserted.
2018-10-01 13:56:59 +02:00
Marcus Holl
74609a75ae
Merge pull request #316 from marcusholl/pr/lessSh
[refactoring] Reduce number of sh calls
2018-10-01 12:40:24 +02:00
Marcus Holl
01b03f0df3 [refactoring] Reduce number of sh calls 2018-09-27 16:18:46 +02:00
Marcus Holl
18d2753208 Remove explict getters and setters from common pipeline environment
We get getters and setters generated automatically.
2018-09-27 15:46:06 +02:00
Marcus Holl
3e556f4afb test asserting setupCPE works with config properties file 2018-09-27 15:46:06 +02:00
Marcus Holl
ced73231fa
Merge pull request #204 from marcusholl/pr/configurationHelperRequiredParameterFailsLate
Report all missing mandatory parameters instead of only the first on
2018-09-27 11:21:00 +02:00
Marcus Holl
f14781d913 Report all missing mandatory parameters instead of only the first one 2018-09-27 11:13:47 +02:00
Marcus Holl
556c561bb6
Merge pull request #210 from marcusholl/pr/limitConfigurationHelperToBuilderPattern
Limit usage of ConfigurationHelper to the builder pattern
2018-09-27 08:49:26 +02:00
Marcus Holl
752993aefa Merge remote-tracking branch 'github/master' into HEAD 2018-09-27 08:24:04 +02:00
Thorsten Duda
bf61b6ebd0
Merge pull request #313 from SAP/pr/fixsshmkdocs
create .ssh dir
2018-09-26 12:59:31 +02:00
Thorsten Duda
b7cbc4b763
Merge branch 'master' into pr/fixsshmkdocs 2018-09-26 12:55:49 +02:00
Thorsten Duda
2947125199 create .ssh dir 2018-09-26 12:54:55 +02:00
Thorsten Duda
09dfa67605
Merge pull request #312 from SAP/pr/fixsshmkdocs
added github.com to knownhosts
2018-09-26 12:46:15 +02:00
Thorsten Duda
91b37a3562 added github.com to knownhosts 2018-09-26 12:32:50 +02:00
Thorsten Duda
06d2b81900
Merge pull request #311 from SAP/pr/fixdocudeployment
change script persmission
2018-09-26 11:54:59 +02:00
Thorsten Duda
ffb6a996e3
Merge branch 'master' into pr/fixdocudeployment 2018-09-26 11:13:46 +02:00
Travis CI Publisher
da3581eecb change script persmission 2018-09-26 11:12:21 +02:00
Thorsten Duda
4fa250b40b
Merge pull request #310 from SAP/pr/fixdocudeployment
fix docu deployment
2018-09-26 11:00:58 +02:00
Travis CI Publisher
5bbced1500 fix docu deployment 2018-09-26 10:52:30 +02:00
Thorsten Duda
df4e9c82ae
Merge pull request #307 from SAP/pr/fixmkdocs
fix mkdocs issue
2018-09-26 08:47:59 +02:00
Thorsten Duda
520b375fb5 changed moint point and workdir 2018-09-25 17:00:02 +02:00
Thorsten Duda
db5414618b added gh-deploy step with docker
- gh-pages-deploy.sh removed and added the part into .travis.yml to be
  able to call it via docker
2018-09-25 15:05:57 +02:00
Thorsten Duda
72f611c5c2 fix mkdocs issue
- introduced docker mkdocs build
- changed pages to nav in mkdocs.yml due to newer mkdocs version
2018-09-25 14:03:22 +02:00
Marcus Holl
c63e6e88c0
Merge pull request #297 from marcusholl/pr/returnTypeVoid
Pipeline steps are expected not to return a return value
2018-09-21 13:48:33 +02:00
Marcus Holl
14d1027323 Merge remote-tracking branch 'github/master' into HEAD 2018-09-21 13:44:54 +02:00
Marcus Holl
1802d0c15a
Merge pull request #280 from marcusholl/pr/libResourceAndReadYamlCloserToReality
Be more precise with libraryResource and read yaml in prepareDefaultV…
2018-09-21 13:37:10 +02:00
Marcus Holl
726b969682 Merge remote-tracking branch 'github/master' into HEAD 2018-09-21 13:33:42 +02:00