Commit Graph
32 Commits
Author SHA1 Message Date
Oliver FeldmannandOliver Nocon a8953d4f28 Fix cloudFoundryDeploy config keys in Acceptance (#1296)
* Fix cloudFoundryDeploy config keys in Acceptance

* Add neo config keys

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-04-03 11:03:00 +02:00
Oliver FeldmannandOliver Nocon 5eb8edd3d9 Fix tip in documentation (#1196)
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-03-04 17:01:49 +01:00
Oliver Feldmann af5c16ef46 setupCommonPipelineEnvironment: support yaml config file ending (#811)
* Allow for yaml file ending

* Format code
2019-07-31 12:22:26 +02:00
Oliver FeldmannandChristoph Szymanski 073ce90fc9 Add cds test case (#810)
* Add cds test case

* Fix typo

Co-Authored-By: Christoph Szymanski <christoph.szymanski@sap.com>
2019-07-31 10:39:18 +02:00
Oliver Feldmann 79bc304c09 add ui5 consumer test (#802) 2019-07-23 14:54:38 +02:00
Oliver Feldmann 5fcefb55b8 Fix typo in yaml (#722) 2019-05-23 08:13:23 +02:00
Oliver Feldmann a4af238c95 fix groovy consumer test bugs (#696)
* Fix order so hash is set before notify

* Always run tests on master branch
2019-05-09 12:10:12 +02:00
Oliver Feldmann aca60b3ee6 groovy integration tests (#671) 2019-05-09 10:28:54 +02:00
Oliver Feldmann 9b6919f473 Merge pull request #674 from SAP/docFix
Add note admonition
2019-04-25 12:12:34 +02:00
Oliver Feldmann 2fc10d6d9f Merge branch 'master' into docFix 2019-04-25 09:59:04 +02:00
Oliver Feldmann e566c2bb13 Use admonition for note 2019-04-24 13:50:30 +02:00
Oliver Feldmannandmarcusholl ab392c11ee Remove malignous blank in import statement
Co-Authored-By: marcusholl <marcus.holl@sap.com>
2019-04-01 11:07:05 +02:00
Oliver Feldmann 713a5fe319 Remove return value from mtaBuild docu
There is no return value coming from mtaBuild anymore.
2018-10-24 14:45:37 +02:00
Oliver Feldmann 0a58ad6e1c Deploy mkdocs when merging to master
Only changes to master and PRs starts the travis job.
On PR Maven tests and mkdocs build for warnings and error check is done.
On change on master Maven is **not** run and the documentation is built
and deployed using a deploy key. The encrypted deploy key is not part of
this commit, it needs to be provided by an admin for this repository.
2018-03-12 09:58:32 +01:00
Oliver Feldmann ec9895ec3e Improve fileExists mock
Before this commit the fileExists mock was not doing the same as the
real fileExists method. To stay close to reality we changed it construct
the absolute path and check for that when the fileExists method is
called.
Refactored to archiveName instead of archivePath, as this makes more
sense now.
2018-01-25 08:48:38 +01:00
Oliver Feldmann 58d3907093 Use fileExists to check whether archivePath really exists
When running on a slave we have to use the Pipeline method fileExists,
using the File class' exist on the absolute path fails.
The neo deployment uses the relative path as well.
The fileExists method is mocked with LesFurets.
2018-01-24 13:11:04 +01:00
Oliver Feldmann 9fe6d041f8 Cache pip and maven dependencies
To avoid downloading the same things over and over we cache
`$HOME/.cache/pip` for pip and `$HOME/.m2` for maven dependencies.
2017-12-21 15:29:06 +01:00
Oliver Feldmann 613b2ad61d Build docs only for Pull Requests
The check whether the documentation build includes errors or warnings is
only necessary as a voter on the PR.
2017-12-21 15:28:36 +01:00
Oliver Feldmann 1f28e870fe Build documenation with mkdocs
To find errors in the documentation it is build with mkdocs usind strict
mode. Thus warnings also abort the travis build.
2017-12-21 14:48:01 +01:00
Oliver Feldmann a2708763ee Install mkdocs and material theme using pip
To build the documentation mkdocs, a python package, is necessary. The
material theme is used and also needs to be installed.
Pass PEP370 --user to pip install, otherwise root privileges are needed.
Maven needs to be executed explicitely, as we are modifying the script
lifecycle phase.
2017-12-21 14:46:27 +01:00
Oliver Feldmann b81ee87218 Merge pull request #37 from o-liver/DocuLink
Correct reference to commonPipelineEnvironment.md
2017-12-14 09:54:05 +01:00
Oliver Feldmann 74f63a1936 Correct reference to commonPipelineEnvironment.md
In configurationLoader.md the reference to commonPipelineEnvironment.md
is wrong and will give you a 404, because commonPipelineEnvironment.md
lies in a separate folder called steps.
The change was already deployed to the gh-pages!
2017-12-13 14:35:23 +01:00
Oliver Feldmann 14e43d9e0e Merge pull request #17 from o-liver/documentation
Documentation overhaul
2017-12-06 14:34:50 +01:00
Oliver Feldmann b4a4f135fa Template overhaul
Step template improvements.
Addition of script template.
2017-12-06 13:24:19 +01:00
Oliver Feldmann 8e70c72ea9 Documentation improvements
Slight improvements on various md files.
Deletion of method-based commonPipelineEnvironment documentation as it
is not used.
2017-12-06 13:24:01 +01:00
Oliver Feldmann 5c37d62343 Merge pull request #19 from o-liver/contributing
Minor changes to CONTRIBUTING.md
2017-12-05 14:39:01 +01:00
Oliver Feldmann 026e0d3f29 Merge pull request #31 from o-liver/executePipeline
Remove node from test pipeline of executePipeline unit tests.
2017-12-05 14:20:47 +01:00
Oliver Feldmann 772fc50b50 Fix CONTRIBUTING.md
Fix some spelling errors.
2017-12-05 14:18:20 +01:00
Oliver Feldmann f72d93ae2c Remove node from test pipeline
node() is not necessary in the LesFurets unit tests. This is especially
misleading for the pipelineExecute step, as the step itself opens a node
closure when loading a pipeline. If used like this in Jenkins
unnecessary executors will be used.
2017-12-05 13:33:03 +01:00
Oliver Feldmann b4d17fa929 Documentation for 'centralPipelineLoad' 2017-12-04 10:51:42 +01:00
Oliver Feldmann a6df3b3053 'centralPipelineLoad' unit tests
Mocking with LesFurets. Check that everything is at the right place.
1. Test with only the mandatory parameter 'repoUrl'.
1. Test setting all available parameters.
1. Test with no parameters throws Exception for missing mandatory
parameter 'repoUrl'.
2017-12-04 10:51:42 +01:00
Oliver Feldmann 5d5a82929c centralPipelineLoad step
A more convenient way to checkout the project sources. The idea is to
have a Jenkinsfile in the payload repository that only loads the shared
library and then runs this step. This step in turn loads a Jenkinsfile
from another repository.
The repo url, branch, Jenkinsfile path and credentials ID can be
provided to the step. The Jenkinsfile is first checked out to a
temporary folder, before it is loaded.
The payload repo must include a Jenkinsfile to be loaded with this
approach.
2017-12-04 10:51:42 +01:00