Details
-
Type:
Improvement
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: pipeline-maven-plugin
-
Labels:None
-
Similar Issues:
Description
Currently, when you use the ``withMaven`` step, you need to specify the Maven installation. Furthermore, if you've configured, using the Managed Files and Global Tools Configuration, a maven settings.xml, you need to specify an ugly ID for that.
For example:
withMaven(maven: 'Maven 3.3', mavenSettingsConfig: 'ecbd05c9-e03e-4ccb-9aa1-242f9f1a423c')
It would be good if these could both be defaulted - at least, the mavenSettingsConfig, which doesn't have to be specified with the freestyle Maven Builder.
Attachments
Issue Links
- is blocked by
-
JENKINS-40665 Maven SettingsProvider and GlobalSettingsProvider should support Pipeline jobs
-
- Resolved
-
Activity
Field | Original Value | New Value |
---|---|---|
Attachment | maven-global-settings.png [ 35034 ] |
Attachment | maven-global-settings.png [ 35035 ] |
Link |
This issue is blocked by |
Assignee | Alvaro Lobato [ alobato ] | Cyrille Le Clerc [ cleclerc ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10005 ] | Resolved [ 5 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
This has been debated, some people preferred "stock" by default, others preferred "jenkins global maven config by default".
We had in mind to add a global configuration parameter in "manage jenkins" to define the default behavior".