andre2007
44f745d327
Rename dlang to dub ( #762 )
2019-07-03 11:27:07 +02:00
Oliver Nocon
9e539e68ee
Piper pipeline - enhance stages ( #755 )
...
* fill PRVoting stage with content
* add prVoting stage incl. tests
* add Build stage incl. Tests
* add docs pages
* add additional unit test stage
* add acceptance stage and additional documentation ...
* add release stage content
* add promote stage
* add Security stage, fix defaults for Promote stage
* fix issue in doc generation
2019-07-03 10:13:26 +02:00
Oliver Nocon
5bb6d59753
Add step buildExecute ( #527 )
...
This step should serve as generic entry point in pipelines for building artifacts.
Build principle: build once.
Purpose of the step:
- build using a defined build technology
- store build result for future use in testing etc.
2019-07-02 13:00:36 +02:00
Marcus Holl
ea5a3ed5ce
Merge remote-tracking branch 'github/master' into HEAD
2019-06-25 08:49:30 +02:00
Oliver Nocon
79894bb36f
Fix docker versioning with registry port ( #686 )
...
Fix issue when retrieving version via tag in `FROM` section.
We also need to consider that the registry may contain a port.
* Update DockerArtifactVersioning.groovy
* add error message for missing image tag in FROM line
2019-06-19 13:00:56 +02:00
Marcus Holl
45a2bfc4f7
shift coding for preparing defaultValueCache into that class
...
rather than having it in a pipeline step.
With that we avoid going back from a class in the src folder into
a pipeline step (vars).
2019-05-31 14:26:25 +02:00
Marcus Holl
56b651dbe9
Merge remote-tracking branch 'github/master' into HEAD
2019-05-24 14:26:07 +02:00
Alejandra Ferreiro Vidal
c21a4a6a3e
remove semikolons
2019-05-23 14:28:32 +02:00
Marcus Holl
1a907a834d
Merge remote-tracking branch 'github/master' into HEAD
2019-05-16 09:13:51 +02:00
Marcus Holl
74af6bab5f
Add extensions to neoDeploy
...
Extensions can be provided via --extension --e to the neo deploy command
line for deploy-mta. This commits adds support for providing extension files.
2019-05-16 09:13:23 +02:00
Christopher Fenner
9db487d189
move method to MapUtils ( #709 )
...
* move method to MapUtils
* use MapUtils
* fix indent
* Update src/com/sap/piper/MapUtils.groovy
* Update MapUtils.groovy
* remove obsolete test case
* fix typo
2019-05-15 20:52:45 +02:00
Marcus Holl
7a7fd3ebab
Provide a deep config copy from ConfigHelper.use()
...
The config map prepared by ConfigHelper is a mix from several configuration levels. The lowest config level
(DefaultValueCache) is shared between several ConfigHelper invocations. In case a Map or Collection which is
inherited from the DefaultValueCache level gets modified, this is also visible for all subsequent steps. This
causes trouble and situation which are hard to debug.
With this change here each invocation of ConfigHelper.use() provides a deep defensive copy. With that we can
ensure that there is no configuration update from one step to another.
2019-05-14 12:43:18 +02:00
Alejandra Ferreiro Vidal
7724469f58
add unit tests for withPropertyInValues
2019-05-09 13:35:36 +02:00
Sven Merk
94e72898b1
whitesourceExecuteScan: Fix suffix collision for MTA scenario ( #689 )
...
* Apply fix for stash name collision
* Adapt tests
2019-05-03 17:33:52 +02:00
Christopher Fenner
e67b9cff23
influxWriteData: hold data in dedicated object ( #624 )
...
* add InfluxData object
* add InfluxData rule
* use InfluxData
* include jenkins_custom_data into InfluxData object
* correct typo
* add missing import
* fix condition for influx reporting
* add test class
* Update influxWriteData.groovy
2019-04-11 11:39:41 +02:00
Christopher Fenner
e90ffa6bf5
commonPipelineEnvironment: add propertiesMap ( #526 )
...
* add customPropertiesMap
* migrate transportRequestId to customPropertiesMap
* migrate transportRequestId to customPropertiesMap
* fix typo
* rename map
* rename method due to name clash
2019-04-10 10:56:36 +02:00
Alejandra Ferreiro Vidal
86978becfc
remove utils.getMandatoryParameter()
2019-04-09 16:25:25 +02:00
Sven Merk
bccec4259a
Fix scala test
2019-04-04 21:20:25 +02:00
Sven Merk
4e144b80a1
Refactor test to address last review comments
2019-04-01 14:43:44 +02:00
Sven Merk
8d1ce13e4e
Refactor test to address review comments
2019-04-01 09:03:56 +02:00
Sven Merk
1b7b1c5214
Refactor test to address review comments
2019-04-01 09:01:31 +02:00
Sven Merk
3191d8bb26
Fix mime type for accept header
2019-03-29 14:45:05 +01:00
Sven Merk
55e3622e6b
Remove obsolete code, avoid caching of request
2019-03-29 14:38:43 +01:00
Sven Merk
d169bfb619
Refactor file download
2019-03-29 14:22:42 +01:00
Sven Merk
c82bcc9c86
Addressed feedback
2019-03-29 13:58:41 +01:00
Sven Merk
aaf969e0cf
Merge branch 'master' into whitesource-step
2019-03-29 11:01:15 +01:00
Alejandra Ferreiro Vidal
6b98d642da
removes toolValidate
2019-03-29 08:44:36 +01:00
Sven Merk
452158256c
Merge branch 'master' into whitesource-step
2019-03-28 16:59:14 +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
82d70677fb
Refactor to dep as dependency manager
2019-03-25 14:32:36 +01:00
Sven Merk
b1cf27aa23
Improve test
2019-03-22 14:41:10 +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
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
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
d4b0549f74
Merge remote-tracking branch 'github/master' into HEAD
2019-03-14 13:07:30 +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
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
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
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
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
df01a88b34
Fix tests
2019-03-06 12:14:38 +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
05fe2fb758
Cleanup
2019-03-04 14:40:17 +01:00
Sven Merk
58bd5ce7fc
Additional tests
2019-03-04 14:08:10 +01:00
Oliver Nocon
23d08f0f38
Merge branch 'master' into pr/unstashSkipNull
2019-02-21 16:29:21 +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
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
Marcus Holl
0ea6bdc05c
Accept unix style line endings.
2019-02-14 13:52:06 +01:00
Marcus Holl
80bd4cf11c
Support code page parameter
2019-02-14 09:36:51 +01:00
Marcus Holl
af5d67aaf7
docker params as map when releasing tr via rfc
2019-02-13 14:58:46 +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
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
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
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
fd5a07d403
applicationId -> applicationName for RFC file upload
2019-02-07 08:29:53 +01:00
Marcus Holl
cb61d80e12
development client for RFC release transport not hard coded anymore
2019-02-01 13:08:25 +01:00
Marcus Holl
c785e53317
split releaseTransportRequest method into three methods
...
one for each BackendType.
2019-02-01 13:08:24 +01:00
Marcus Holl
6072bbd280
Remove outdated comment from test class
2019-01-31 14:12:05 +01:00
Marcus Holl
6a6e075da8
Provide test for transport request create rfc fails
2019-01-31 14:02:54 +01:00
Marcus Holl
71148faa42
Test for create transport request via RFC succeeds.
2019-01-31 13:06:52 +01:00
Marcus Holl
3ea0cb6208
Remove duplicate test
...
the other test doing the same is testReleaseTransportRequestFailsSOLMAN
2019-01-31 12:38:46 +01:00
Marcus Holl
5302d1d7b1
Merge remote-tracking branch 'github/master' into work
2019-01-31 09:55:21 +01:00
Marcus Holl
06f48ce5e7
Test failure case RFC upload ChangeManagement
2019-01-31 09:39:34 +01:00
Marcus Holl
80c7da76f4
Test good case RFC upload ChangeManagement
2019-01-31 09:31:52 +01:00
Marcus Holl
01cdfc5d91
Make clear in the testName which type we test.
2019-01-31 09:06:02 +01:00
Marcus Holl
88d50a0a10
Fix error message: cmclient, rfc client
2019-01-30 15:13:10 +01:00
Marcus Holl
661745fd81
Merge remote-tracking branch 'github/master' into HEAD
2019-01-30 15:01:09 +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
Bernd Maier
c7a6b073fc
RFC release transport
2019-01-29 14:57:31 +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
Marcus Holl
f81b83169a
Better readable rule names: readFileRule
2019-01-23 14:54:52 +01:00