Marcus Holl
54018be2f0
Provide developmentInstance for transportRequestCreate RFC
2019-02-07 11:18:32 +01:00
Marcus Holl
d8d2d8b1fd
abap development client always under changeManagement.rfc
2019-02-07 10:11:22 +01:00
Marcus Holl
fb9ec4992f
development client not via flat parameter
2019-02-07 09:44:17 +01:00
weloli
826e216cd5
Lookup mtar in the whole workspace ( #492 )
...
* allow mtar lookup in the whole workspace
* minor fixes
2019-02-07 08:58:00 +01:00
Marcus Holl
fd5a07d403
applicationId -> applicationName for RFC file upload
2019-02-07 08:29:53 +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
Thorsten Duda
d36c98ec30
Merge branch 'master' into remove-validation-from-mtabuild
2019-02-05 14:19:36 +01:00
Marcus Holl
534cb1471d
Merge remote-tracking branch 'github/master' into HEAD
2019-02-05 09:25:50 +01:00
Oliver Nocon
dde4e0abef
Fix regression introduced with #474 ( #483 )
...
Fix stashing behavior to include all files in workspace.
This was for example an issue for PR-voting in Docker pipeline since `Dockerfile` has been excluded from stashing
2019-02-05 09:07:47 +01:00
Christoph Szymanski
baea1db813
Merge branch 'master' into remove-validation-from-mtabuild
2019-02-04 17:12:05 +01:00
Christopher Fenner
bd32367c31
dockerExecute: generate docs ( #480 )
...
* correct key order
* add docs annotation and description
* describe parameters
* remove generated content from doc
* fix indent
* add further decumentations
2019-02-04 14:35:44 +01:00
Marcus Holl
b7deda1964
dockerExecute: make javadoc comment to 'normal' comment ( #481 )
...
since it is not intendend to expose the method docu as api doc.
2019-02-04 10:53:20 +01:00
Christopher Fenner
ba2e83c76a
dockerExecuteOnKubernetes: correct parameter keys ( #475 )
...
* Update dockerExecuteOnKubernetes.groovy
* Update dockerExecute.groovy
* Update dockerExecuteOnKubernetes.groovy
2019-02-04 09:03:58 +01:00
Christoph Szymanski
70ac75c8b8
Remove validation in mtaBuild
...
Removing validation calls for Java and MTA.
2019-02-01 16:13:18 +01:00
Marcus Holl
59bff987d7
Test for releaseTransportRequest RFC sanity checks
2019-02-01 13:23:08 +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
7a4ca50399
Fix log message. Was invalid for backendType RFC.
2019-01-31 17:08:05 +01:00
Marcus Holl
5302d1d7b1
Merge remote-tracking branch 'github/master' into work
2019-01-31 09:55:21 +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
fbb9cbeb3c
Update dockerExecuteOnKubernetes.groovy ( #474 )
2019-01-31 08:49:31 +01:00
Marcus Holl
a70fc10ae0
Parameter applicationURL instead of file path
2019-01-30 16:02:48 +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
Christopher Fenner
1c9eed993b
Merge branch 'master' into pr/removeNeoCredentialsCheck
2019-01-30 10:46:06 +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
Marcus Holl
262f39dfdd
Removing check for neo deploy credentials id
...
since there is a default defined in default_pipeline_environment.
I believe there is a misunderstanding. The check checks if there is a valid defined for the
credentials id key. Since there is one definded in the default config this check will always
succeed.
This check does not check if there is a credential defined with this id via the Jenkins
Credentials Plugin. Maybe when this check was provided this was the intention. There is a
speaking error message provided by the credentials plugin in case the credentials lookup
fails.
2019-01-29 09:48:52 +01:00
Daniel Kurzynski
09a2e3f090
Remove compatibility for neoDeploy
2019-01-28 12:35:35 +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
b21541c9f6
transportRequestCreate for RFC communication
2019-01-25 15:14:08 +01:00
Marcus Holl
9bf38f9a76
Merge remote-tracking branch 'github/master' into HEAD
2019-01-23 14:26:30 +01:00
Oliver Nocon
05e0d958da
dockerExecute - fix issue when image does not contain which ( #458 )
...
command `which` requires a dedicated OS package to be installed.
In case a Jenkins Master or Jenkins Slave Image does not contain `which`, although `docker` command is available the step took a wrong turn.
This removes the check using `which` since checking `docker ps` is sufficient.
2019-01-23 14:19:36 +01:00
Marcus Holl
2330bfdcf4
Merge remote-tracking branch 'github/master' into HEAD
2019-01-23 12:34:25 +01:00
Oliver Nocon
27c3891685
deployToCloudFoundry - patch mta blue-green deployment ( #457 )
...
mta deploy plugin has flag:
` --no-confirm` which is described as _"Do not require confirmation for deleting the previously deployed MTA apps"_
This flag is essentials for performing fully automated blue-green deployments.
2019-01-22 16:13:59 +01:00
Christopher Fenner
6224d2aece
influxWriteData: catch NPE ( #434 )
...
* Update influxWriteData.groovy
* Update influxWriteData.groovy
* Update influxWriteData.groovy
2019-01-21 14:12:05 +01:00
Christopher Fenner
10267ce7d1
Analytics: add step parameter keys ( #442 )
...
* add stepParamKey values
* camelCase
2019-01-21 08:47:34 +01:00
Marcus Holl
c8c96f11e3
Escape blanks when contained in env values for docker
2019-01-18 15:48:58 +01:00
Marcus Holl
dd8e09c527
Streamline flow control
...
in order to avoid to have to escape at two locations in the code.
2019-01-18 15:48:58 +01:00
sbmaier
423c9f52ba
cloudFoundryDeploy: fix naming of Influx step ( #450 )
...
* fix naming Influx
* fix test for influx name change
2019-01-18 15:33:36 +01:00
Christopher Fenner
f6647d9ce5
newmanExecuteTests: use user-specific .npm-global directory ( #447 )
...
* use user-specific .npm-global directory
* Update newmanExecute.groovy
* fix typo
* Update NewmanExecuteTest.groovy
* Update NewmanExecuteTest.groovy
2019-01-18 13:14:39 +01:00
Marcus Holl
0914f6920a
no docker pull
2019-01-18 10:26:27 +01:00
Marcus Holl
cca46d509b
Upload binaries to transport requests via RFC
2019-01-18 10:26:03 +01:00
Marcus Holl
303122c899
Remove unneeded imports for ConfigurationMerger, ConfigurationLoader
2019-01-18 09:36:16 +01:00
Christopher Fenner
1baa1f14cb
remove trailing line break
2019-01-18 08:57:54 +01:00
Marcus Holl
d681b42c00
Introduce @GenerateDocumentation annotation
2019-01-18 08:57:54 +01:00
Oliver Nocon
e11478ca00
cloudFoundryDeploy - add deployment reporting to Influx ( #421 )
...
Add reporting of operations-related data to Influx (if configured), like:
* Version of deployed artifact
* Deployment time
* Target infrastructure for deployment
2019-01-18 08:25:22 +01:00
Oliver Nocon
98139bb498
influxWriteData - support Influx tags ( #420 )
...
* influxWriteData - support Influx tags
In order to better query data in Influx, tags needs to be written.
This change allows filling tag data via the Influx plugin.
2019-01-17 15:42:03 +01:00
Marcus Holl
db5022a4ff
New Scenario Step: SAP UI5 on SAP Cloud Platform ( #388 )
...
This scenario builds a UI5 app and deploys it to SAP Cloud Platform (neo).
2019-01-15 13:32:01 +01:00
Oliver Nocon
20a54cf094
dockerExecute - extend Kubernetes capabilities ( #432 )
...
allow `dockerExecute` to pass on to dockerExecuteOnKubernetes
* containerCommand
* containerShell
2019-01-14 14:43:07 +01:00
Oliver Nocon
4064e6ffe1
piperStageWrapper - switch to parameter map for extensions ( #424 )
...
switch to using a parameter map
2019-01-14 10:25:47 +01:00
Oliver Nocon
724a851bcd
executeDockerOnKubernetes - specify custom shell ( #428 )
...
Depending on the Docker image used the default shell will not work in certain cases.
This extends the executeDockerOnKubernetes step to be able to use a custom shell according to https://github.com/jenkinsci/kubernetes-plugin#specifying-a-different-shell-command-other-than-binsh
2019-01-08 19:44:28 +01:00
Florian Wilhelm
db9ba38ed1
Fail CF Deployment Shell Script Early ( #426 )
...
Resolves #425
2019-01-07 12:54:00 +01:00
Oliver Nocon
130e607446
influxWriteData - fix issue when running in POST ( #413 )
...
influxWriteData requires a node to be executed.
In a declarative pipeline the POST section by default does not provide a node/agent.
This adds a parameter to force creation of a node/agent.
2018-12-12 17:33:36 +01:00
Marcus Holl
0751eda1ee
Merge remote-tracking branch 'github/master' into HEAD
2018-12-12 12:24:26 +01:00
Oliver Nocon
e556fba950
add wrapper for stages contained in library ( #341 )
...
* add wrapper for stages contained in library
`piperStageWrapper` provides a wrapper for stages which we may include into the library.
It will take care about extension capabilities, locking, node handling, ... which should be a capability of every stage contained in the library.
2018-12-12 11:45:11 +01:00
Christopher Fenner
d303e49ebe
add newman doc ( #399 )
2018-12-10 11:53:48 +01:00
Marcus Holl
6491cccc2d
Merge remote-tracking branch 'github/master' into HEAD
2018-12-07 12:32:00 +01:00
Marcus Holl
2ccb9df408
Merge remote-tracking branch 'github/master' into HEAD
2018-12-06 15:58:35 +01:00
thorstenwillenbacher
4d06cf151e
Merge branch 'master' into pr/moreLoggingAndFailfastInMtaBuild
2018-12-06 15:12:46 +01:00
Marcus Holl
b7468a7ae4
Step name is not a string literal anymore
...
Having the step name always the same like the file name, which is in turn the class name is
redundant.
2018-11-29 09:54:05 +01:00
Oliver Nocon
90765697aa
Docker execution - make sure that script is passed ( #403 )
2018-11-28 10:46:47 +01:00
Oliver Nocon
2881877322
newmanExecute - adapt to changes ( #400 )
...
* script now mandatory, thus passing it to dockerExecute
* html reporter needs to be installed separately
2018-11-28 09:25:34 +01:00
Oliver Nocon
6dc3ebe38c
cloudFoundryDeploy - fix stashing ( #398 )
2018-11-27 16:29:38 +01:00
Oliver Nocon
d1d07f241d
cloudFoundryDeploy - fix stashing behavior ( #396 )
...
This change fixes an error which only occurs in a Kubernetes landscape.
When initial stashes are filled, the deployment will fail since it misses the artifact to be deployed.
When providing an empty stash as default, Docker execution on Kubernetes will respect all content in the current workspace.
2018-11-27 16:02:06 +01:00
Florian Geckeler
32e20a7293
Provide option to Stop and not delete old instance on BlueGreenDeploy ( #394 )
...
* Provide option to Stop and not delete old instance on BlueGreenDeploy
* Default is still delete old instance
Closes #323
2018-11-27 11:47:44 +01:00
Christopher Fenner
aadba46083
pipelineStashFiles: resolve STEP_NAME in log message ( #391 )
...
* resolve STEP_NAME in log message
* resolve STEP_NAME in log message
2018-11-20 16:03:07 +01:00
Oliver Nocon
8d141a7183
sendNotificationMail - add resilience ( #392 )
...
Do not create failure in case `gitSshKeyCredentialsId` is not configured.
Only provide warning message.
2018-11-20 15:56:00 +01:00
Oliver Nocon
db4e184967
cloudFoundryDeploy - adapt to changes in dockerExecute ( #390 )
...
pass script to call `dockerExecute`
2018-11-19 11:35:37 +01:00
Marcus Holl
a84d91f6bf
More logging and be failfast around mtaYamlFile
...
- don't log a message and continue when it is clear that we cannot succeed
together with error raised later during attempt not parse a non-existing
file
- More log output in order to clarify what happens with mta.yaml
2018-11-13 09:23:26 +01:00
Marcus Holl
69058d0f80
Streamline code: Inline variable in mtaBuild step
2018-11-13 08:44:53 +01:00
Marcus Holl
d1500dce00
Log mta call which get executed.
2018-11-13 08:40:45 +01:00
Marcus Holl
5c4007180c
Merge remote-tracking branch 'github/master' into HEAD
2018-11-12 13:11:54 +01:00
Marcus Holl
06aacffb56
Merge remote-tracking branch 'github/master' into HEAD
2018-11-12 09:39:12 +01:00
Marcus Holl
0bbbb56002
Do not hand over reference to step itself
...
needs to be the reference as it is available by script
2018-11-09 15:45:23 +01:00
Christopher Fenner
3c86a3c54d
add missing script ( #377 )
...
fixes #376
2018-11-09 07:42:33 +01:00
Marcus Holl
f48c8a038e
Merge remote-tracking branch 'github/master' into HEAD
2018-11-08 15:58:26 +01:00
Christopher Fenner
9acc28f10f
add missing script ( #373 )
2018-11-08 13:25:11 +01:00
Marcus Holl
1b8e9d0e30
Emit more explicit warning in case old config framework is is use
2018-11-08 13:10:43 +01:00
Marcus Holl
b3c5cba707
Notify about old config framework from neo deploy.
2018-11-08 12:18:49 +01:00
Christopher Fenner
9a1ab37c0b
add new step karmaExecuteTests ( #351 )
...
* add new step for karma execution
* add defaults
* Update karmaExecuteTests.groovy
* add key comments
* add test case
* docs
* add step docs
* add step docs
* Update karmaExecuteTests.md
* complete docs
* Update karmaExecuteTests.md
* init `script` the "new way"
* Update karmaExecuteTests.groovy
* Update karmaExecuteTests.groovy
2018-11-08 12:15:15 +01:00
Thorsten Duda
3896177b3e
Merge branch 'master' into pr/changeDocumentIdInCommonPipelineEnv
2018-11-08 11:00:28 +01:00
Marcus Holl
e354da8a05
Merge remote-tracking branch 'github/master' into HEAD
2018-11-07 11:44:15 +01:00
Christopher Fenner
ce362f4ae9
correct usage of commonPipelineEnvironment ( #369 )
2018-11-07 11:37:18 +01:00
Oliver Nocon
5ec37170fc
cloudFoundryDeploy - blue-green plugin extensions ( #355 )
...
* cloudFoundryDeploy - blue-green plugin extensions
* support blue-green application cleanup with new plugin flag
* enhance error reporting in case no app name is available
* include PR feedback
2018-11-07 10:39:30 +01:00
Marcus Holl
420746463e
Remove return value from transportRequestCreate
...
it is contained in the common pipeline environment.
2018-11-06 15:37:11 +01:00
Marcus Holl
b8c0c8e6b3
Cache transport request Id in common pipeline environment
2018-11-06 15:36:39 +01:00
Marcus Holl
76be6f0b24
Cache change document id in common pipeline environment
2018-11-06 14:36:40 +01:00
Marcus Holl
88c4b3e967
Merge remote-tracking branch 'github/master' into HEAD
2018-11-05 13:54:10 +01:00
Marcus Holl
3cb958b740
Merge remote-tracking branch 'github/master' into HEAD
2018-11-05 13:30:43 +01:00
Marcus Holl
bb0953dab9
Fix codeclimate remarks
2018-11-05 12:59:40 +01:00
Marcus Holl
66332b67af
fix codeclimate issues
2018-11-05 12:51:33 +01:00
Marcus Holl
5d444aa4ba
Fix codeclimate remarks
2018-11-05 12:33:41 +01:00
Marcus Holl
b53f260fd3
Fix codeclimate remarks
2018-11-05 12:26:48 +01:00
Christopher Fenner
aa5ad1c0d1
dockerExecute: handle stashContent ( #332 )
...
* handle stashed content
* add utils
2018-11-05 11:24:25 +01:00
Marcus Holl
8c07f69946
Fix identations
2018-11-05 10:22:44 +01:00
Marcus Holl
12a41cfad2
Fix identations
2018-11-05 10:19:57 +01:00
Marcus Holl
4b8b1abb1c
Merge remote-tracking branch 'github/master' into HEAD
2018-11-05 09:08:21 +01:00
Marcus Holl
d410ddea59
Remove prerequisites from docu inside step
...
--> will be contained in the md file instead.
2018-11-02 15:04:12 +01:00
Marcus Holl
2e8a9db02c
script = this as fallback instead of map with cpe of current step
...
o The map does not provide access to e.g. sh, echo.
o this has the same cpe as property as it is constructed with the
current map approach.
2018-10-31 12:52:45 +01:00
Oliver Nocon
2dbfeed813
Merge branch 'master' into pr/adjustConfigKeySetsInSteps
2018-10-31 10:43:38 +01:00
Marcus Holl
ea23d65594
Merge remote-tracking branch 'github/master' into HEAD
2018-10-30 17:01:19 +01:00
Marcus Holl
11d34c2157
Step called without script: webanalytics
2018-10-30 16:24:48 +01:00
Marcus Holl
c03a75da9f
Ensure script is mandatory parameter
...
... only in case a step uses the script at all.
2018-10-30 16:24:47 +01:00
Marcus Holl
1624001826
Introduce header comment handling
...
... and several other fixes
2018-10-29 12:57:10 +01:00
Marcus Holl
9532e1c05d
WIP: header comment
2018-10-29 08:09:34 +01:00
Marcus Holl
a8eb963ac2
Support javadoc like comments for parameters specified in a config key list
...
up to now we onls took withMandatory parameter sections into account
2018-10-26 12:14:03 +02:00
Marcus Holl
17e84b5deb
Adjust naming for config keys for step newmanExecute
2018-10-26 10:15:22 +02:00
Marcus Holl
f36137930e
Adjust naming for config keys for step testsPublishResults
2018-10-26 10:12:40 +02:00
Marcus Holl
749ddbef71
Adjust naming for config keys for step batsExecuteTest
2018-10-26 10:11:55 +02:00
Marcus Holl
c7b05e9294
Adjust naming for config keys for step transportRequestRelease
2018-10-26 10:11:16 +02:00
Marcus Holl
59d0c120f2
Adjust naming for config keys for step cloudFoundryDeploy
2018-10-26 10:10:24 +02:00
Marcus Holl
a4c0bb8d2b
Adjust naming for config keys for transportRequestUploadFile
2018-10-26 10:09:14 +02:00
Marcus Holl
5a75a4cc0c
Adjust naming for config key sets in transportRequestCreate
2018-10-26 10:09:12 +02:00
Marcus Holl
75ae0e5f03
add field GENERAL_CONFIG_KEYS to artifactSetVersion step
2018-10-26 10:08:26 +02:00
Marcus Holl
fad3191de1
Introduce GENERAL_COMFIG_KEYS for seleniumExecuteTests
2018-10-26 10:07:31 +02:00
Marcus Holl
0013c5db0e
general config key for step healthCheckExecute
2018-10-26 10:06:34 +02:00
Marcus Holl
8a2fabf6d9
Adjust naming for config key sets in checkChangeInDevelopment
2018-10-26 10:05:23 +02:00
Oliver Nocon
a8a29b753a
add step githubPublishRelease ( #345 )
...
This step allows to easily create a new release for your GitHub repository
* include PR review feedback - add additional labels
* consider return status of api call
2018-10-25 16:56:09 +02:00
Marcus Holl
f8c48e980d
@value -> @possibleValues
2018-10-25 10:02:17 +02:00
Marcus Holl
776cfdf50b
Merge remote-tracking branch 'mholl/pr/cts' into HEAD
2018-10-25 09:07:26 +02:00
Marcus Holl
5cdd1129a0
Merge remote-tracking branch 'github/master' into HEAD
2018-10-25 08:38:48 +02:00
Christopher Fenner
dabbc724ad
handlePipelineStepErrors: extract error message to template ( #350 )
...
* add template for handleStepErrors
* add tests
* use template
* fix indent
* fix typo
* Update HandlePipelineStepErrorTest.groovy
* Update HandlePipelineStepErrorTest.groovy
2018-10-24 13:36:30 +02:00
Christopher Fenner
48990bac47
dockerExecute: use docker network to connect sidecar containers ( #352 )
...
* use docker network to connect containers
* add container names
* use network-alias instead of name
* Update dockerExecute.groovy
* Update dockerExecute.groovy
* Update dockerExecute.groovy
* Update dockerExecute.groovy
* Update DockerExecuteTest.groovy
* remove obsolete parameter
* Update default_pipeline_environment.yml
* Update DockerExecuteTest.groovy
* Update dockerExecute.groovy
* Update DockerExecuteTest.groovy
* Update dockerExecute.groovy
* update docs
2018-10-24 10:13:28 +02:00
Marcus Holl
0c3203bb44
Merge remote-tracking branch 'mholl/pr/cts' into HEAD
2018-10-23 15:46:11 +02:00
Marcus Holl
a2393c3f92
merge remote-tracking branch 'github/master' into HEAD
2018-10-23 09:08:59 +02:00
Marcus Holl
b2988c904c
Condence common code wrt backend type in cm steps
2018-10-23 09:02:20 +02:00
Marcus Holl
6653b68c0f
Merge remote-tracking branch 'github/master' into HEAD
2018-10-18 12:54:32 +02:00
Marcus Holl
d4f9171247
erge remote-tracking branch 'github/master' into HEAD
2018-10-18 11:02:09 +02:00
Oliver Nocon
455461d3c1
add step pipelineRestartSteps ( #337 )
...
This step allows to restart a set of steps in order to retry in case of e.g. infrastructure failures which first need to be fixed.
* update documentation
2018-10-18 08:51:48 +02:00
Oliver Nocon
0e5ccabdae
add step gaugeExecuteTests ( #340 )
...
* seleniumExecuteTests - fixes
* add step gaugeExecuteTests incl. tests
* add documentation
* add more config options
2018-10-17 16:44:20 +02:00
Florian Wilhelm
b657dc6a29
Explicitly call toString()
on stepParameters
( #348 )
2018-10-17 12:27:24 +02:00
Oliver Nocon
1f8b94528c
add step mailSendNotification ( #336 )
...
This step allows to send email notifications in case of pipeline failures.
2018-10-17 12:05:11 +02:00
Marcus Holl
96cae66bf4
seleniumExecuteTest with void return value on call method
2018-10-17 12:02:19 +02:00
Christopher Fenner
dba20d496c
Merge branch 'master' into pr/stepReturnVoid
2018-10-17 11:50:58 +02:00
Marcus Holl
0831a244d3
switch to factory methods when a config is also provided.
2018-10-17 11:39:26 +02:00
Marcus Holl
f47d540aa3
Introduce dedicated factory method for configuration helper
2018-10-17 11:15:37 +02:00
Florian Wilhelm
7f7afdad1a
Implement workaround for incompatible change in cloud foundry API ( #343 )
2018-10-17 11:01:09 +02:00
Oliver Nocon
b83222726a
enhance commonPipelineEnvironment with additional information ( #344 )
...
* enhance commonPipelineEnvironment with additional information
add additional git information to `commonPipelineEnvironment`:
* https url
* git branch
* github organization
* github repository
* rename github-related variables
* rename github-related variables
2018-10-17 09:54:04 +02:00
Marcus Holl
85f5a7e8ae
Adjust docu for checkChangeInDevelopment
2018-10-16 15:44:41 +02:00
Oliver Nocon
8bea9b40aa
add telemetry to healthExecuteCheck
2018-10-15 14:18:47 +02:00
Oliver Nocon
17e8390511
add step healthExecuteCheck ( #339 )
...
This step allows to perform a basic health check on an installed application.
It verifies that your app has a simple health endpoint available and that there is no error when calling it.
2018-10-12 16:06:41 +02:00
Marcus Holl
378f34da76
Fix return value for transport request create
...
since now handlePipelineStepError does not return anything anymore we need to put the
corresponding return statement inside createTransportRequest outside the handlinePipelineStepError
closure.
2018-10-11 10:18:39 +02:00
Marcus Holl
0c8f45544c
Remove return value (boolean) from checkChangeInDevelopment
2018-10-11 10:18:39 +02:00
Christopher Fenner
8071071e9d
set return type
2018-10-11 09:10:26 +02:00
Christopher Fenner
01365295cb
remove step return types
2018-10-11 09:10:26 +02:00
Marcus Holl
479b1d483a
Merge remote-tracking branch 'github/master' into HEAD
2018-10-11 08:36:18 +02:00
Marcus Holl
27ecf37424
Merge remote-tracking branch 'github/master' into HEAD
2018-10-11 08:26:58 +02:00
Marcus Holl
11a7b24ce8
STEP_NAME test
...
Asserts that each step (modulo whitelist) comes with a STEP_NAME
field.
2018-10-11 08:24:33 +02:00
Christopher Fenner
3d2bc3f892
add missing parameter ( #164 )
2018-10-10 12:05:41 +02:00
Marcus Holl
203be37f75
Merge remote-tracking branch 'github/master' into HEAD
2018-10-09 16:57:26 +02:00
Marcus Holl
b6a205f9aa
Merge remote-tracking branch 'github/master' into HEAD
2018-10-09 15:31:43 +02:00
Christopher Fenner
e0aa95645b
remove unnecessary import
2018-10-09 15:25:46 +02:00
Christopher Fenner
bab4772704
remove unnecessary imports
2018-10-09 15:25:46 +02:00
Christopher Fenner
475b977f17
remove unnecessary import
2018-10-09 15:25:46 +02:00
Christopher Fenner
0bc21ed7e2
remove unnecessary import
2018-10-09 15:25:46 +02:00
Christopher Fenner
e068c52f6c
remove unnecessary import
2018-10-09 15:25:46 +02:00
Christopher Fenner
d6f47e802a
executeDockerOnKubernetes: support workspace/container stashing for sidecar case ( #330 )
...
* simplify parameter handover
* extract default contaner name and map
* condense pod execution methods
* simplify closure handling
* fix map issue
* simplify
* stash only if needed
* fix test case
2018-10-08 11:54:13 +02:00
Christopher Fenner
34b675a030
handle test repositories ( #324 )
...
* handle test repositories
* use GitUtils
* add test case
* fix test cases
* return stash name
* handle seleniumExecuteTests step
* Revert "handle seleniumExecuteTests step"
This reverts commit 2b33d274fe
.
* handle seleniumExecuteTests step
* add import of GitUtils
2018-10-08 11:30:42 +02:00
Oliver Nocon
aeb814fc2b
Merge branch 'master' into pr/noExplictGetterAnDSettersInCommonPipelineEnvironment
2018-10-08 09:45:14 +02:00
Oliver Nocon
130fe6a941
Merge branch 'master' into pr/swaPushOldConfigUsed
2018-10-08 09:42:33 +02:00
Christopher Fenner
f10a8c6246
dockerExecuteOnKubernetes: fix stash overriding ( #329 )
...
* dockerExecuteOnKubernetes: fix stash overriding
* update comment
2018-10-05 10:51:01 +02:00
Oliver Nocon
7a961ef38e
seleniumExecuteTests - add step to run Selenium tests ( #318 )
...
It comes with an extension to executeDocker and executeDockerOnKubernetes to run sidecar containers.
This helps to execute Selenium tests using two Docker images:
1. Execution runtime for tests (e.g. node image)
2. Selenium instance which holds Selenium server + browser
* add documentation & some name cleanup
* include PR feedback
* add step documentation to structure
2018-10-04 17:06:42 +02:00
Marcus Holl
afc17707d8
Notify about old config (properties) used
2018-10-02 10:56:13 +02:00
Marcus Holl
799810a987
Accept utils instance from outside (for testing)
2018-10-02 10:56:04 +02:00
Marcus Holl
54ecc7d755
condence common code for getting change document id
2018-09-28 15:54:20 +02:00
Marcus Holl
058c6c0d9a
Condence common code for cm scenario
2018-09-28 15:38:29 +02:00
Marcus Holl
2d779233cc
Swich for switching off cm integration
2018-09-28 14:16:19 +02:00
Marcus Holl
01b03f0df3
[refactoring] Reduce number of sh calls
2018-09-27 16:18:46 +02:00
Marcus Holl
18d2753208
Remove explict getters and setters from common pipeline environment
...
We get getters and setters generated automatically.
2018-09-27 15:46:06 +02:00
Marcus Holl
56d150932f
release transport CTS support
2018-09-25 12:34:52 +02:00
Marcus Holl
4d7274ee45
Introduce backend type for releasing transports
2018-09-25 10:50:05 +02:00
Marcus Holl
ddbb09fa66
transport request create CTS
2018-09-25 09:27:11 +02:00
Marcus Holl
f34308ffe0
upload file to transport for CTS use case
2018-09-24 15:08:01 +02:00
Marcus Holl
341cb97c25
Revert "Remove explict getters and setters from common pipeline environment"
...
This reverts commit d22af0f9d4
.
2018-09-21 09:24:47 +02:00
Marcus Holl
141210beb2
Expose backendType for uploading files into transports
2018-09-18 15:56:35 +02:00
Marcus Holl
cfd25198b0
transportRequestUploadFile step
2018-09-18 14:49:06 +02:00
Marcus Holl
d22af0f9d4
Remove explict getters and setters from common pipeline environment
...
We get getters and setters generated automatically.
2018-09-17 16:51:13 +02:00
Marcus Holl
85376d951f
remove inside work tree check
...
since this is implicitly checked by isWorkTreeDirty.
2018-09-13 14:34:26 +02:00
Marcus Holl
23c838d6f1
[refactoring] artifact set version: check for clean worktree
2018-09-07 12:38:14 +02:00
Marcus Holl
8db2aaf5f0
don't use load step defaults as implicit factory method.
2018-09-07 10:08:16 +02:00
Marcus Holl
5f66113c37
no script in method signatures.
2018-09-06 16:45:30 +02:00
Marcus Holl
2b95be12aa
Ensure proper initialization of ConfigurationHelper
...
Up to now we had two constructors, one with a Script and the other one with a map holding some defaults.
In case the constructor with the map was called the step name was uninitialized
2018-09-06 16:21:38 +02:00
Christopher Fenner
7b49858233
Merge branch 'master' into pr/artifactSetVersionStreamlineGitHandling
2018-09-05 11:46:11 +02:00
Christopher Fenner
e65ec98144
correct indent
2018-09-05 11:44:40 +02:00
Marcus Holl
12d8f48c38
Do only what is really needed inside the body of sshAgent
...
- there is no need to do the git commit inside the body of sshAgent
- there is no need to do the git tag inside the body of sshAgent
- side catch: availablility of git user name and git user email is
checked at its own. If one is missing the other may be present
~somehow~ in the configuration.
2018-09-04 17:04:07 +02:00
Florian Wilhelm
50ac5b0ac9
Execute MTA builder in Docker
2018-09-04 11:32:54 +02:00
Marcus Holl
138a41f02a
Merge remote-tracking branch 'github/master' into work
2018-09-04 10:42:36 +02:00
Marcus Holl
26ecbe5013
Provide option for registering file for read yaml.
...
We can now registering files to JenkinsReadYamlRule by
providing the file name alongside with the expected content
(or e.g. an expception)
With that change it is possible to remove pwd statements
from mtaBuild. These statements was used in order to pass
a temporary directory inside the mtaBuild (code under test).
This is not needed anymore since we can register the files
directly.
Having pwd implies working with absolute pathes which is
also a no-go when working with docker, since the absolute
pathes inside and outside docker are normally not the same.
For pathes relative to a build root directory it is rather
easy to keep the pathes consistent the same.
Adjust sources according to registering yaml file to jenkins rule.
For mtaBuild this means also: get ride of absolute pathes for denoting the yaml file.
Having absolute pathes makes it difficult/impossible to work also with dockerized versions
of mtaBuild since the absolute pathes are most probably not the same inside and outside
the docker container, but the relatives pathes can be kept the same easily.
2018-09-03 15:43:15 +02:00
Christopher Fenner
55ee41a23c
Merge branch 'master' into pr/alignMixinOrder
2018-08-30 11:04:16 +02:00
Christopher Fenner
704c5a1a17
neoDeploy: add web analytics ( #269 )
...
* add web analytics
* Update neoDeploy.groovy
* Update neoDeploy.groovy
2018-08-30 11:03:34 +02:00
Marcus Holl
b7e19da716
align step stage mixin order among pipeline steps
2018-08-29 10:31:01 +02:00
Marcus Holl
21b8980153
Merge remote-tracking branch 'github/master' into HEAD
2018-08-23 14:04:50 +02:00
Ramachandra Kamath Arbettu
c84114c3df
Enable support for executing on K8S as a step ( #231 )
...
* Create executeDockerOnKubernetes.groovy
* Update dockerExecute.groovy
* Create SysEnvTest.groovy
* Update default_pipeline_environment.yml
* Update executeDockerOnKubernetes.groovy
* Create utils object
* update docker image
* Update mavenExecute.groovy
* Use pipeline-lib than piper
* Check container name
* Always change ownership to 1000
* Check for map
* Fix command
* Move chmod to docker execute
* Use generic name for the pod
* runAsPod has been added
* Return false if script has no k8smapping
* fix syntax error
* Null checks
* Returnn dockerImage name
* Check method body
* Return container name
* Cleanup echos
* Use runAsPod
* Rename step
* Use official jenkins JNLP agent image
* Construct containersMap
* Check if kubernetes plugin is active
* Support JaaS
* pass script object
* Move configuration to default section
* Use generic flag to check if running in k8s
* fix jnlp agent name
* Solve travis errors
* Improvements to config and changes to name of the method
* Improvements to config
* Fix type
* Rename stash config
* add import
* Fix map order
* Fix jnlp agent name
* cleanup config usage
* Check if config is enabled
* Use nested k8s mapping
* Support custom docker workspace and move flag to env
* Feature/k8s stage (#1 )
* Use nested k8s mapping
* Support custom docker workspace and move flag to env
* Check dockerOptions value
* Support local execution
* Add tests for dockerExecute
* Move config to step and Fix tests
* Use step configuration while running as a pod
* Streamline parameter and config initialization
* Streamline parameter and tests
* Cleanup and align variable name
* Use default JNLP agent if one not defined in config
* Add tests for runInsidePod. Ensure lowercase container names.
* Improve tests and remove unused code block
* Fix permission issues
* Perform stashing and unstashing inside container
* Use custom jnlp agent due to user id restriction
* Fix tests after jnlp agent change
* Address review comments
* Initialize script to default value if null
* Address review comments
* Update exeception handling and documentation
* Improve documentation
* correct indent
* Link documents to the index page
* Merge containerExecute and dockerExecuteOnKuberenetes step and address comments.
* Update dockerExecute.md
* Update dockerExecuteOnKubernetes.md
* Update default_pipeline_environment.yml
* update documentation
* Update documentation. Use annotation for singleton
* Update DockerExecuteOnKubernetesTest.groovy
* Update dockerExecute.groovy
* Update dockerExecuteOnKubernetes.groovy
* Improve documentation and test case names
* neoDeploy: switch to chained ConfigurationHelper (#244 )
* switch neoDeploy to chained ConfigurationHelper
* update imports
* Improve tests
* Address review comments
* Improve documentation
* made dockerImage non-mandatory parm, improved test
* add comment regarding userid assumption
2018-08-21 15:45:59 +02:00
Marcus Holl
044e940dec
No need for manipulating origin url
...
the gitSshUrl can be provided directly to the push call. This avoids footprint on the build
servers git repository.
2018-08-21 13:39:48 +02:00
Marcus Holl
6c6f106f26
Avoid several sh calls for consecutive git calls.
2018-08-21 13:39:48 +02:00
Marcus Holl
0cb16d43ce
artifactSetVersion: use gitUtils#insideWorkTree
...
rather than checking for existing .git folder. An existing .git folder is a necessarry, but not a sufficient
condition here.
Adapting the test is not necessary. The gitUtil itself is not mocked, but the underlying sh calls are
already mocked accordingly.
2018-08-21 08:23:05 +02:00
Marcus Holl
3a72d16185
neoDeploy with archvive from CPE
2018-08-17 15:46:46 +02:00
Ramachandra Kamath Arbettu
2716054392
Make gitSshUrl non-mandatory ( #246 )
...
* Update artifactSetVersion.groovy
* Update artifactSetVersion.groovy
* Update artifactSetVersion.groovy
* fix build
* Avoid updating configuration map outside configuration helper
2018-08-16 09:43:32 +02:00
Christopher Fenner
6007f54074
use new config handler in steps ( #253 )
...
* use new config handler
* use new config handler
* add reporting
* Update checksPublishResults.groovy
* remove unused ConfigurationMerger methods
* fix typo
* revert changes on script loading
* remove outdated test case
* Add missing import
2018-08-15 11:53:28 +02:00
Oliver Nocon
17ee927807
batsExecuteTests - add step for executing bats-core ( #254 )
...
details are available in the documentation contained in this PR
2018-08-15 11:41:01 +02:00
Christopher Fenner
12637119b9
swtich stage/step config loading to correct order ( #250 )
2018-08-15 10:37:34 +02:00
Christopher Fenner
8e40a4cf62
Merge branch 'master' into pr/trUploadFileApplicationIdFromConfiguration
2018-08-15 09:59:25 +02:00
Marcus Holl
45f4952c71
Read applicationId also from configuration
2018-08-15 09:48:59 +02:00
Oliver Nocon
be1d97cb5a
cloudFoundryDeploy - update stshing behavior
...
adapt stashing behavior according to #230
2018-08-15 09:46:08 +02:00
Christopher Fenner
5a742a310f
neoDeploy: switch to chained ConfigurationHelper ( #244 )
...
* switch neoDeploy to chained ConfigurationHelper
* update imports
2018-08-15 09:26:38 +02:00
Christopher Fenner
c538e896f3
Merge branch 'master' into CCFenner/newman
2018-08-09 14:25:22 +02:00
Oliver Nocon
71f7f05427
add telemetry reporting to steps ( #243 )
...
add telemetry to all steps using ConfigurationHelper.
Other steps need to be switched to ConfigurationHelper first.
update docs
2018-08-09 11:35:33 +02:00
Thorsten Willenbacher
9dfc7fcd01
refactor withCredentials to ChangeManagement util class
...
fix tests to match refactoring
2018-08-09 11:03:30 +02:00
Christopher Fenner
059268459a
Merge branch 'master' into CCFenner/newman
2018-08-09 10:34:00 +02:00
Oliver Nocon
65b582dc9d
artifactSetVersion - add new artifact types & cleanup ( #242 )
...
* artifactSetVersion - add new artifact types & cleanup
added:
* dlang
* golang
* npm
* pip
* scala
* add documentation update
2018-08-08 22:21:26 +02:00
Christopher Fenner
d083ef6e39
Update newmanExecute.groovy
2018-08-08 14:23:29 +02:00
Christopher Fenner
240df88882
add stashing & private test repositories
2018-08-08 11:22:08 +02:00
Oliver Nocon
cd4a9f226e
Add collection of library telemetry data ( #239 )
...
* add telemetry collection
* add telemetry reporting for first steps
* fix documentation formatting
2018-08-06 08:57:36 +02:00
Marcus Holl
fc9bc9257a
Merge branch 'master' into pr/nestedConfigUploadFile
2018-08-03 08:56:50 +02:00
Marcus Holl
3d78affc3b
Merge branch 'master' into pr/transportRequestUploadFilewithMtarFileFromCPE
2018-08-03 08:49:05 +02:00
Marcus Holl
0bac7ac27e
Take mtarFilePath in commonPipelineEnviroment into account
...
This allows the steps to interact without using return values (which is not possible in
declarative pipelines). On the other hand we have depencencies between the steps based
on the status of the commonPipelineEnvironment.
2018-07-31 16:55:15 +02:00
Marcus Holl
f2e0e81802
Merge branch 'master' into fix/rolebackNeoDeployChange
2018-07-31 16:41:36 +02:00
Marcus Holl
fb431ff27e
[fix] provided nested config for retrieving transport request id in upload file
2018-07-31 10:25:32 +02:00
Oliver Nocon
745b6d471d
fix issue with resource naming conflict ( #234 )
2018-07-30 12:06:35 +02:00
Oliver Nocon
d844b23b90
add cloudFoundryDeploy step ( #173 )
...
* add cloudFoundryDeploy step
* added cf-cli docker image
* support existing parameters
* support check script with flexible STATUS_CODE
* add mandatory parameters
* fix compatibility handling
* address PR feedback
* fix access to smokeTest script
* make credentialsId mandatory to avoid NPE
2018-07-30 09:28:24 +02:00
Marcus Holl
d49a9ad68c
Revert "remove the tool descriptor from neo deploy"
...
This reverts commit c3c7d8b142
.
2018-07-27 14:09:08 +02:00
Florian Wilhelm
0a86c8534d
Improve check for batch mode in mavenExecute ( #226 )
...
The old naive check fails if an argument starts with '-B'. Now we use a
regular expression, which should correctly match if batch mode was
already supplied, and add it if not.
2018-07-26 16:03:05 +02:00
rodibrin
9e547cd605
Merge branch 'master' into pr/neoimage
2018-07-26 10:04:20 +02:00
Roland Stengel
c3c7d8b142
remove the tool descriptor from neo deploy
2018-07-25 15:23:56 +02:00
Marcus Holl
f16d5c766b
Merge remote-tracking branch 'github/master' into HEAD
2018-07-25 12:26:20 +02:00
Marcus Holl
2a851abdfd
Merge remote-tracking branch 'github/master' into HEAD
2018-07-23 09:41:02 +02:00
Marcus Holl
43a9dcbcfd
Do not fail immediatly in case commit history does not contain a changeDocumentId
...
we emit a log message and fail later at withManadotoryProperty check.
2018-07-19 10:26:34 +02:00
Marcus Holl
1e0fa0799e
[fix] Remove early check for mandatory param 'changeDocumentId'
...
otherwise we will never try to read the change document id from commit history.
2018-07-19 10:09:24 +02:00
Marcus Holl
3effe404b0
Merge remote-tracking branch 'github/master' into HEAD
2018-07-19 08:54:57 +02:00
Marcus Holl
f2bf406dee
Merge remote-tracking branch 'github/master' into HEAD
2018-07-18 12:42:54 +02:00
Marcus Holl
9d9c17d937
Merge remote-tracking branch 'github/master' into HEAD
2018-07-18 12:23:34 +02:00
Marcus Holl
3e3af733f2
Merge remote-tracking branch 'github/master' into pr/fixExceptionMessage
2018-07-18 11:45:48 +02:00
Roland Stengel
4851ba94bf
drop NEO version verification - remove neo version check
2018-07-18 09:46:11 +02:00
Marcus Holl
9b4d55d0d9
switch to nested configuration for change management related steps
2018-07-17 16:41:42 +02:00
Marcus Holl
4b2ee0d4ad
[fix] Excpetion message contains config key instead of value.
2018-07-17 10:08:47 +02:00
Marcus Holl
83e757475a
Merge remote-tracking branch 'github/master' into HEAD
2018-07-16 12:09:49 +02:00
Marcus Holl
b72cb656d5
Merge remote-tracking branch 'github/master' into HEAD
2018-07-16 11:15:22 +02:00
Marcus Holl
7482b58dc2
UploadFileToTransport: Read transportRequestId from commit history
2018-07-16 10:28:59 +02:00
Marcus Holl
63b0fd6f67
Merge remote-tracking branch 'github/master' into HEAD
2018-07-13 10:30:29 +02:00
Marcus Holl
b53e1ea539
Merge remote-tracking branch 'github/master' into HEAD
2018-07-13 08:55:15 +02:00
Christopher Fenner
153536f5d3
create collectionDisplayName inside of the step
2018-07-12 23:31:15 +02:00
Marcus Holl
3e01caf909
Merge remote-tracking branch 'github/master' into HEAD
2018-07-12 16:26:52 +02:00
Marcus Holl
b73df0f682
ReleaseTransportRequest: Read transportRequestId from commit history
2018-07-12 16:00:27 +02:00
Marcus Holl
1a32ac46d8
Prepare transportRequestRelease for layered tests
2018-07-12 16:00:26 +02:00
Marcus Holl
c9572d187b
Merge remote-tracking branch 'github/master' into HEAD
2018-07-12 13:23:00 +02:00
Marcus Holl
52052cc99d
Merge pull request #196 from marcusholl/transportRequestCreateChangeDocumentIdFromCommitHistory
...
transportRequestCreate: retrieve changeDocumentId from commit history
2018-07-12 13:14:34 +02:00
Marcus Holl
2310bb4bd5
Do not repeat the same parameter names for different configuration layers
...
changeId is removed from the step parameters since the changeId
is specific to the build. Hence there is no reason for providing
it from the deeper configuration layers.
2018-07-12 12:13:36 +02:00
Marcus Holl
3cb8912456
Merge pull request #180 from marcusholl/pr/supportCmClientOptsUploadFileToTransport
...
Support CM clientOpts for uploadFileToTransport
2018-07-12 10:16:07 +02:00
Marcus Holl
52bb1e842d
Validate required parameters via config helper
...
- In case a parameter is missing we do not thrown and AbortException
anmore, but an IllegalArgumentExcpetion, since that exception is
thrown by the configuration helper. The difference is: AbortExceptions
are contained in the log without stacktrace, other exceptions are
printed with stack trace.
- Exception messages are changed to the standard error message triggered
inside the configuration helper. In case the changeDocumentId is
retrieved also from the commit history we keep an exception message
pointing to that.
- Having references to the parameters is droped. Instead the parameters
are directly used from the configuration map.
- in case of long signatures line breaks are inserted in order to
simplify reading the code.
2018-07-12 09:34:06 +02:00
Marcus Holl
c978d02532
Make use of decent helper function of configuration helper
2018-07-11 11:55:19 +02:00
Marcus Holl
3ddac5633d
Introduce dedicated variable for script
2018-07-11 11:55:19 +02:00
Marcus Holl
a4f62e6f6e
Merge pull request #182 from marcusholl/pr/supportCmClientOptsForReleaseTransport
...
Support cmClientOpts for releasing a transport
2018-07-11 11:50:34 +02:00
Marcus Holl
cada0e7882
transportRequestCreate: retrieve changeDocumentId from commit history
2018-07-10 16:41:43 +02:00
Marcus Holl
a7ea15ac58
transportRequestUploadFile: retrieveChangeDocumentId from commit history
2018-07-10 16:40:26 +02:00
Marcus Holl
4a9c0695ca
transportRequestRelease: get changeDocumentId from commit history
2018-07-10 16:34:42 +02:00
Marcus Holl
5e09e2fb88
No forwarding of config map in to ChangeManagement class.
2018-07-10 12:30:31 +02:00
Marcus Holl
bb2ed27c10
Switch from gitLabel to gitChangeDocumentLabel
...
since we will have two labels in future. One for scanning changeDocumentIds and
another one for scanning transportRequestIds
2018-07-10 11:15:09 +02:00
Marcus Holl
71ca78e0a9
Switch from git_xxx to gitXxx like properties
2018-07-10 11:14:43 +02:00
Marcus Holl
6d78a9c6a3
Support cmClientOpts for releasing a transport
2018-07-09 16:02:08 +02:00
Marcus Holl
74b6ac0c8e
Support cmclient_opts in transportRequestCreate
2018-07-09 15:41:13 +02:00
Marcus Holl
d8d2249862
Support cmclientOpts for uploadFileToTransport
2018-07-09 09:40:07 +02:00
Marcus Holl
44cee0475d
Merge pull request #176 from marcusholl/pr/decoupleTests
...
Pr/decouple tests
2018-07-06 13:09:44 +02:00
Marcus Holl
cf09b45025
Merge pull request #161 from marcusholl/marcusholl/pr/landscapeConfigLayer
...
Provide configuration layer for custom configuration
2018-07-06 12:47:52 +02:00
Christopher Fenner
d2e023f512
Update newmanExecute.groovy
2018-07-04 15:01:12 +02:00
Christopher Fenner
af753d3c54
build new config on the fly
2018-07-04 11:12:32 +02:00
Christopher Fenner
0d5e49e9d4
fix echo
2018-07-03 17:01:22 +02:00
Christopher Fenner
2f0dce1a5e
Update prepareDefaultValues.groovy
2018-07-03 17:01:22 +02:00
Marcus Holl
22b6dd63f6
Merge custom defaults with library defaults.
2018-07-03 17:01:22 +02:00
Marcus Holl
c29fb02dd9
wip
2018-07-03 17:01:22 +02:00
Christopher Fenner
7ce0c85fe9
only merge lists
2018-07-03 17:01:22 +02:00
Christopher Fenner
3ebe599f52
merge custom default configuration
2018-07-03 17:01:22 +02:00
Marcus Holl
bb811afa41
Provide configuration layer for custom configuration
2018-07-03 17:01:22 +02:00
Christopher Fenner
637eb84396
add new step for Postman test execution
2018-07-03 14:16:17 +02:00
Marcus Holl
d270a2d232
Decouple tests: transport request upload file
2018-06-29 10:53:47 +02:00
Marcus Holl
5a73af4c02
Decouple tests: transport request create
2018-06-29 10:15:20 +02:00
Alejandra Ferreiro Vidal
cc9332ae79
Merge pull request #175 from alejandraferreirovidal/changeParameters
...
change credentialsId and endpoint
2018-06-29 10:12:58 +02:00
Marcus Holl
3766bf4794
Merge pull request #166 from marcusholl/cm
...
isChangeInDevelopment
2018-06-29 08:25:15 +02:00
Alejandra Ferreiro Vidal
ab8a1bb837
change credentialsId and endpoint
2018-06-28 16:24:14 +02:00
Marcus Holl
7eba5b6915
Provide method for retrieving changeDocumentId from config or via git commits.
2018-06-28 15:37:13 +02:00
Marcus Holl
6d943d2005
Support CMCLIENT_OPTS
...
needed e.g. for providing a trust store.
2018-06-28 15:37:13 +02:00
Marcus Holl
2465fcb3dd
introduce step isChangeInDevelopment
2018-06-28 15:37:11 +02:00
Marcus Holl
d8dca885bb
Change parameter name 'changeId' to 'changeDocumentId'
...
the official term in SAP-SolutionManager is 'change document'.
The term 'change' as reflected in 'changeId' is ambigous and could also be understand in the
sense of a change in a revision control system.
Choosing appropriate terms for parameters here deceases the amount of documentation
required for explaining what is really denoted by the parameter.
2018-06-28 13:46:00 +02:00
Marcus Holl
95520331e1
Merge pull request #168 from SAP/CCFenner/snykExecute
...
add step for snyk open source vulnerability scan
2018-06-27 10:11:34 +02:00
Christopher Fenner
7058661f9f
remove obsolete parameter
2018-06-27 10:02:02 +02:00
Christopher Fenner
dbcf87ffcc
rename exclude parameter
2018-06-26 16:08:03 +02:00
Christopher Fenner
6bcf17c70a
add snyk html report
2018-06-26 16:05:43 +02:00
Christopher Fenner
b44ebf99d1
add snyk html report
2018-06-26 16:00:26 +02:00
Christopher Fenner
957ca11d7b
add snyk html report
2018-06-26 15:47:46 +02:00
Christopher Fenner
f9d4fbda53
correct step name
2018-06-26 15:34:32 +02:00
Christopher Fenner
426f23b232
add step tests
2018-06-26 15:08:46 +02:00
Christopher Fenner
a448698427
fix method name
2018-06-26 13:18:21 +02:00
Christopher Fenner
89d6e13d00
fix method name
2018-06-26 13:17:12 +02:00
Alejandra Ferreiro Vidal
4464c9427b
add step transportRequestRelease
2018-06-26 10:40:08 +02:00
Alejandra Ferreiro Vidal
12652be421
add step transportRequestUploadFile
2018-06-26 10:40:07 +02:00
Alejandra Ferreiro Vidal
e34f99deac
add step transportRequestCreate
2018-06-26 10:40:06 +02:00
Christopher Fenner
394aaa6577
fix typo
2018-06-25 14:53:59 +02:00
Christopher Fenner
3f4069ade6
add step for Snyk scan execution
2018-06-25 13:14:46 +02:00
Marcus Holl
06370ee6c2
Merge pull request #137 from marcusholl/pr/streamlineNeoDeployCommandConcat
...
Pr/streamline neo deploy command concat
2018-06-11 10:28:54 +02:00
Daniel Kurzynski
322a437763
Revert "Merge branch 'master' of https://github.com/SAP/jenkins-library "
...
This reverts commit 65220efb4e
, reversing
changes made to cf17510641
.
2018-06-08 11:55:38 +02:00
Ramachandra Kamath Arbettu
d78dc454fb
Support K8S execution
2018-06-07 13:58:32 +02:00
Ramachandra Kamath Arbettu
ed57a8f18a
Merge branch 'feature/k8s' of https://github.com/SAP/jenkins-library
2018-06-07 13:18:16 +02:00
Ramachandra Kamath Arbettu
646a51556a
Merge branch 'master' of https://github.com/SAP/jenkins-library
2018-06-07 13:18:08 +02:00
Ramachandra Kamath Arbettu
e3787f4450
Update dockerExecute.groovy
2018-06-07 13:04:53 +02:00
Ramachandra Kamath Arbettu
e612cd1fa2
Update dockerExecute.groovy
2018-06-07 12:08:28 +02:00
Ramachandra Kamath Arbettu
259cc9bfeb
Update dockerExecute.groovy
2018-06-07 12:07:16 +02:00
Florian Wilhelm
6dc13801b0
Disable download logs in Maven by default ( #159 )
...
Disable download logs in Maven by default
This commit adds a flag to Maven by default, which disables the messages
like "Downloading from central".
The logger is set to level "warn", so errors will still be visible, but
successful messages won't clutter logs anymore.
This option is also set by default in the GitLab CI template file for
maven.
See [1] for reference on the option.
1: https://stackoverflow.com/a/35653426/8843830
2018-06-06 14:42:47 +02:00
Oliver Nocon
96cc75d72a
pipelineStashFiles - cleanup & documentation
...
This contains some cleanups to the code
plus documentation for the step
2018-06-01 12:33:06 +02:00
Ramachandra Kamath Arbettu
5dcab59d68
Merge branches 'feature/k8s' and 'master' of https://github.com/SAP/jenkins-library
2018-06-01 09:18:51 +02:00
Ramachandra Kamath Arbettu
9b2ec38412
Update dockerExecute.groovy
2018-05-31 15:57:41 +02:00
Ramachandra Kamath Arbettu
d30bfa3dd9
Update dockerExecute.groovy
2018-05-31 15:49:23 +02:00
Oliver Nocon
550968d406
remove obsolete coding
2018-05-30 13:03:25 +02:00
Oliver Nocon
9d0e7eaf4e
add steps for file stashing
2018-05-30 12:00:13 +02:00
Marcus Holl
097b9a4455
Better speaking variable name
2018-05-28 13:40:33 +02:00
Marcus Holl
b092957f7d
put source parameter into common parameters
2018-05-28 13:40:33 +02:00
Marcus Holl
cb9318814c
Condence more common code
2018-05-28 13:38:34 +02:00
Marcus Holl
7c83311715
reduce redundant parts when contatenating neo deploy script.
2018-05-28 13:38:34 +02:00
Marcus Holl
2a4b3b88aa
use variable 'warAction' also for mta deployments.
2018-05-28 13:38:34 +02:00
Alejandra Ferreiro Vidal
8b374bcfb6
Merge pull request #142 from alejandraferreirovidal/addMultipleVersionsVerification
...
Add multiple versions verification
2018-05-24 17:06:17 +02:00
Alejandra Ferreiro Vidal
51b2241b2f
Merge pull request #100 from SAP/removeFetchUrl
...
remove fetchUrl Step
2018-05-24 14:39:18 +02:00
Alejandra Ferreiro Vidal
ea889934bd
add multiple versions verification for neoDeploy
2018-05-24 14:12:14 +02:00
Ramachandra Kamath Arbettu
793e0991c7
POC K8S
2018-05-15 14:47:59 +02:00
Ramachandra Kamath Arbettu
3b17287b8e
POC K8S
2018-05-15 09:08:09 +02:00
Ramachandra Kamath Arbettu
fab4dd2d44
POC K8S
2018-05-15 09:02:05 +02:00
Ramachandra Kamath Arbettu
9fdbf8631c
POC K8S
2018-05-15 08:59:07 +02:00
Ramachandra Kamath Arbettu
dca6693d62
POC K8S
2018-05-14 17:11:27 +02:00
Ramachandra Kamath Arbettu
0d1ec28b9e
POC K8S
2018-05-14 17:09:22 +02:00
Ramachandra Kamath Arbettu
0f1ca24b27
POC K8S
2018-05-14 16:53:13 +02:00
Alejandra Ferreiro Vidal
e7b84345ae
add file name and extension to mtaJarLocation
...
Adds the file name and extension to the mtaJarLocation to make the SAP
Multitarget Archive Builder jar file configurable.
2018-04-26 16:17:54 +02:00
Marcus Holl
651a11f5d9
Merge pull request #136 from marcusholl/pr/useGroovyInIncreaseReadability
...
Pr/use groovy in increase readability
2018-04-24 09:48:11 +02:00
Daniel Kurzynski
3d5a97ab71
Annotate docker plugin check as non cps ( #134 )
2018-04-20 12:59:17 +02:00
Marcus Holl
62fee7a63c
[refactoring] increase readability: warAction
2018-04-20 12:25:15 +02:00
Marcus Holl
73abb0ee99
[refactoring] increase readability: vmSize
2018-04-20 12:24:37 +02:00
Marcus Holl
39d23d29fd
[refactoring] increase readability: deployMode
2018-04-20 12:23:26 +02:00
Alejandra Ferreiro Vidal
c04bc79976
add extension to mtaBuild
2018-04-17 17:35:10 +02:00
Alejandra Ferreiro Vidal
89b84caeb6
bugfix mtaJar includes java call
2018-04-12 15:34:58 +02:00
Alejandra Ferreiro Vidal
64b45a13c4
review
2018-04-12 14:25:28 +02:00
Alejandra Ferreiro Vidal
60d1b007a8
add JavaArchiveDescriptor
2018-04-10 10:26:45 +02:00
Alejandra Ferreiro Vidal
f29734c6da
validate JAVA if it is in PATH
2018-04-10 10:20:43 +02:00
Alejandra Ferreiro Vidal
66c60b4f26
validate NEO if it is in the PATH or current dir
2018-04-10 10:20:42 +02:00
Alejandra Ferreiro Vidal
74ee6128b7
validate MTA if it is located in current dir
2018-04-10 10:20:42 +02:00
Alejandra Ferreiro Vidal
6f1e2cd205
add verifyTool to mtaBuild and neoDeploy
2018-04-10 10:20:37 +02:00
Alejandra Ferreiro Vidal
f6834c9a42
change file utils to bash
2018-04-10 10:05:26 +02:00
Alejandra Ferreiro Vidal
a1a6467495
remove outdated code from step toolValidate
2018-04-10 10:05:25 +02:00
Daniel Kurzynski
b29de61f3c
Fix referencing script in setVersion ( #128 )
...
In order to use the configuration the script needs to be forwarded to
* Fix reference to script in tests and steps
2018-04-05 11:36:51 +02:00
Christopher Fenner
f2c0ecbc8c
Update testsPublishResults.groovy
2018-04-05 09:27:32 +02:00
Christopher Fenner
b08d26f5fd
Merge pull request #4 from SAP/master
...
get changes from master
2018-04-05 09:06:09 +02:00
Daniel Kurzynski
fe4707faeb
Improve Docker options configuration and forward from mavenExecute ( #123 )
2018-03-29 14:13:11 +02:00
Ramachandra Kamath Arbettu
aa681dd166
Fix the syntax error in artifactSetVersion step ( #127 )
...
* Update artifactSetVersion.groovy
* Fix tests for artifactSetVersion
2018-03-28 21:38:30 +02:00
Marcus Holl
c8fdbcf263
Merge pull request #124 from IKirilova/master
...
generate mta.yml from package.json and given applicationName
2018-03-23 10:28:45 +01:00
Irina Kirilova
a65d5d75e9
remove trailing spaces
2018-03-23 10:19:49 +01:00
Irina Kirilova
f70ae7f986
rework after code review
2018-03-21 13:07:26 +01:00
Irina Kirilova
29da70fd72
generate mta from package.json and given applicationName
2018-03-15 14:21:27 +01:00
Christopher Fenner
e65d217428
use commonPipelineEnvironment instead of script
2018-03-14 12:29:21 +01:00
Christopher Fenner
da67c2741d
correct import
2018-03-12 22:23:10 +01:00
Christopher Fenner
c56f7f4b59
use ConfigLoader
2018-03-12 22:19:45 +01:00
Alejandra Ferreiro Vidal
36788e2b45
remove null value from merge
2018-03-08 17:16:20 +01:00
Marcus Holl
9529954acd
Disable tool validation inside neoDeploy and mtaBuild
...
We know about two issues:
1.) groovy based file systems checks seems to be executed on Jenkins
master even if there is a node which is dispatched to a slave.
2.) Environment variable contained in the value of a provided
variable are not expanded. Example: In case we describe neoHome like
"$JENKINS_HOME/tools/neo" we do not expand $JENKINS_HOME. Hence the
file exists check for file '$JENKINS_HOME/tools/neo' fails.
2018-03-08 11:23:56 +01:00
Marcus Holl
840f93208c
Merge tag 'mtaMerge2' into HEAD
2018-03-06 17:24:58 +01:00
Marcus Holl
86ab0e04c3
Merge remote-tracking branch 'mholl/pr/javaHomeValidationInsideNeoDeploy' into HEAD
2018-03-06 17:24:31 +01:00
Marcus Holl
690e59f4d2
erge remote-tracking branch 'mholl/pr/javaHomeValidationInsideMtaBuild' into HEAD
2018-03-06 17:16:21 +01:00
Marcus Holl
b59b7123e2
Add comment in case mta toolset is used from current working dir
2018-03-06 16:53:14 +01:00
Willenbacher
93a2f028cd
replaced mta.jar with DEFAULT_MTA_JAR_NAME
2018-03-06 16:53:14 +01:00
Marcus Holl
d4c4f864fc
Provide variable for default mta jar file name.
2018-03-06 16:53:14 +01:00
Marcus Holl
3cafd0b6d5
Validating mta jar inside mtaBuild
2018-03-06 16:53:14 +01:00
Marcus Holl
b8760201c7
Emit log message in case tool validation is skipped.
2018-03-06 16:44:11 +01:00
Marcus Holl
d93b865f8d
java home validation inside mtabuild
2018-03-06 16:44:11 +01:00
Marcus Holl
c6f4ce4b68
Introduce variable for default neo cmd
2018-03-06 16:12:57 +01:00
Marcus Holl
23e6e87b75
Validation of neo toolset inside neoDeploy
2018-03-06 16:12:53 +01:00
Marcus Holl
1c45b043e5
java home validation inside neoDeploy
2018-03-06 15:37:52 +01:00
Florian Wilhelm
ff46bb0f00
Make commit of new version optional in artifactSetVersion
step ( #112 )
...
* Make commit of new version optional in `artifactSetVersion` step
You might not want to add a new commit for each version, when versions
are automatically created. This commit makes this feature optional, but
enabled by default to maintain API compatibility.
* Set `gitCommitId` if null
* Improve documentation of `commitVersion` parameter
* Allow to operate in a code checkout without `.git` directory
2018-03-05 09:04:53 +01:00
Florian Wilhelm
f18f11fafe
Use UTC time zone for artifact version time stamp ( #111 )
...
By using UTC, we avoid potential issues when development happens in
different time zones. Also, daylight saving time does not exist in UTC.
2018-03-02 16:35:35 +01:00
Marcus Holl
efafd9a44a
[refactoring] resolve data inside merge ( #101 )
2018-02-28 11:42:19 +01:00
Marcus Holl
1137fd0928
Remove empty string as default for neo credentials id
...
We have a default value configured at the level of the shipped defaults.
grep neoCredentialsId resources/default_pipeline_environment.yml
2018-02-20 12:40:58 +01:00
Alejandra Ferreiro Vidal
e7bf3b1b0f
mtaJarLocation as step configuration
2018-02-20 12:02:33 +01:00
Marcus Holl
5fe76eb9dc
Replace usage of lists for denoting keys by sets.
...
The characteristics of a list are
o the order of the entries is significant
o duplicates are allowed
The characteristics of a set are
o the order is not significant
o duplicates are not allowed.
When describing keys for a step the characteristics of a
set applies here, whereas the characteristics of a list does
not apply.
2018-02-19 12:53:08 +01:00
Christopher Fenner
26bbee5fb4
use perfReport step
2018-02-19 10:26:50 +01:00
Christopher Fenner
69df5dc5e5
use perfReport step
2018-02-19 10:11:12 +01:00
Christopher Fenner
98b5590d53
Merge branch 'master' into publishTestResults
2018-02-16 10:32:24 +01:00
Christopher Fenner
be5b5ec9fa
Merge pull request #58 from CCFenner/publishCheckResults
...
add new step checkResultsPublish
2018-02-16 10:30:59 +01:00
Christopher Fenner
78321e35f1
defile static tool list
2018-02-16 10:08:48 +01:00
Willenbacher
9663b33203
remove fetchUrl Step
2018-02-15 16:06:47 +01:00
Alejandra Ferreiro Vidal
df9a3b3c14
improve log
2018-02-12 10:03:35 +01:00
Alejandra Ferreiro Vidal
9210583bd5
remove unused checks
2018-02-12 10:03:35 +01:00
Christopher Fenner
60691dde5b
Merge branch 'master' into publishCheckResults
2018-02-12 08:37:15 +01:00
Christopher Fenner
7b894c02ea
rework step to fit to new config merger
2018-02-08 16:10:02 +01:00
Christopher Fenner
b443ac0e41
Merge branch 'master' into publishTestResults5
2018-02-08 14:14:07 +01:00
Alejandra Ferreiro Vidal
9dafdd1cc0
mtaBuild with new config framework
2018-02-08 13:26:48 +01:00
Christopher Fenner
d97769b56c
cleanup
2018-02-08 10:53:48 +01:00
Christopher Fenner
a4b8d3828c
rename method
2018-02-08 10:52:10 +01:00
Christopher Fenner
c48d0a7416
simplify parameter preparation
2018-02-08 10:51:39 +01:00
Christopher Fenner
c6300f4570
correct handling of parameter maps
2018-02-08 10:50:11 +01:00
Christopher Fenner
4abbff8b70
remove null options for parsers
2018-02-08 10:43:24 +01:00
Christopher Fenner
8adf79bfe1
use MapUtils
2018-02-08 10:28:42 +01:00
Christopher Fenner
f278bbbd14
use empty defaults
2018-02-08 10:28:42 +01:00
Christopher Fenner
54d5196f1a
use flat list for parameter filtering
2018-02-08 10:28:42 +01:00
Christopher Fenner
be41b71b84
Merge branch 'master' into publishCheckResults
2018-02-08 08:53:04 +01:00
Oliver Nocon
fbd03a88da
Step for automatic versioning ( #65 )
...
It contains:
* versioning step artifactSetVersion
* versioning implementation for Maven & Docker
* enhancements to commonPipelineEnvironment
* extended default configuration
* new utils object for git-related tasks
* automated tests incl. new Rules and resources
* incorporated PR feedback
* step documentation
2018-02-07 13:17:33 +01:00
Christopher Fenner
87de7417ca
add further tests
2018-02-05 13:48:39 +01:00
Christopher Fenner
64046b6de2
rename step to checksPublishResults
2018-02-02 14:50:26 +01:00
Christopher Fenner
577871468b
remove debug logs
2018-02-02 12:58:10 +01:00
Christopher Fenner
b538189e3e
remove testResultsPublish
2018-02-02 12:43:03 +01:00
Christopher Fenner
99ccf0a516
rename step
2018-02-02 12:25:28 +01:00
Christopher Fenner
6a593744ab
remove unused method
2018-02-02 12:20:57 +01:00
Marcus Holl
87f899a731
Merge remote-tracking branch 'github/master' into HEAD
2018-02-02 09:34:27 +01:00
Christopher Fenner
72251eb07e
remove unused imports
2018-02-02 09:33:38 +01:00
Christopher Fenner
f3d0a70786
use config framework
2018-02-02 09:04:01 +01:00
Christopher Fenner
c5188ef1cd
use configuration framework
2018-02-01 12:57:25 +01:00
Christopher Fenner
5df94aee3a
correct parameter name to fit purpose
2018-02-01 08:22:12 +01:00
Christopher Fenner
22103fadca
add step name to echo
2018-01-31 16:56:18 +01:00
Christopher Fenner
ccd7819465
add performance reporting
2018-01-30 21:19:55 +01:00
Christopher Fenner
a6a55e31e3
add new step testResultPublish
2018-01-30 20:40:04 +01:00
Marcus Holl
e3590c8603
[fix] ensure backward compatitility for credentials id
2018-01-30 17:09:17 +01:00
Christopher Fenner
9d4a9304db
add further test cases
2018-01-30 15:26:54 +01:00
Christopher Fenner
8710495e17
add @NonCPS annotations
2018-01-30 13:15:49 +01:00
Christopher Fenner
790f2b7ea3
remove body parameter from step
2018-01-30 13:15:08 +01:00
Christopher Fenner
00b44315ec
remove deprecated testMode parameter
2018-01-30 13:14:37 +01:00
Christopher Fenner
55166f3cac
fix issue with pattern
2018-01-30 13:14:05 +01:00
Christopher Fenner
573ded75dc
correct step file name
2018-01-30 11:17:01 +01:00
Christopher Fenner
2d2cc3a893
Merge branch 'master' into publishCheckResults3
2018-01-30 11:15:26 +01:00
Christopher Fenner
dad65ba5ff
change name of class parameter
2018-01-30 10:06:35 +01:00
Christopher Fenner
a0bc00870d
correct eslint default pattern
2018-01-29 16:47:40 +01:00
Christopher Fenner
5f6ba2f4b6
add step javadoc, correct step name
2018-01-29 16:47:22 +01:00
Christopher Fenner
795eece19a
add new step checkResultsPublish
2018-01-29 16:29:00 +01:00
Marcus Holl
f52cbbe36a
Fix wrong backward compatibility handling for deployHost, deployAccount.
2018-01-29 15:11:02 +01:00
Marcus Holl
678b55e771
null docker image in case of missing docker daemon.
2018-01-25 16:41:27 +01:00
Marcus Holl
147d29a714
Check for running docker daemon with docker ps.
2018-01-25 16:41:27 +01:00
Marcus Holl
9a96acff57
change default for neo toolset from neo to neo.sh
...
The bash script is named 'neo.sh', not 'neo'. 'neo' as default will not work
despite somebody takes extra action to make it work.
2018-01-25 16:41:27 +01:00
Marcus Holl
bc2fb93551
Use dockerExecute inside neoDeploy
2018-01-25 16:41:27 +01:00
Marcus Holl
1ff46861e0
Introduce new config framework into neoDeploy
2018-01-25 16:41:26 +01:00
Marcus Holl
e267622309
[refactor/streamline ]Use CPE is case the script is not available
2018-01-25 09:07:06 +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 Nocon
749aa5e7ed
InfluxDB support ( #52 )
...
* adding step for writing metrics to InfluxDB including dependencies
* added documentation
* incorporated PR feedback
2018-01-24 09:55:38 +01:00
Milko Todorov
48fb7c76e3
Bug when checking for valid warAction
2018-01-17 13:48:26 +01:00
Milko Todorov
62b0cae3ac
Changing IllegalArgumentException to general Exception
...
Requested by Oliver Nocon
2018-01-17 11:19:02 +01:00
Milko Todorov
98a0c5b548
Converting parameters names to lower-case
...
Requested by Oliver Nocon
2018-01-17 11:17:24 +01:00
Milko Todorov
dd4f9a1b1d
Exception in case of illegal arguments + tests
2018-01-16 10:54:17 +01:00
Milko Todorov
d3d35cc140
Unit tests for the new deployMode in NeoDeploy
2018-01-12 15:56:29 +01:00
Milko Todorov
ced5307eb5
Adjusting UnitTests
2018-01-10 17:40:07 +01:00
Milko Todorov
ac27605e7a
Check for invalid deployment mode && Refactoring
2018-01-10 15:01:41 +01:00
Milko Todorov
33daaa2c9c
Add support for WAR file deployment/rolling-update
2017-12-28 13:10:11 +01:00
Marcus Holl
4987382cd5
Avoid having the step name redundant
2017-12-27 10:10:18 +01:00
Marcus Holl
66a65d3907
Make docker more resilent wrt to environment
...
We check
1.) if docker-workflow plugin is installed
2.) if docker itself is installed on the system hosting Jenkins
If one of the conditions is not fullfilled we try to execute
locally.
2017-12-14 14:53:27 +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
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
Daniel Kurzynski
22ee06dc17
Enable configuration via yaml file + mavenExecute as example ( #18 )
...
* Enable configuration via yaml file
* Add documentation
* Add tests
2017-12-06 12:03:06 +01:00
Marcus Holl
1245528cfa
Merge pull request #22 from marcusholl/pr/fixQuotationInsideNeoDeploy
...
fix quotation inside neo deploy
2017-12-04 12:12:08 +01:00
Alejandra Ferreiro Vidal
c8c0352058
Merge pull request #24 from alejandraferreirovidal/docuIssue
...
add further information to library step
2017-12-04 11:08:14 +01:00
Marcus Holl
02d9ed6239
Merge remote-tracking branch 'github/master' into HEAD
2017-12-04 11:05:42 +01:00