1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/test/resources/versioning
Marcus Holl 26ecbe5013 Provide option for registering file for read yaml.
We can now registering files to JenkinsReadYamlRule by
providing the file name alongside with the expected content
(or e.g. an expception)

With that change it is possible to remove pwd statements
from mtaBuild. These statements was used in order to pass
a temporary directory inside the mtaBuild (code under test).
This is not needed anymore since we can register the files
directly.

Having pwd implies working with absolute pathes which is
also a no-go when working with docker, since the absolute
pathes inside and outside docker are normally not the same.

For pathes relative to a build root directory it is rather
easy to keep the pathes consistent the same.

Adjust sources according to registering yaml file to jenkins rule.

For mtaBuild this means also: get ride of absolute pathes for denoting the yaml file.
Having absolute pathes makes it difficult/impossible to work also with dockerized versions
of mtaBuild since the absolute pathes are most probably not the same inside and outside
the docker container, but the relatives pathes can be kept the same easily.
2018-09-03 15:43:15 +02:00
..
DlangArtifactVersioning artifactSetVersion - add new artifact types & cleanup (#242) 2018-08-08 22:21:26 +02:00
GolangArtifactVersioning artifactSetVersion - add new artifact types & cleanup (#242) 2018-08-08 22:21:26 +02:00
NpmArtifactVersioning artifactSetVersion - add new artifact types & cleanup (#242) 2018-08-08 22:21:26 +02:00
PipArtifactVersioning artifactSetVersion - add new artifact types & cleanup (#242) 2018-08-08 22:21:26 +02:00
SbtArtifactVersioning artifactSetVersion - add new artifact types & cleanup (#242) 2018-08-08 22:21:26 +02:00