Sven Merk
1202f4f55a
Added test
2019-03-12 23:22:27 +01:00
Sven Merk
46ddaaf137
Add compatibility support for old values
2019-03-12 12:29:30 +01:00
Sven Merk
74a06ef871
Fix test
2019-03-12 11:53:23 +01:00
Sven Merk
61d6280c3a
Moved admin auth handling into script
2019-03-11 10:46:22 +01:00
Sven Merk
61a9710fab
Fix org admin repo
2019-03-08 14:11:04 +01:00
Sven Merk
6fd4436494
Fix flattening config compatibility feature
2019-03-07 11:43:08 +01:00
Sven Merk
e6c3d6e4ba
Enhance config compatibility feature
2019-03-07 11:13:24 +01:00
Sven Merk
bfbee88620
Added documentation of parameters and step
2019-03-06 15:08:42 +01:00
Sven Merk
d3bfab50f6
Remove confidential information
2019-03-06 14:16:28 +01:00
Sven Merk
cfc3a1528a
Implement comments
2019-03-06 14:03:00 +01:00
Sven Merk
df01a88b34
Fix tests
2019-03-06 12:14:38 +01:00
Sven Merk
f7f33f38ac
Address comments
2019-03-06 11:04:49 +01:00
Sven Merk
53491ce956
Cleanup and alignment with internal step
2019-03-05 13:59:40 +01:00
Sven Merk
34857f112f
Cleanup
2019-03-04 23:22:15 +01:00
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
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
Florian Wilhelm
d2b6be4e25
Configure default mta build image to ppiper/mta-archive-builder ( #515 )
2019-02-15 13:48:34 +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
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
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
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
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
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
Oliver Nocon
3b2e42c74f
Add step containerExecuteStructureTest ( #441 )
...
* add step containerExecuteStructureTest
* include PR-review feedback
* documentation
2019-01-31 09:39:13 +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
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
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
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
Christopher Fenner
152c0e3682
Merge branch 'master' into pr/betterReadableRuleNames
2019-01-23 16:53:52 +01:00
Marcus Holl
ddc796b85d
Better readable rule names: readJsonRule
2019-01-23 14:54:52 +01:00
Marcus Holl
9e56ebc724
Better readable rule names: dockerExecuteRule
2019-01-23 14:54:52 +01:00
Marcus Holl
f81b83169a
Better readable rule names: readFileRule
2019-01-23 14:54:52 +01:00
Marcus Holl
e4c3228e25
Better readable rule names: writeJsonRule
2019-01-23 14:54:51 +01:00
Marcus Holl
7ba695e767
Better readable rule names: readJsonRule
2019-01-23 14:54:51 +01:00
Marcus Holl
da1969e089
Better readable rule names: writeFileRule
2019-01-23 14:54:51 +01:00
Marcus Holl
afa8889e9d
Better readable rule names: errorRule
2019-01-23 14:54:51 +01:00
Marcus Holl
5c0abfdff8
Better readable rule names: readYamlRule
2019-01-23 14:54:51 +01:00
Marcus Holl
4e01b94458
Better readable rule names: dockerExecuteRule
2019-01-23 14:54:50 +01:00