Oliver Nocon
9d2621505b
kubernetesDeploy - fix & updates ( #1926 )
...
* kubernetesDeploy - updates
* add debugging output
* fix type checking
* remove debugging output
* fix secret info
* fix tests
* Update vars/commonPipelineEnvironment.groovy
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
* Update vars/commonPipelineEnvironment.groovy
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-08-14 17:16:25 +02:00
Daniel Kurzynski
26e817ca29
Make stage locking more flexible ( #1811 )
2020-07-17 14:27:21 +02:00
Daniel Mieg
90571754bf
Add test cases for stepmeta.go ( #1801 )
...
* Add tests
* Remove obsolete comment
2020-07-16 11:09:49 +02:00
Daniel Mieg
5dbb7be6b6
Fix commonPipelineEnvironment issue ( #1798 )
...
* Fix write to disk
* Change condition
* Test log output
* Fix
* Remove test log
2020-07-15 15:45:36 +02:00
Daniel Mieg
7f69f4eb16
Support lists in commonPipelineEnvironment ( #1797 )
...
* Enable write Lists
* Enable read
* Add tests
* Fix unit test
* CodeClimate Refactor
* Add comment
2020-07-15 10:09:42 +02:00
Alejandra Ferreiro Vidal
3d9606022f
add parallel execution to multicloudDeploy ( #670 )
...
* add parallelExecution to multicloudDeploy
adds parallel execution to the step multicloudDeploy
* add log
* fix warning
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
2020-06-24 10:56:36 +02:00
Daniel Kurzynski
1ee13b358b
Store build tool in commonPipelineEnvironment ( #1645 )
2020-06-09 14:52:03 +02:00
Maximilian Lenkeit
10e5bf98f8
artifactPrepareVersion: remember original artifact version ( #1600 )
...
* Update resources.go
* expose originalArtifactVersion parameter
* re-generate steps
* adjust golden files for generator changes
2020-05-28 10:05:22 +02:00
Stephan Aßmus
03096b5d05
Pass custom default-config files and custom project config from Jenkins side to piper ( #1333 )
2020-03-30 14:31:24 +02:00
Stephan Aßmus
20b65d5a2e
Implement nexusUpload command and tests ( #1255 )
...
Artifacts to upload are assembled for MTA projects and Maven projects with optional application sub-module. Then maven deploy:deploy-file is used as backend to upload bundles of artifacts plus sub-artifacts.
Co-authored-by: Florian Wilhelm <florian.wilhelm02@sap.com>
2020-03-20 18:20:52 +01:00
Kaj-Sören Mossdorf
5616ac2ab0
Parse values to json with groovy methods ( #1266 )
...
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-03-19 14:46:56 +01:00
Kaj-Sören Mossdorf
4aeb9517a6
Fix writeToDisk in case value is instance of List ( #1249 )
...
* Added documentation of stepParameters being a Groovy map, requiring at least the script reference
* Fix writeToDisk in case value is instance of List
* Fix writeToDisk in case value is instance of List
* Added comments
* Keep String as is, serialize everything else
* Fixed import
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com>
2020-03-11 08:18:27 +01:00
Oliver Nocon
152c4dc9d2
Pass container image via CPE ( #1113 )
...
* Pass container image via CPE
* Update generated step
* update map name to better represent content
2020-01-29 16:03:18 +01:00
Marcus Holl
7b95c04752
[refactor] CPE read/write from/to disk: remote repetitive coding ( #1110 )
...
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-01-28 13:22:37 +01:00
Oliver Nocon
a46b57e6b4
Persisted pipeline environment for golang library ( #1091 )
...
* Use commonPipelineEnvironment in go binary
* Update groovy part incl. tests
* Rework structure and naming
* Support influx resources in steps
* Update tests and some cleanups
* Add correct defer handling
* Address PR feedback
* Fix test
* Update resources.go
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com>
2020-01-15 12:16:25 +01:00
Marcus Holl
e6b00fa601
Provide support for additional customer config layers.
2019-12-17 17:00:16 +01:00
Marcus Holl
4bbfd78437
Revert "Back commonPipelineEnvironment step by shared class"
...
This reverts commit 149cd96dbf
.
2019-11-26 10:43:59 +01:00
Marcus Holl
149cd96dbf
Back commonPipelineEnvironment step by shared class
2019-09-27 13:54:58 +02:00
Marcus Holl
e418c15b6e
Revert "Back commonPipelineEnvironment step by shared class ( #821 )" ( #885 )
...
This reverts commit eb57c8df7b
.
2019-09-26 14:18:18 +02:00
Marcus Holl
eb57c8df7b
Back commonPipelineEnvironment step by shared class ( #821 )
...
* Back commonPipelineEnvironment step by shared class
Each pipeline step comes with its own instance of a commonPipelineEnvironment.
Properties stored on one instance was not shared with the other instances.
Now we strip down the commonPipelineEnvironment step and forward basically
everything to a shared singleton instance.
With that approach all instances of commonPipelineEnvironment shares the
same data and can now be really used for information exchange between the steps.
Before that change only the commonPipelineEnvironment instance associated with
the pipeline script itself could be used for that purpose.
* Remove unneeded commented line
2019-09-26 12:23:36 +02:00
Marcus Holl
e54f18e6bc
Introduce xsDeploy step ( #749 )
...
Introduce xs deploy
2019-09-11 13:42:38 +02:00
Sven Merk
07f73dab71
Compatibility to Piper PR support
2019-05-14 16:30:13 +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
e282c07dd4
remove config.properties file
2019-03-26 14:13:03 +01:00
Christopher Fenner
208e1a4241
influx: report build link to measurements 'step_data' and 'pipeline_data' ( #585 )
2019-03-21 20:23:23 +01:00
Oliver Nocon
74366631b5
Project "Piper" Template: framework and structure ( #476 )
...
* Project "Piper" Template: framework and structure
This is the first in a series of Pull-Requests to provide a fully functional Pipeline template into the library.
This PR contains:
* general Pipeline structure incl. tests
* Pipeline initialization incl. tests
* Hollow pipeline stages incl. tests
* first set of default values
* add gitUrls to commonPipelineEnvironment
* set correct git information on commonPipelineEnvironment
2019-02-05 15:37:59 +01:00
Oliver Nocon
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
f48c8a038e
Merge remote-tracking branch 'github/master' into HEAD
2018-11-08 15:58:26 +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
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
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
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
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
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
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
Oliver Nocon
9d0e7eaf4e
add steps for file stashing
2018-05-30 12:00:13 +02: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
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
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
Oliver Nocon
47c195805f
Initial version of piper-lib.
2017-11-10 16:30:52 +01:00