You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently using the Piper ready-made pipeline for building and deploying our Java application. Maven is our build tool.
We wanted to add a Maven profile to our build stage using the profiles parameter as suggested in the documentation. According to the docs, we added the profiles parameter to the mavenBuild step configuration in the .pipeline/config.yaml file as follows:
steps:
mavenBuild:
profiles: ['a-profile']
However, it seems that this profile is not being picked up. The mavenBuild command is executed without any flags:
I performed a superficial screening of the logic and could not see where the loaded config is applied to the command execution such that flags are set in general.
Could someone please help identify why the profile is not being picked up or guide me on the correct way to apply a Maven profile in this context?
Thank you!
The text was updated successfully, but these errors were encountered:
Hello there,
We are currently using the Piper ready-made pipeline for building and deploying our Java application. Maven is our build tool.
We wanted to add a Maven profile to our build stage using the profiles parameter as suggested in the documentation. According to the docs, we added the profiles parameter to the mavenBuild step configuration in the .pipeline/config.yaml file as follows:
However, it seems that this profile is not being picked up. The mavenBuild command is executed without any flags:
I performed a superficial screening of the logic and could not see where the loaded config is applied to the command execution such that flags are set in general.
Could someone please help identify why the profile is not being picked up or guide me on the correct way to apply a Maven profile in this context?
Thank you!
The text was updated successfully, but these errors were encountered: