[JIRA] (JENKINS-59567) Server Credentials created from Jenkins credentials don't show up in maven settings.xml
Title: Message Title Cyrille Le Clerc commented on JENKINS-59567 Re: Server Credentials created from Jenkins credentials don't show up in maven settings.xml Ack, i'm closing this ticket with "Can't reproduce" as several users have reported that this feature work for them. There me be an edge case or a glitch in the setup. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202202.1569618942000.1331.1571998260377%40Atlassian.JIRA.
[JIRA] (JENKINS-59567) Server Credentials created from Jenkins credentials don't show up in maven settings.xml
Title: Message Title Cyrille Le Clerc closed an issue as Cannot Reproduce Jenkins / JENKINS-59567 Server Credentials created from Jenkins credentials don't show up in maven settings.xml Change By: Cyrille Le Clerc Status: Open Closed Resolution: Cannot Reproduce Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202202.1569618942000.1333.1571998260408%40Atlassian.JIRA.
[JIRA] (JENKINS-59567) Server Credentials created from Jenkins credentials don't show up in maven settings.xml
Title: Message Title red der commented on JENKINS-59567 Re: Server Credentials created from Jenkins credentials don't show up in maven settings.xml this can be closed. I gave up and just used a secret file to store my entire config instead. I realized I dont really need this plugin Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202202.1569618942000.5100.1570724220137%40Atlassian.JIRA.
[JIRA] (JENKINS-59567) Server Credentials created from Jenkins credentials don't show up in maven settings.xml
Title: Message Title Cyrille Le Clerc assigned an issue to Cyrille Le Clerc Jenkins / JENKINS-59567 Server Credentials created from Jenkins credentials don't show up in maven settings.xml Change By: Cyrille Le Clerc Assignee: Dominik Bartholdi Cyrille Le Clerc Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202202.1569618942000.4501.1570701540222%40Atlassian.JIRA.
[JIRA] (JENKINS-59567) Server Credentials created from Jenkins credentials don't show up in maven settings.xml
Title: Message Title Cyrille Le Clerc edited a comment on JENKINS-59567 Re: Server Credentials created from Jenkins credentials don't show up in maven settings.xml Cross posting answer already made on [https://groups.google.com/forum/#!topic/jenkinsci-users/7P1Wd2W-OcA] Hello,This is one of the most broadly used feature of the pipeline-maven-plugin, I think it works for most user, there is probably a glitch somewhere.Can you please share your testing Jenkinsfile and the details reported by withMaven in the build logs?The troubleshooting pipeline script should look like{code}withMaven(...) { sh "mvn help:effective-settings"}{code}The build logs line that reports the credentials injected in the settings looks like{ code noformat }[withMaven] using Maven global settings.xml 'global-settings-for-pipeline-maven-plugin' with Maven servers credentials provided by Jenkins (replaceAll: false): [mavenServerId: 'github', jenkinsCredentials: 'github-credentials', username: 'cyrille-leclerc', type: 'UsernamePasswordCredentialsImpl'], [mavenServerId: 'nexus3.example.com', jenkinsCredentials: 'api-team-nexus-deployment-credentials', username: 'api-team', type: 'UsernamePasswordCredentialsImpl']{ code noformat } Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit
[JIRA] (JENKINS-59567) Server Credentials created from Jenkins credentials don't show up in maven settings.xml
Title: Message Title Cyrille Le Clerc edited a comment on JENKINS-59567 Re: Server Credentials created from Jenkins credentials don't show up in maven settings.xml Cross posting answer already made on [https://groups.google.com/forum/#!topic/jenkinsci-users/7P1Wd2W-OcA] Hello,This is one of the most broadly used feature of the pipeline-maven-plugin, I think it works for most user, there is probably a glitch somewhere.Can you please share your testing Jenkinsfile and the details reported by withMaven in the build logs?The troubleshooting pipeline script should look like{code}withMaven(...) { sh "mvn help:effective-settings"}{code}The build logs line that reports the credentials injected in the settings looks like{ noformat code }[withMaven] using Maven global settings.xml 'global-settings-for-pipeline-maven-plugin' with Maven servers credentials provided by Jenkins (replaceAll: false): [mavenServerId: 'github', jenkinsCredentials: 'github-credentials', username: 'cyrille-leclerc', type: 'UsernamePasswordCredentialsImpl'], [mavenServerId: 'nexus3.example.com', jenkinsCredentials: 'api-team-nexus-deployment-credentials', username: 'api-team', type: 'UsernamePasswordCredentialsImpl']{ noformat code } Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit
[JIRA] (JENKINS-59567) Server Credentials created from Jenkins credentials don't show up in maven settings.xml
Title: Message Title Cyrille Le Clerc commented on JENKINS-59567 Re: Server Credentials created from Jenkins credentials don't show up in maven settings.xml Cross posting answer already made on https://groups.google.com/forum/#!topic/jenkinsci-users/7P1Wd2W-OcA Hello, This is one of the most broadly used feature of the pipeline-maven-plugin, I think it works for most user, there is probably a glitch somewhere. Can you please share your testing Jenkinsfile and the details reported by withMaven in the build logs? The troubleshooting pipeline script should look like withMaven(...) { sh "mvn help:effective-settings" } The build logs line that reports the credentials injected in the settings looks like [withMaven] using Maven global settings.xml 'global-settings-for-pipeline-maven-plugin' with Maven servers credentials provided by Jenkins (replaceAll: false): [mavenServerId: 'github', jenkinsCredentials: 'github-credentials', username: 'cyrille-leclerc', type: 'UsernamePasswordCredentialsImpl'], [mavenServerId: 'nexus3.example.com', jenkinsCredentials: 'api-team-nexus-deployment-credentials', username: 'api-team', type: 'UsernamePasswordCredentialsImpl'] Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
[JIRA] (JENKINS-59567) Server Credentials created from Jenkins credentials don't show up in maven settings.xml
Title: Message Title red der updated an issue Jenkins / JENKINS-59567 Server Credentials created from Jenkins credentials don't show up in maven settings.xml I linked the wrong ticket to this. This is a different issue than the one described in the ticket I linked initially Change By: red der Summary: Server Credentials created from Jenkins credentials don't show up in maven settings.xml (regression) Looks like pretty much this same issue: https://issues.jenkins-ci.org/browse/JENKINS-29805 Also on SO: [https://stackoverflow.com/questions/58139761/pipeline-maven-plugin-not-replacing-servers-in-global-settings-xml-from-jenkin]hard coding "" in the config file works but configuring "Server Credentials" from jenkins credentials is not working. I tried with and without "Replace all" Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)