Alejandra Ferreiro Vidal
e55ccc3fe9
add JenkinsFileExistsRule
2019-03-28 14:10:32 +01:00
Alejandra Ferreiro Vidal
1a1a7559d5
rename war properties file
2019-03-28 14:10:32 +01:00
Christopher Fenner
2369573f14
web analytics: use httpRequest step ( #587 )
...
* change reporting to use httpRequest step
* Update TelemetryTest.groovy
* adapt tests
* remove import
* avoid NonSerialisableException on HashMap.Entry
* Update Telemetry.groovy
* decrease timeout to 10 seconds
* remove null check
* make helper method static
* fix codeclimate issues
2019-03-28 11:54:45 +01:00
Sven Merk
9466beec42
Fix tests
2019-03-26 17:45:29 +01:00
Oliver Nocon
27c4db47e4
Merge branch 'master' into whitesource-step
2019-03-26 16:46:45 +01:00
Alejandra Ferreiro Vidal
e282c07dd4
remove config.properties file
2019-03-26 14:13:03 +01:00
Sven Merk
56ae339d9c
Switch working directory 3
2019-03-26 09:36:59 +01:00
Sven Merk
82d70677fb
Refactor to dep as dependency manager
2019-03-25 14:32:36 +01:00
Sven Merk
7de9718e13
Fix interpretation of descriptor
2019-03-25 12:50:00 +01:00
Sven Merk
f928878c5e
Fix path handling
2019-03-25 10:38:00 +01:00
Sven Merk
9322769d47
Improve reported version
2019-03-22 14:53:33 +01:00
Sven Merk
b1cf27aa23
Improve test
2019-03-22 14:41:10 +01:00
Sven Merk
8470e14aed
Fix Go image
2019-03-22 13:50:11 +01:00
Sven Merk
10c7485808
Fix project name determination for Go
2019-03-22 13:08:48 +01:00
Sven Merk
991dd5ec51
Merge branch 'master' into whitesource-step
2019-03-22 11:58:01 +01:00
Sven Merk
8da169d2a8
Enable golang
2019-03-22 11:55:50 +01:00
Sven Merk
be814c62aa
Included comments refactored docu generation
2019-03-21 13:25:22 +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
3f8498e4dd
Merge remote-tracking branch 'github/master' into HEAD
2019-03-21 10:43:27 +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
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
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
Marcus Holl
52f3287cb3
Merge remote-tracking branch 'github/master' into HEAD
2019-03-15 15:01:12 +01:00
Sven Merk
3d81e09ab3
Add warning
2019-03-15 13:32:02 +01:00
Sven Merk
bb31060dad
Merge branch 'master' into whitesource-step
2019-03-15 13:16:29 +01:00
Sven Merk
e37b714c99
Improve coverage
2019-03-15 13:11:34 +01:00
Sven Merk
c96f73866a
Refactored to generally migrate config to deep structure
2019-03-14 15:18:01 +01:00
Marcus Holl
9cf49a51cb
Merge remote-tracking branch 'github/master' into HEAD
2019-03-14 13:36:10 +01:00
Marcus Holl
d4b0549f74
Merge remote-tracking branch 'github/master' into HEAD
2019-03-14 13:07:30 +01:00
Daniel Kurzynski
9055dd1ea0
Merge branch 'master' into pr/neoDeployParamChecksEarly
2019-03-14 12:52:55 +01:00
Marcus Holl
adafab91e2
Perform parameter validation early, do not truncate parameters
...
In case of a mis-configuration we get a hint like "host is missing".
Actually it should be "neo/host is missing" since the parameter "host" is nested inside "neo".
Having simply "host" confuses the person troubleshooting this issue.
With this change the input validation is performed right at the beginning of the step.
The NeoCommandLine helper does not check a second time now.
2019-03-13 15:44:57 +01:00
Marcus Holl
7e1c171685
Merge branch 'master' into pr/fixStageDoc
2019-03-13 15:36:28 +01:00
Marcus Holl
201b075cb5
Merge remote-tracking branch 'github/master' into HEAD
2019-03-13 14:36:34 +01:00
Thorsten Duda
28cf46a2fc
fix parameter order for instance and client
2019-03-13 14:20:25 +01:00
Marcus Holl
513ceee8cf
Merge branch 'master' into pr/fixStageDoc
2019-03-13 12:39:59 +01:00
Sven Merk
088c5901e7
Improve coverage
2019-03-13 11:38:44 +01:00
Sven Merk
cd8067b5d5
Improve coverage
2019-03-13 11:06:47 +01:00
Sven Merk
6764e75551
Merge branch 'master' into whitesource-step
2019-03-13 10:43:23 +01:00
Sven Merk
39caa29567
Improve coverage
2019-03-13 10:42:54 +01:00
Sven Merk
dee6f61fae
Improve coverage
2019-03-13 10:21:41 +01:00
Sven Merk
7dba1dadc9
Improve coverage
2019-03-13 09:58:47 +01:00
Sven Merk
99f853e207
Improve coverage
2019-03-12 23:36:55 +01:00
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
Christopher Fenner
57911a5835
Merge branch 'master' into pr/fixStageDoc
2019-03-12 11:26:42 +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
Daniel Kurzynski
1bd1b01a7a
Merge branch 'master' into remove-compatability
2019-03-07 12:54:04 +01:00
Marcus Holl
a7bc198342
neo toolset not configurable ( #484 )
2019-03-07 12:53:25 +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
Marcus Holl
42d57479d9
Verbose flag for transport request release
2019-03-05 12:35:28 +01:00
Marcus Holl
ad3e0f86d1
Verbose flag for transportRequestCreate
2019-03-05 10:29:23 +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
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