Christopher Fenner
7845e18f4d
fix NonCPS issues ( #796 )
...
* remove NonCPS statement
* remove NonCPS anntotation
* fix typo
* remove NonCPS anntotation
* remove NonCPS anntotation
* remove NonCPS anntotation
* remove NonCPS anntotation
* remove NonCPS anntotation
* remove Iterable
* remove mixins
* add mixins
* add mixins 2
* add mixins 3
* add NonCPS anntotation
* remove tokenize
* remove closure
* remove closure
* replace closure
* use Object
* use Object
* use Object
* remove object
* remove object
* add logic
* change type
* change type
* remove NonCPS anntotation
* remove NonCPS anntotation
* add import
2019-07-29 10:17:56 +02:00
Oliver Nocon
0c3e5f1ea9
use new unstable step to better visualize pipeline errors ( #804 )
...
With https://jenkins.io/blog/2019/07/05/jenkins-pipeline-stage-result-visualization-improvements/ it has been made possible to allow for a better visualization in case certain pipeline stages are 'UNSTABLE'
This is about using the new feature if available with a fall-back to old behavior.
2019-07-26 17:40:22 +02:00
Oliver Nocon
153dbf2a7f
githubPublishRelease - ensure proper JSON encoding ( #807 )
...
So far some special characters have not been properly encoded when creating a release.
This is addressed by using a new JsonUtils method now.
2019-07-26 14:03:20 +02:00
Roland Stengel
db8f9d0f07
harmonize docker configuration properties
...
fixes
2019-07-25 12:12:34 +02:00
Roland Stengel
01ce797245
harmonize docker configuration properties
...
support the configuration of the docker arguments
dockerEnvVars
dockerOptions
dockerWorkspace
for all steps.
2019-07-25 11:57:21 +02:00
Sven Merk
b1b480a7e1
Merge branch 'master' into whitesourceExecuteScan
2019-07-19 14:28:26 +02:00
tobiaslendle
cb245b1ce2
TMS integration ( #782 )
2019-07-18 15:06:11 +02:00
Christopher Fenner
5bf7cda940
add new step piperPublishNotifications ( #652 )
...
* add new step for notification publication
* add test cases
* add helper method
* correct import
* Update pom.xml
* add step to post section
* add step piperPublishNotifications
* move step to end of pipeline to gather all findings
* use handlePipelineStepErrors step
* use commonPipelineEnvironment
* correct reporting
* add configuration
* fix typos
* fix rule setup
* remove test scope
* add method to fetch full build log
* add methods for warnings-ng parser creation
* remove warnings plugin coding
* add default parser settings
* change parameter handling for parser creation
* adapt step
* fix parser creation
* use ParserConfig.contains
* use correct parameter name
* correct parser regex
* change issue creation
* use classloader
* fix typo
* Revert "fix typo"
This reverts commit 446a201ae44ae0bf6bcfedd17e583183ceaabfaa.
* Revert "use classloader"
This reverts commit a89648703239f8cf3da465bfa570500608dc14f2.
* rename step to piperPublishWarnings
* extract recordIssuesSettings to defaults
* make addWarningsNGParser non-static
* remove node
* adjust test case
* add docs
* rename log file
* fix tests
* fix typos
* rename parameter
* add import for IOUtils
* check plugin activation
* add comment for class loader usage
2019-07-18 12:09:54 +02:00
Sven Merk
a5170bb878
Merge branch 'master' into whitesourceExecuteScan
2019-07-18 09:50:38 +02:00
Oliver Nocon
be33eccbec
Take proper jnlp image as default for Kubernetes execution ( #759 )
...
* Take proper jnlp image as default for Kubernetes execution
Following changes are contained:
* removal of custom jnlp image as default
* allow customization of jnlp image via system environment
fixes #757
* add documentation
2019-07-17 12:01:24 +02:00
Sven Merk
7fbf7ffdf1
Merge branch 'master' into whitesourceExecuteScan
2019-07-17 10:56:47 +02:00
Oliver Nocon
31b9874eff
githubPublishRelease - properly handle situation where no release exists yet ( #792 )
...
correct error handling to properly take care of non-existing initial release.
2019-07-16 20:31:46 +02:00
Marcus Holl
7b987ea2a2
Fix missing closing bracket in comment
2019-07-16 16:46:04 +02:00
Marcus Holl
68a4c550af
typo, whitespace fix
2019-07-16 16:41:21 +02:00
Marcus Holl
6d3c6aab32
gitSshUrl only mandatory for git push mode SSH
2019-07-16 16:30:47 +02:00
Marcus Holl
1861babdd1
docu: gitHttpsUrl mandatory only for gitPushMode https
2019-07-16 16:25:18 +02:00
Marcus Holl
30c632f29a
rename debug to verbose et al.
2019-07-16 16:01:43 +02:00
Marcus Holl
2f7fa6e4a4
Provide defaults
2019-07-16 15:45:08 +02:00
Marcus Holl
96758a8c75
Fix code climate issues
2019-07-16 15:36:52 +02:00
Marcus Holl
7084134bfc
cleanup
2019-07-16 15:20:27 +02:00
Marcus Holl
ae34803025
Ensure passwords are not leaked directly in debug mode when url encoding alters password
2019-07-16 14:08:39 +02:00
Marcus Holl
fa188c06b3
remove unset proxies
2019-07-16 11:43:24 +02:00
Marcus Holl
c24aab5640
more git debug output
2019-07-16 11:41:34 +02:00
Marcus Holl
bbaf8949df
fix disabling ssl verifiction check again
2019-07-16 11:35:10 +02:00
Marcus Holl
5e24102130
fix disabling ssl verifiction check
2019-07-16 11:34:01 +02:00
Marcus Holl
39129aeecb
troubleshoot proxy
2019-07-16 11:30:39 +02:00
Marcus Holl
7396b2f6ce
Fix typo
2019-07-16 11:28:02 +02:00
Marcus Holl
445e28a58b
Print proxy related environment variables
2019-07-16 11:26:49 +02:00
Marcus Holl
96af04a8ca
fix invalid quotation
2019-07-16 11:19:03 +02:00
Marcus Holl
2c9a3c2924
fix invalid comma
2019-07-16 11:18:08 +02:00
Marcus Holl
14a355def5
Make git more verbose in debug mode.
2019-07-16 11:11:59 +02:00
Marcus Holl
daf5d3340e
more tests
2019-07-12 17:01:33 +02:00
Marcus Holl
3f48243632
fix typo
2019-07-12 13:42:16 +02:00
Marcus Holl
8090219931
fix type
2019-07-12 13:42:16 +02:00
Marcus Holl
be929e6c10
Enable git push via https for artifactSetVersion
2019-07-12 13:42:16 +02:00
Marcus Holl
d2c3248428
Enable http(s) push for artifactSetVersion
2019-07-12 13:42:16 +02:00
Andre Pany
0e990446fc
whitesourceExecuteScan: Add scanType dub
2019-07-11 06:17:30 +02:00
Oliver Nocon
225cf2485b
Docker Pipeline - fixes and small adoptions ( #779 )
...
* buildExecute: Docker case - minor fixes
* properly care for empty `containerBuildOptions`
* verbose output wrt stashing
* add stage ordinals
* fix wrong script reference
* fix null reference
* adapt stage defaults and allow bats tests
* propagate github org and repo
* add test for bats
2019-07-05 16:32:24 +02:00
Sven Merk
3fa3b39ab6
Use GStringTemplateEngine instead of SimpleTemplateEngine
...
* avoid the use of SimpleTemplateEngine in areas that underly CPS transformation since it uses a non serializable java.io.StringWriter
2019-07-03 14:24:28 +02:00
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
Christopher Fenner
52ad001917
Update piperStageWrapper.groovy ( #767 )
2019-06-27 10:53:46 +02:00
Oliver Nocon
3e46254701
dockerExecuteOnKubernetes - hide sensitive information ( #733 )
...
* dockerExecuteOnKubernetes - hide yaml by default
* hide step parameters to not leak sensitive parameter values into the log
* add more details to log output
2019-06-26 08:38:47 +02:00
Marcus Holl
ea5a3ed5ce
Merge remote-tracking branch 'github/master' into HEAD
2019-06-25 08:49:30 +02:00
Christopher Fenner
93e1796455
karmaExecuteTests: fix multi module execution ( #765 )
...
* add test case for multi module execution
* fix multi module issue
2019-06-24 15:29:32 +02:00
andre2007
36c029b344
Add dubExecute step ( #754 )
...
* Add dubExecute step
* Fix test
2019-06-19 16:52:18 +02:00
Oliver Nocon
d66607c31a
dockerExecuteOnKubernetes - support nodeSelector ( #747 )
...
support nodeSelector to run on dedicated nodes inside the Kubernetes cluster if required.
2019-06-19 12:26:16 +02:00
Christopher Fenner
68c657b2c1
Update handlePipelineStepErrors.groovy ( #743 )
2019-06-17 12:23:36 +02:00
Thorsten Duda
ff684ea692
added comment to explain escaped variable
2019-06-13 15:33:18 +02:00