I am trying to complete a jenkins task that uses the Configuration Matrix to create several versions of my application using different maven profiles. My initial idea was to create a set of configurations under the guise of a profile such as:
XXX, YYY, ZZZ
XXX, YYY, AAA
then use the build command: Profile mvn -P $
To get all the different builds.
Unfortunately, this does not work, Jenkins is confused, apparently, with the help of commas in the matrix of configurations. I tried to see if URL encoding worked (this happened later, but the actual maven command failed because it included the encoded version with commas, which confused maven).
I understand that I can put a meaningless character that is allowed, and then in the script replace it with a comma, but this does not seem correct. There must be a better way. Any ideas?
Paul harris
source share