Sven Merk
32b9c95cdb
Added tests
2019-03-04 22:55:43 +01:00
Sven Merk
bffb57137a
Adapt test
2019-03-04 15:49:55 +01:00
Sven Merk
22096b881a
Fix test
2019-03-04 15:32:34 +01:00
Sven Merk
03d3e2b241
Fix missing descriptor support
2019-03-04 15:02:01 +01:00
Sven Merk
05fe2fb758
Cleanup
2019-03-04 14:40:17 +01:00
Sven Merk
58bd5ce7fc
Additional tests
2019-03-04 14:08:10 +01:00
Sven Merk
2c00d8cdd0
Switching to official docker images + fixing tests
2019-03-04 11:47:04 +01:00
Sven Merk
14700ba210
Initial checkin of new whitesource step
2019-02-28 13:01:30 +01:00
yemengsap
38c5a0d779
Add npmExecute step ( #491 )
2019-02-21 19:14:48 +01:00
Oliver Nocon
23d08f0f38
Merge branch 'master' into pr/unstashSkipNull
2019-02-21 16:29:21 +01:00
Florian Wilhelm
ada3ed909d
Don't print messages in all uppercase letters ( #531 )
2019-02-21 15:46:17 +01:00
Florian Wilhelm
02afb22c74
Change telemetry disabled message to be more kind ( #530 )
...
Please, don't use exclamation marks in user interfaces.
2019-02-21 13:56:20 +01:00
Marcus Holl
827d8aa32d
imagePull --> pullImage
2019-02-19 11:35:03 +01:00
Marcus Holl
546db7f3f3
Provide verbose flag.
2019-02-15 13:58:11 +01:00
Marcus Holl
a375cc75a5
Provide flag failUploadOnWarning
...
in order to be able to survive uploads which are basically successful, but
with warning(s).
2019-02-15 13:58:11 +01:00
Florian Wilhelm
d2b6be4e25
Configure default mta build image to ppiper/mta-archive-builder ( #515 )
2019-02-15 13:48:34 +01:00
weloli
08edf94bd0
Merge branch 'master' of https://github.com/weloli/jenkins-library into pr/fixStageDoc
2019-02-15 09:31:28 +01:00
Marcus Holl
0ea6bdc05c
Accept unix style line endings.
2019-02-14 13:52:06 +01:00
Marcus Holl
66fbed80ba
Test for rfc create transport sanity checks.
2019-02-14 12:29:13 +01:00
Marcus Holl
d5707db38b
Test for rfc create transport requets fails.
2019-02-14 12:22:45 +01:00
Marcus Holl
8aa22d179a
Denote use case in test name for creating transport request
2019-02-14 12:04:45 +01:00
Marcus Holl
02e832b008
Test for RFC transportRequestCreate
2019-02-14 12:01:28 +01:00
Marcus Holl
80bd4cf11c
Support code page parameter
2019-02-14 09:36:51 +01:00
Oliver Nocon
793df723cf
add step slackSendNotification ( #338 )
...
* add step slackSendNotification
This step allows to send Slack notifications in case of pipeline failures.
* add SWA reporting
* remove allowBuildFailure
* add GENERAL_CONFIG_KEYS
* update STEP_NAME
* add missing import
* fix MD findings
* adjust rule name to be aligned with #455
2019-02-13 16:45:35 +01:00
Marcus Holl
af5d67aaf7
docker params as map when releasing tr via rfc
2019-02-13 14:58:46 +01:00
weloli
72adaf3dd5
Merge branch 'master' of https://github.com/weloli/jenkins-library into pr/fixStageDoc
2019-02-13 14:35:56 +01:00
Marcus Holl
5f07490cf2
Unstash in loop only if identifier is available
...
In case unstashAll is called with a Set containing a null value we get
an ugly message in the log:
Unstash failed: null (Could not instantiate {name=null} for UnstashStep(name: String):
This can be avoided by unstashing only in case we have an ID.
2019-02-13 14:31:25 +01:00
weloli
8d48582033
adapt test to changed expectation
2019-02-13 14:01:56 +01:00
Marcus Holl
2d7079a8c9
Merge remote-tracking branch 'github/master' into HEAD
2019-02-13 09:05:28 +01:00
Marcus Holl
ff88bfa79f
Merge remote-tracking branch 'github/master' into HEAD
2019-02-13 08:51:26 +01:00
weloli
e4c73d0100
add test to prove wrong documentation
2019-02-12 16:56:06 +01:00
Marcus Holl
0ae673c021
docker params as map when creating tr via rfc
2019-02-12 15:35:27 +01:00
Marcus Holl
dc1dfd622c
docker params as map for fileUpload
2019-02-12 15:22:22 +01:00
Marcus Holl
9305a52d0f
Merge remote-tracking branch 'github/master' into HEAD
2019-02-08 12:38:59 +01:00
Christopher Fenner
d657f0dc28
testsPublishResults: add option to fail the build on test errors ( #472 )
...
* add option to fail the build on test errors
* fix typo
* add test cases
* adjust docs
* set build result
* add hasTestFailure utils method
* use utils method
* use dedicated type
* adapt tests
* handle missing test actions
* Update testsPublishResults.md
* Update JenkinsUtils.groovy
* Update JenkinsUtils.groovy
* Update JenkinsUtils.groovy
* remove comments
* adapt test case
* Update TestsPublishResultsTest.groovy
2019-02-08 12:30:59 +01:00
Marcus Holl
8b13164d74
[fix] remove inapproriate package statement ( #497 )
...
The test class is in the default package and not in a package 'steps'.
2019-02-08 12:03:41 +01:00
Marcus Holl
fe147eff81
Handle parameters as env vars instead of options for RFC upload
...
options are not supported for dockerExecuteOnKubernetes, but
environment variables are. Hence we switch to environment variables
which works on both, plain docker and on kubernetes.
Using env vars is the cleaner approach anyway.
2019-02-08 12:03:05 +01:00
Marcus Holl
d369d3cd4a
Remove println statements from tests
...
Nobody will have a look at println statements emitted by tests. Proper way is to assert.
* log is empty, not sure if it makes sense to assert that the log is empty.
* result is already asserted, so everything is fine there ...
2019-02-07 17:03:32 +01:00
Marcus Holl
6b4d2ba33e
Remove println statements from default registered sh closure
...
We should try to avoid promting statements to the log during tests. This is basically
some kind of manual/visual checking of conditions. This does not work since in most cases
nobody scans test logs manually/visually. I think this is often a smell for missing assertions.
2019-02-07 16:58:49 +01:00
Marcus Holl
8d1786fa8d
DevelopmentInstance for upload file rfc
2019-02-07 11:46:45 +01:00
Marcus Holl
3a982a8f04
provide developent instance for transportRequest release RFC
2019-02-07 11:24:39 +01:00
Marcus Holl
e9c1834f9d
Provide development instance for create transport request RFC
2019-02-07 11:12:17 +01:00
Marcus Holl
d8d2d8b1fd
abap development client always under changeManagement.rfc
2019-02-07 10:11:22 +01:00
Marcus Holl
fd5a07d403
applicationId -> applicationName for RFC file upload
2019-02-07 08:29:53 +01:00
Marcus Holl
200e18f468
transportRequestRelease sanity checks for CTS case.
2019-02-06 15:31:50 +01:00
Marcus Holl
608b76f1c8
transportRequestRelease sanity checks for SOLMAN case.
2019-02-06 15:16:27 +01:00
Marcus Holl
663b840dee
Add test for release transport CTS success
2019-02-06 14:23:00 +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
Marcus Holl
d8b0de3735
Add step test: transportRequestRelease for CTS fails
2019-02-05 17:29:45 +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