Holger Partsch
b1d8032ee2
alpine does not support date option --universal ( #578 )
...
* alpine does not support date option --universal
Replaced by --utc as this seems to be more universal than --universal
* Fix unit tests after date parameter change
2019-04-02 15:59:33 +02:00
Christopher Fenner
10267ce7d1
Analytics: add step parameter keys ( #442 )
...
* add stepParamKey values
* camelCase
2019-01-21 08:47:34 +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
Marcus Holl
e354da8a05
Merge remote-tracking branch 'github/master' into HEAD
2018-11-07 11:44:15 +01:00
Marcus Holl
3cb958b740
Merge remote-tracking branch 'github/master' into HEAD
2018-11-05 13:30:43 +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
75ae0e5f03
add field GENERAL_CONFIG_KEYS to artifactSetVersion step
2018-10-26 10:08:26 +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
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
Christopher Fenner
01365295cb
remove step return types
2018-10-11 09:10:26 +02:00
Marcus Holl
01b03f0df3
[refactoring] Reduce number of sh calls
2018-09-27 16:18:46 +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
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
Marcus Holl
21b8980153
Merge remote-tracking branch 'github/master' into HEAD
2018-08-23 14:04:50 +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
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
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
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
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
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
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
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
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
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
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