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
Marcus Holl
4ca3236ba4
general default section mixed in automatically.
2018-05-30 10:53:21 +02:00
Alejandra Ferreiro Vidal
53e5c0fe6b
add multiple versions verification tests
2018-05-24 14:12:14 +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
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
Daniel Kurzynski
e8fb41aab6
Add configuration support for postActions ( #135 )
2018-05-07 10:50:21 +02:00
Alejandra Ferreiro Vidal
9892bff907
compatibility code for new feature
2018-05-04 11:52:51 +02:00
Alejandra Ferreiro Vidal
407b71441c
improve log
2018-04-26 18:02:17 +02:00
Alejandra Ferreiro Vidal
3bf3b49880
improve message and add test
2018-04-26 17:29:26 +02:00
Alejandra Ferreiro Vidal
e7b84345ae
add file name and extension to mtaJarLocation
...
Adds the file name and extension to the mtaJarLocation to make the SAP
Multitarget Archive Builder jar file configurable.
2018-04-26 16:17:54 +02:00
Alejandra Ferreiro Vidal
a8a9281093
Merge pull request #138 from alejandraferreirovidal/addToolDescriptorTest
...
add ToolDescriptorTest
2018-04-25 17:45:55 +02:00
Alejandra Ferreiro Vidal
ce8f66bd12
add ToolDescriptorTest
2018-04-24 15:05:17 +02:00
Marcus Holl
afcb8f2c3f
Merge pull request #133 from marcusholl/pr/fixPackageDeclaration
...
Fix wrong package declaration
2018-04-24 09:57:04 +02:00
Marcus Holl
651a11f5d9
Merge pull request #136 from marcusholl/pr/useGroovyInIncreaseReadability
...
Pr/use groovy in increase readability
2018-04-24 09:48:11 +02:00
Daniel Kurzynski
540e8c36db
Fix merging if default values do not exist ( #130 )
2018-04-23 13:41:22 +02:00
Marcus Holl
62fee7a63c
[refactoring] increase readability: warAction
2018-04-20 12:25:15 +02:00
Marcus Holl
73abb0ee99
[refactoring] increase readability: vmSize
2018-04-20 12:24:37 +02:00
Marcus Holl
39d23d29fd
[refactoring] increase readability: deployMode
2018-04-20 12:23:26 +02:00
Marcus Holl
3e64f4a130
Fix wrong package declaration
2018-04-20 10:59:32 +02:00
Alejandra Ferreiro Vidal
c04bc79976
add extension to mtaBuild
2018-04-17 17:35:10 +02:00
Alejandra Ferreiro Vidal
64b45a13c4
review
2018-04-12 14:25:28 +02:00
Alejandra Ferreiro Vidal
2eafecf38d
check tool on PATH
2018-04-10 10:26:55 +02:00
Alejandra Ferreiro Vidal
60d1b007a8
add JavaArchiveDescriptor
2018-04-10 10:26:45 +02:00
Alejandra Ferreiro Vidal
f29734c6da
validate JAVA if it is in PATH
2018-04-10 10:20:43 +02:00
Alejandra Ferreiro Vidal
66c60b4f26
validate NEO if it is in the PATH or current dir
2018-04-10 10:20:42 +02:00
Alejandra Ferreiro Vidal
74ee6128b7
validate MTA if it is located in current dir
2018-04-10 10:20:42 +02:00
Alejandra Ferreiro Vidal
6f1e2cd205
add verifyTool to mtaBuild and neoDeploy
2018-04-10 10:20:37 +02:00
Alejandra Ferreiro Vidal
f6834c9a42
change file utils to bash
2018-04-10 10:05:26 +02:00
Alejandra Ferreiro Vidal
a1a6467495
remove outdated code from step toolValidate
2018-04-10 10:05:25 +02:00
Alejandra Ferreiro Vidal
dafd48504e
refactor toolValidate step to tool utils
2018-04-10 10:05:12 +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
Christopher Fenner
b08d26f5fd
Merge pull request #4 from SAP/master
...
get changes from master
2018-04-05 09:06:09 +02:00
Daniel Kurzynski
fe4707faeb
Improve Docker options configuration and forward from mavenExecute ( #123 )
2018-03-29 14:13:11 +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
Marcus Holl
c8fdbcf263
Merge pull request #124 from IKirilova/master
...
generate mta.yml from package.json and given applicationName
2018-03-23 10:28:45 +01:00
Irina Kirilova
f70ae7f986
rework after code review
2018-03-21 13:07:26 +01:00
Irina Kirilova
29da70fd72
generate mta from package.json and given applicationName
2018-03-15 14:21:27 +01:00
Christopher Fenner
2bd7ffb529
fix tests
2018-03-14 15:58:16 +01:00
Christopher Fenner
3524f3cade
fix tests
2018-03-14 15:55:56 +01:00
Christopher Fenner
3ca1b6ac12
fix tests
2018-03-14 15:53:22 +01:00
Christopher Fenner
84ee9f2e39
fix test case
2018-03-14 15:45:49 +01:00
Christopher Fenner
cb9b8e6360
add tests
2018-03-14 15:44:04 +01:00
Marcus Holl
9529954acd
Disable tool validation inside neoDeploy and mtaBuild
...
We know about two issues:
1.) groovy based file systems checks seems to be executed on Jenkins
master even if there is a node which is dispatched to a slave.
2.) Environment variable contained in the value of a provided
variable are not expanded. Example: In case we describe neoHome like
"$JENKINS_HOME/tools/neo" we do not expand $JENKINS_HOME. Hence the
file exists check for file '$JENKINS_HOME/tools/neo' fails.
2018-03-08 11:23:56 +01:00
Marcus Holl
840f93208c
Merge tag 'mtaMerge2' into HEAD
2018-03-06 17:24:58 +01:00
Marcus Holl
86ab0e04c3
Merge remote-tracking branch 'mholl/pr/javaHomeValidationInsideNeoDeploy' into HEAD
2018-03-06 17:24:31 +01:00
Marcus Holl
690e59f4d2
erge remote-tracking branch 'mholl/pr/javaHomeValidationInsideMtaBuild' into HEAD
2018-03-06 17:16:21 +01:00
Marcus Holl
3cafd0b6d5
Validating mta jar inside mtaBuild
2018-03-06 16:53:14 +01:00