Alejandra Ferreiro Vidal
9dafdd1cc0
mtaBuild with new config framework
2018-02-08 13:26:48 +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
Marcus Holl
e3590c8603
[fix] ensure backward compatitility for credentials id
2018-01-30 17:09:17 +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
Alejandra Ferreiro Vidal
8cc797d53c
add further information
2017-12-04 10:53:16 +01:00
Marcus Holl
36837ad3b8
Prevent pointing to pipelineExecute in case of an failure inside foreign pipeline
...
In case there is an error in another pipeline step inside a foreign pipeline we got
nevertheless an error explaining there is an issue inside the pipeline load step.
2017-12-04 10:51:42 +01:00
Marcus Holl
88ac3ae43e
Rename externalPipelineExecute to pipelineExecute
2017-12-04 10:51:42 +01:00
Marcus Holl
bbe799fd19
Rename centralPipelineLoad step to externalPipelineExecute
2017-12-04 10:51:42 +01:00
Marcus Holl
67630d829b
change naming of parameter holding the path to the pipeline script.
2017-12-04 10:51:42 +01:00
Marcus Holl
13139da01e
Use a dedicated node() instead of a temporary directory.
2017-12-04 10:51:42 +01:00
Oliver Feldmann
5d5a82929c
centralPipelineLoad step
...
A more convenient way to checkout the project sources. The idea is to
have a Jenkinsfile in the payload repository that only loads the shared
library and then runs this step. This step in turn loads a Jenkinsfile
from another repository.
The repo url, branch, Jenkinsfile path and credentials ID can be
provided to the step. The Jenkinsfile is first checked out to a
temporary folder, before it is loaded.
The payload repo must include a Jenkinsfile to be loaded with this
approach.
2017-12-04 10:51:42 +01:00
Marcus Holl
d3efa3edb7
[fix] missing quotes in neoDeploy shell exectution
...
Without proper quotation characters with a special semantics
on shell level (e.g. "${}", "!", """ gets escaped on shell level
before handed over to the neo tool.
neoExecutable is surrounded by double quotes since we may have
shell ${variables} inside the groovy variable.
All other variables (user, host, account, password) are surrounded
by single quotes since we do not expect to be variables used here.
The neoExecutable is
2017-12-01 09:51:54 +01:00
kbarnold
26e093f3e4
Merge pull request #1 from marcusholl/pr/handleSpaceWithNeoDeploy
...
[fix] neo deploy fails with blanks in path of the deployable.
2017-11-13 13:26:57 +01:00
Marcus Holl
9d61638eb4
[fix] sed'ing timestamp during mta build fails with blanks in file path.
2017-11-13 11:22:55 +01:00
Marcus Holl
083cb1bcde
[fix] neo deploy fails with blanks in path of the deployable.
2017-11-13 10:51:26 +01:00
Oliver Nocon
47c195805f
Initial version of piper-lib.
2017-11-10 16:30:52 +01:00