1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
Commit Graph

717 Commits

Author SHA1 Message Date
Oliver Nocon
cf17510641
Update pom.xml 2018-06-08 08:48:58 +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
rodibrin
a4935a1adc
Merge pull request #160 from SAP/speedUpTests
speed up tests
2018-06-06 11:27:22 +02:00
Oliver Nocon
f8e5733486 speed up tests
* use new base class for testing
* initialize jenkins unit test framework only once for all test classes
* minor test cleanups
2018-06-06 11:19:19 +02:00
Oliver Nocon
4ae3998458
Update pipelineStashFiles.md 2018-06-04 16:36:05 +02:00
Thorsten Duda
c392a9866e
Merge pull request #157 from SAP/stashFiles-doc
pipelineStashFiles - cleanup & documentation
2018-06-04 15:17:36 +02:00
Oliver Nocon
72461e2c7a fix typo in documentation 2018-06-04 14:50:40 +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
Thorsten Duda
6e6e26f809
Merge pull request #155 from SAP/stashFiles
add steps for file stashing
2018-05-30 14:19:14 +02:00
Oliver Nocon
550968d406 remove obsolete coding 2018-05-30 13:03:25 +02:00
Oliver Nocon
e276f58573 fix tests 2018-05-30 12:58:52 +02:00
Thorsten Duda
2e2b43d68b add missing file 2018-05-30 12:39:01 +02:00
Thorsten Duda
fed20184b4 fix maven execute test 2018-05-30 12:30:26 +02:00
Oliver Nocon
9d0e7eaf4e add steps for file stashing 2018-05-30 12:00:13 +02:00
Christopher Fenner
c53d87f75f
Merge pull request #154 from marcusholl/pr/configFrwkChanges
general default section mixed in automatically.
2018-05-30 11:05:52 +02:00
Marcus Holl
4ca3236ba4 general default section mixed in automatically. 2018-05-30 10:53:21 +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
Marcus Holl
8f1e3dfa8f Make neo command line tests more tolerant wrt to order of args 2018-05-28 13:34:19 +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
ebfeba75a0 review: add log 2018-05-24 14:21:41 +02:00
Alejandra Ferreiro Vidal
ea889934bd add multiple versions verification for neoDeploy 2018-05-24 14:12:14 +02:00
Alejandra Ferreiro Vidal
53e5c0fe6b add multiple versions verification tests 2018-05-24 14:12:14 +02:00
Alejandra Ferreiro Vidal
bc6ce8b3ba add multiple versions verification 2018-05-24 14:12:01 +02:00
Alejandra Ferreiro Vidal
3c59ac4454
Merge pull request #143 from alejandraferreirovidal/compatibilityCode
compatibility code for new feature
2018-05-24 14:03:23 +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
Marcus Holl
d7cfddd182 git utils: is inside working tree 2018-05-11 15:19:43 +02:00
Marcus Holl
e8ced708f6 fix: apply same script transformation when registering script and when quering
avoids trouble in case of multi line scripts.
2018-05-11 14:21:22 +02:00
Marcus Holl
0d2af05a9a
Merge pull request #147 from marcusholl/pr/useGitRevParseForInsideGitRepoCheck
Check if inside git repo via rev-parse --is-inside-work-tree
2018-05-11 11:10:29 +02:00
Marcus Holl
e61f16abfb Check if inside git repo via rev-parse --is-inside-work-tree
This approach works also in case we are in a subdirectory of the git repo,
e.g. in the closure of a dir statement.

The decission is delegate to git rather than using internal knowledge
about git file names. Well, the directory will be always named '.git',
but nevertheless ...

May endup in a false positive in case we did not clone a repo AND there
is another git repo somewhere upwards in the file system. Maybe some
other git repo is located upstairs containing e.g. the jenkins setup.
The advantage of working also for subdirectories outweights the disadvantage
for the false positive. It is not likely that we have to deal with another
git repo upstairs, since the pipeline script is expected to be located in
the payload git repo. A phantom repo upstairs looks like a pure academical
discussion.
2018-05-11 10:04:18 +02:00
Marcus Holl
6eefc251d1
Merge pull request #146 from marcusholl/pr/gitUtilsAvoidDuplicateShellCode
GitUtils: avoid duplicate shell code
2018-05-11 09:09:24 +02:00