-
Bug
-
Resolution: Duplicate
-
Blocker
-
OS: Ubuntu 14.04
Jenkins: 2.27 (installed & updated from official APT repo)
Maven Plugin: 2.14 & 2.13
-
Powered by SuggestiMate
Since:
I assume it lasts for at least 3 weeks.
Until a recent update (didn't receive the detail from our dev team about the bug right after the update so not sure to which it applies)
I also downgrade to 2.13 with no luck
When:
Both upon job creation and job modification
How to reproduce:
Create a Maven job and fill the fields "Root POM" and "Goals and Options" in Build with random (but valid ...) values
The matching values in the config.xml are not created
How to counterpass this:
Edit the config.xml file via SSH and restart Jenkins so it re-parse the file
- duplicates
-
JENKINS-39078 Config UI in job broken / unusable
-
- Closed
-
- is related to
-
JENKINS-39078 Config UI in job broken / unusable
-
- Closed
-
[JENKINS-39214] "Goals and Options" and "Root POM" not written to config.xml
I tracked the POST event in my browser console and as you can see on POM.png, the fields rootPOM and goals are with the default values whereas I filled up the fields with test values.
So this is somewhere in the UI
Here is the complete trace of the POST :
name=debug-goals&description=&stapler-class-bag=true&.nameTemplate=&.descriptionTemplate=&.mainModulePattern=&.dependenciesPattern=&.label=&quiet_period=5&scmCheckoutRetryCount=0&.displayNameOrNull=&stapler-class=hudson.scm.NullSCM&%24class=hudson.scm.NullSCM&stapler-class=hudson.plugins.git.GitSCM&%24class=hudson.plugins.git.GitSCM&.url=&.credentialsId=&.name=&.refspec=&.name=%2Fmaster&stapler-class=hudson.plugins.git.browser.AssemblaWeb&%24class=hudson.plugins.git.browser.AssemblaWeb&stapler-class=hudson.plugins.git.browser.FisheyeGitRepositoryBrowser&%24class=hudson.plugins.git.browser.FisheyeGitRepositoryBrowser&stapler-class=hudson.plugins.git.browser.KilnGit&%24class=hudson.plugins.git.browser.KilnGit&stapler-class=hudson.plugins.git.browser.TFS2013GitRepositoryBrowser&%24class=hudson.plugins.git.browser.TFS2013GitRepositoryBrowser&stapler-class=hudson.plugins.git.browser.BitbucketWeb&%24class=hudson.plugins.git.browser.BitbucketWeb&stapler-class=hudson.plugins.git.browser.CGit&%24class=hudson.plugins.git.browser.CGit&stapler-class=hudson.plugins.git.browser.GitBlitRepositoryBrowser&%24class=hudson.plugins.git.browser.GitBlitRepositoryBrowser&stapler-class=hudson.plugins.git.browser.GithubWeb&%24class=hudson.plugins.git.browser.GithubWeb&stapler-class=hudson.plugins.git.browser.Gitiles&%24class=hudson.plugins.git.browser.Gitiles&stapler-class=hudson.plugins.git.browser.GitLab&%24class=hudson.plugins.git.browser.GitLab&stapler-class=hudson.plugins.git.browser.GitList&%24class=hudson.plugins.git.browser.GitList&stapler-class=hudson.plugins.git.browser.GitoriousWeb&%24class=hudson.plugins.git.browser.GitoriousWeb&stapler-class=hudson.plugins.git.browser.GitWeb&%24class=hudson.plugins.git.browser.GitWeb&stapler-class=hudson.plugins.git.browser.GogsGit&%24class=hudson.plugins.git.browser.GogsGit&stapler-class=hudson.plugins.git.browser.Phabricator&%24class=hudson.plugins.git.browser.Phabricator&stapler-class=hudson.plugins.git.browser.RedmineWeb&%24class=hudson.plugins.git.browser.RedmineWeb&stapler-class=hudson.plugins.git.browser.RhodeCode&%24class=hudson.plugins.git.browser.RhodeCode&stapler-class=hudson.plugins.git.browser.Stash&%24class=hudson.plugins.git.browser.Stash&stapler-class=hudson.plugins.git.browser.ViewGitWeb&%24class=hudson.plugins.git.browser.ViewGitWeb&stapler-class=hudson.scm.SubversionSCM&%24class=hudson.scm.SubversionSCM&.remote=&.credentialsId=&.local=.&depthOption=infinity&.ignoreExternalsOption=on&stapler-class=hudson.scm.subversion.UpdateUpdater&%24class=hudson.scm.subversion.UpdateUpdater&stapler-class=hudson.scm.subversion.CheckoutUpdater&%24class=hudson.scm.subversion.CheckoutUpdater&stapler-class=hudson.scm.subversion.UpdateWithCleanUpdater&%24class=hudson.scm.subversion.UpdateWithCleanUpdater&stapler-class=hudson.scm.subversion.UpdateWithRevertUpdater&%24class=hudson.scm.subversion.UpdateWithRevertUpdater&stapler-class=hudson.scm.browsers.Assembla&%24class=hudson.scm.browsers.Assembla&stapler-class=hudson.scm.browsers.CollabNetSVN&%24class=hudson.scm.browsers.CollabNetSVN&stapler-class=hudson.scm.browsers.FishEyeSVN&%24class=hudson.scm.browsers.FishEyeSVN&stapler-class=hudson.scm.browsers.SVNWeb&%24class=hudson.scm.browsers.SVNWeb&stapler-class=hudson.scm.browsers.Sventon&%24class=hudson.scm.browsers.Sventon&stapler-class=hudson.scm.browsers.Sventon2&%24class=hudson.scm.browsers.Sventon2&stapler-class=hudson.scm.browsers.ViewSVN&%24class=hudson.scm.browsers.ViewSVN&stapler-class=hudson.scm.browsers.WebSVN&%24class=hudson.scm.browsers.WebSVN&.excludedRegions=&.includedRegions=&.excludedUsers=&.excludedCommitMessages=&.excludedRevprop=&maven.triggerByDependency=on&authToken=&.upstreamProjects=&ReverseBuildTrigger.threshold=SUCCESS&.spec=&.triggerOnPush=on&.triggerOnMergeRequest=on&.triggerOpenMergeRequestOnPush=never&.triggerOnNoteRequest=on&.noteRegex=Jenkins+please+retry+a+build&.ciSkip=on&.skipWorkInProgressMergeRequest=on&.setBuildDescription=on&branchFilterType=All&includeBranchesSpec=&excludeBranchesSpec=&targetBranchRegex=&include=&exclude=&.secretToken=&.projectPath=&.targetBranchRegex=&.cron=H%2F5+&.assigneeFilter=jenkins&.tagFilter=Build&.triggerComment=&cron_value=&.scmpoll_spec=&.fileId=&.targetLocation=&.variable=&tagPrefix=&releaseBranchPrefix=REL-BRANCH-&targetRemoteName=&.defaultVersioning=GLOBAL&alternativeGoals=&defaultReleaseStagingRepository=&useReleaseBranch=on&.jiraEnvironmentVariable=&.jiraRelease=&.jiraProjectKey=&.jiraFilter=&.propertiesFilePath=&.propertiesContent=&.scriptFilePath=&.scriptContent=&.groovyScriptContent=&maskPasswordParameters=on&artifactoryName=Artifactory&artifactoryUrl=https%3A%2F%2Frepo.int.actility.com%2Fartifactory&stapler-class=org.jfrog.hudson.ServerDetails&stapler-class=org.jfrog.hudson.RepositoryConf&dynamicMode=&keyFromText=&stapler-class=org.jfrog.hudson.RepositoryConf&dynamicMode=&keyFromText=&stapler-class=org.jfrog.hudson.CredentialsConfig&.credentialsId=&.username=&.password=&removeme101_.id=select&.id=4b88a170-863d-4551-aaa1-f2b076a77f97&.id=&rootPOM=pom.xml&goals=&mavenOpts=&maven.enableTriggerDownstreamProjects=on&maven.blockTriggerWhenBuilding=on&.customWorkspace=&maven.validationLevel=1&post-steps.runIfResult=failure&.recipients=&.notifyEveryUnstableBuild=on&.perModuleEmail=on&checkstyle.min=10&checkstyle.max=999&checkstyle.unstable=999&checkstyle.usePattern=false&checkstyle.pattern=&codenarc.min=10&codenarc.max=999&codenarc.unstable=999&codenarc.usePattern=false&codenarc.pattern=&cpd.min=10&cpd.max=999&cpd.unstable=999&cpd.usePattern=false&cpd.pattern=&cpplint.min=10&cpplint.max=999&cpplint.unstable=999&cpplint.pattern=&csslint.min=10&csslint.max=999&csslint.unstable=999&csslint.usePattern=false&csslint.pattern=&findbugs.min=10&findbugs.max=999&findbugs.unstable=999&findbugs.usePattern=false&findbugs.pattern=&fxcop.min=10&fxcop.max=999&fxcop.unstable=999&fxcop.pattern=&gendarme.min=10&gendarme.max=999&gendarme.unstable=999&gendarme.pattern=&jcreport.min=10&jcreport.max=999&jcreport.unstable=999&jcreport.usePattern=false&jcreport.pattern=&jslint.min=10&jslint.max=999&jslint.unstable=999&jslint.usePattern=false&jslint.pattern=&pep8.min=10&pep8.max=999&pep8.unstable=999&pep8.pattern=&perlcritic.min=10&perlcritic.max=999&perlcritic.unstable=999&perlcritic.pattern=&pmd.min=10&pmd.max=999&pmd.unstable=999&pmd.usePattern=false&pmd.pattern=&pyflakes.min=10&pyflakes.max=999&pyflakes.unstable=999&pyflakes.pattern=&pylint.min=10&pylint.max=999&pylint.unstable=999&pylint.pattern=&resharper.min=10&resharper.max=999&resharper.unstable=999&resharper.usePattern=false&resharper.pattern=&simian.min=10&simian.max=999&simian.unstable=999&simian.pattern=&stylecop.min=10&stylecop.max=999&stylecop.unstable=999&stylecop.usePattern=false&stylecop.pattern=&xmllint.min=10&xmllint.max=999&xmllint.unstable=999&xmllint.pattern=&zptlint.min=10&zptlint.max=999&zptlint.unstable=999&zptlint.pattern=&config.limit=100&config.encoding=default&stapler-class=it.dockins.dockerslaves.spec.ImageIdContainerDefinition&%24class=it.dockins.dockerslaves.spec.ImageIdContainerDefinition&stapler-class=it.dockins.dockerslaves.spec.DockerfileContainerDefinition&%24class=it.dockins.dockerslaves.spec.DockerfileContainerDefinition&stapler-class=it.dockins.dockerslaves.spec.DockerSocketContainerDefinition&%24class=it.dockins.dockerslaves.spec.DockerSocketContainerDefinition&.daysToKeepStr=&.numToKeepStr=&.artifactDaysToKeepStr=&.artifactNumToKeepStr=&stapler-class=hudson.tasks.LogRotator&%24class=hudson.tasks.LogRotator&.additionalTag=&.cleanImages=on&.cloudname=&.image=&.dockerCommand=&.lxcConfString=&.hostname=&.dnsString=&.network=&.volumesString=&.volumesFromString=&.environmentsString=&.bindPorts=&memoryLimit=&memorySwap=&cpuShares=&.macAddress=&.extraHostsString=&.instanceCapStr=1&.remoteFs=%2Fhome%2Fjenkins&.labelString=&mode=NORMAL&stapler-class=com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy&.idleMinutes=10&stapler-class=com.nirima.jenkins.plugins.docker.strategy.DockerCloudRetentionStrategy&.idleMinutes=0&stapler-class=hudson.slaves.RetentionStrategy%24Always&stapler-class=com.github.kostyasha.yad.strategy.DockerCloudRetentionStrategy&.idleMinutes=0&stapler-class=com.nirima.jenkins.plugins.docker.strategy.DockerCloudRetentionStrategy&.idleMinutes=0&stapler-class=com.github.kostyasha.yad.strategy.DockerOnceRetentionStrategy&.idleMinutes=0&stapler-class=com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy&.idleMinutes=0&stapler-class=hudson.slaves.SimpleScheduledRetentionStrategy&retentionStrategy.startTimeSpec=&retentionStrategy.upTimeMins=&retentionStrategy.keepUpWhenActive=on&stapler-class=hudson.slaves.RetentionStrategy%24Demand&retentionStrategy.inDemandDelay=&retentionStrategy.idleDelay=&.numExecutors=1&stapler-class=com.nirima.jenkins.plugins.docker.launcher.DockerComputerSSHLauncher&.credentialsId=9bb200e5-fc93-4bfc-a913-7bc8d318768b&.port=22&.javaPath=&.jvmOptions=&.prefixStartSlaveCmd=&.suffixStartSlaveCmd=&launchTimeoutSeconds=&maxNumRetries=&retryWaitTime=&stapler-class=com.nirima.jenkins.plugins.docker.launcher.DockerComputerJNLPLauncher&.user=&.tunnel=&.vmargs=&.remoteFsMapping=%2Fvar%2Flib%2Fjenkins&pullStrategy=PULL_LATEST&.projectUrlStr=&.displayName=&.gitLabConnection=Git+corporate&.repositoryName=&pruneDays=0&.slaveUtilizationPercentage=0&.projectNames=&.count=1&.durationName=hour&.keepJenkinsSystemVariables=on&.keepBuildVariables=on&.propertiesFilePath=&.propertiesContent=&.scriptFilePath=&.scriptContent=&.groovyScriptContent=&.label=&quiet_period=5&scmCheckoutRetryCount=0&.displayNameOrNull=&scm=0&stapler-class=hudson.scm.NullSCM&%24class=hudson.scm.NullSCM&stapler-class=hudson.plugins.git.GitSCM&%24class=hudson.plugins.git.GitSCM&.url=&.credentialsId=&.name=&.refspec=&.name=%2Fmaster&stapler-class=hudson.plugins.git.browser.AssemblaWeb&%24class=hudson.plugins.git.browser.AssemblaWeb&stapler-class=hudson.plugins.git.browser.FisheyeGitRepositoryBrowser&%24class=hudson.plugins.git.browser.FisheyeGitRepositoryBrowser&stapler-class=hudson.plugins.git.browser.KilnGit&%24class=hudson.plugins.git.browser.KilnGit&stapler-class=hudson.plugins.git.browser.TFS2013GitRepositoryBrowser&%24class=hudson.plugins.git.browser.TFS2013GitRepositoryBrowser&stapler-class=hudson.plugins.git.browser.BitbucketWeb&%24class=hudson.plugins.git.browser.BitbucketWeb&stapler-class=hudson.plugins.git.browser.CGit&%24class=hudson.plugins.git.browser.CGit&stapler-class=hudson.plugins.git.browser.GitBlitRepositoryBrowser&%24class=hudson.plugins.git.browser.GitBlitRepositoryBrowser&stapler-class=hudson.plugins.git.browser.GithubWeb&%24class=hudson.plugins.git.browser.GithubWeb&stapler-class=hudson.plugins.git.browser.Gitiles&%24class=hudson.plugins.git.browser.Gitiles&stapler-class=hudson.plugins.git.browser.GitLab&%24class=hudson.plugins.git.browser.GitLab&stapler-class=hudson.plugins.git.browser.GitList&%24class=hudson.plugins.git.browser.GitList&stapler-class=hudson.plugins.git.browser.GitoriousWeb&%24class=hudson.plugins.git.browser.GitoriousWeb&stapler-class=hudson.plugins.git.browser.GitWeb&%24class=hudson.plugins.git.browser.GitWeb&stapler-class=hudson.plugins.git.browser.GogsGit&%24class=hudson.plugins.git.browser.GogsGit&stapler-class=hudson.plugins.git.browser.Phabricator&%24class=hudson.plugins.git.browser.Phabricator&stapler-class=hudson.plugins.git.browser.RedmineWeb&%24class=hudson.plugins.git.browser.RedmineWeb&stapler-class=hudson.plugins.git.browser.RhodeCode&%24class=hudson.plugins.git.browser.RhodeCode&stapler-class=hudson.plugins.git.browser.Stash&%24class=hudson.plugins.git.browser.Stash&stapler-class=hudson.plugins.git.browser.ViewGitWeb&%24class=hudson.plugins.git.browser.ViewGitWeb&stapler-class=hudson.scm.SubversionSCM&%24class=hudson.scm.SubversionSCM&.remote=&.credentialsId=&.local=.&depthOption=infinity&.ignoreExternalsOption=on&stapler-class=hudson.scm.subversion.UpdateUpdater&%24class=hudson.scm.subversion.UpdateUpdater&stapler-class=hudson.scm.subversion.CheckoutUpdater&%24class=hudson.scm.subversion.CheckoutUpdater&stapler-class=hudson.scm.subversion.UpdateWithCleanUpdater&%24class=hudson.scm.subversion.UpdateWithCleanUpdater&stapler-class=hudson.scm.subversion.UpdateWithRevertUpdater&%24class=hudson.scm.subversion.UpdateWithRevertUpdater&stapler-class=hudson.scm.browsers.Assembla&%24class=hudson.scm.browsers.Assembla&stapler-class=hudson.scm.browsers.CollabNetSVN&%24class=hudson.scm.browsers.CollabNetSVN&stapler-class=hudson.scm.browsers.FishEyeSVN&%24class=hudson.scm.browsers.FishEyeSVN&stapler-class=hudson.scm.browsers.SVNWeb&%24class=hudson.scm.browsers.SVNWeb&stapler-class=hudson.scm.browsers.Sventon&%24class=hudson.scm.browsers.Sventon&stapler-class=hudson.scm.browsers.Sventon2&%24class=hudson.scm.browsers.Sventon2&stapler-class=hudson.scm.browsers.ViewSVN&%24class=hudson.scm.browsers.ViewSVN&stapler-class=hudson.scm.browsers.WebSVN&%24class=hudson.scm.browsers.WebSVN&.excludedRegions=&.includedRegions=&.excludedUsers=&.excludedCommitMessages=&.excludedRevprop=&maven.triggerByDependency=on&authToken=&.upstreamProjects=&.spec=&.triggerOnPush=on&.triggerOnMergeRequest=on&.triggerOpenMergeRequestOnPush=never&.triggerOnNoteRequest=on&.noteRegex=Jenkins+please+retry+a+build&.ciSkip=on&.skipWorkInProgressMergeRequest=on&.setBuildDescription=on&includeBranchesSpec=&excludeBranchesSpec=&targetBranchRegex=&include=&exclude=&.secretToken=&.projectPath=&.targetBranchRegex=&.cron=H%2F5&.assigneeFilter=jenkins&.tagFilter=Build&.triggerComment=&cron_value=&.scmpoll_spec=&.fileId=&.targetLocation=&.variable=&tagPrefix=&releaseBranchPrefix=REL-BRANCH&targetRemoteName=&.defaultVersioning=GLOBAL&alternativeGoals=&defaultReleaseStagingRepository=&useReleaseBranch=on&.jiraEnvironmentVariable=&.jiraRelease=&.jiraProjectKey=&.jiraFilter=&.propertiesFilePath=&.propertiesContent=&.scriptFilePath=&.scriptContent=&.groovyScriptContent=&maskPasswordParameters=on&artifactoryName=Artifactory&artifactoryUrl=https%3A%2F%2Frepo.int.actility.com%2Fartifactory&stapler-class=org.jfrog.hudson.ServerDetails&stapler-class=org.jfrog.hudson.RepositoryConf&dynamicMode=&keyFromText=&stapler-class=org.jfrog.hudson.RepositoryConf&dynamicMode=&keyFromText=&stapler-class=org.jfrog.hudson.CredentialsConfig&.credentialsId=&.username=&.password=&removeme8.id=select&.id=4b88a170-863d-4551-aaa1-f2b076a77f97&.id=&rootPOM=test.xml&goals=test&mavenOpts=&maven.enableTriggerDownstreamProjects=on&maven.blockTriggerWhenBuilding=on&stapler-class=hudson.maven.local_repo.DefaultLocalRepositoryLocator&%24class=hudson.maven.local_repo.DefaultLocalRepositoryLocator&stapler-class=hudson.maven.local_repo.PerExecutorLocalRepositoryLocator&%24class=hudson.maven.local_repo.PerExecutorLocalRepositoryLocator&stapler-class=hudson.maven.local_repo.PerJobLocalRepositoryLocator&%24class=hudson.maven.local_repo.PerJobLocalRepositoryLocator&.customWorkspace=&maven.validationLevel=-1&stapler-class=jenkins.mvn.DefaultSettingsProvider&%24class=jenkins.mvn.DefaultSettingsProvider&stapler-class=jenkins.mvn.FilePathSettingsProvider&%24class=jenkins.mvn.FilePathSettingsProvider&stapler-class=org.jenkinsci.plugins.configfiles.maven.job.MvnSettingsProvider&%24class=org.jenkinsci.plugins.configfiles.maven.job.MvnSettingsProvider&stapler-class=jenkins.mvn.DefaultGlobalSettingsProvider&%24class=jenkins.mvn.DefaultGlobalSettingsProvider&stapler-class=jenkins.mvn.FilePathGlobalSettingsProvider&%24class=jenkins.mvn.FilePathGlobalSettingsProvider&settingsConfigId=settings.xml&stapler-class=org.jenkinsci.plugins.configfiles.maven.job.MvnGlobalSettingsProvider&%24class=org.jenkinsci.plugins.configfiles.maven.job.MvnGlobalSettingsProvider&.recipients=&.notifyEveryUnstableBuild=on&_.perModuleEmail=on&checkstyle.min=10&checkstyle.max=999&checkstyle.unstable=999&checkstyle.usePattern=false&checkstyle.pattern=&codenarc.min=10&codenarc.max=999&codenarc.unstable=999&codenarc.usePattern=false&codenarc.pattern=&cpd.min=10&cpd.max=999&cpd.unstable=999&cpd.usePattern=false&cpd.pattern=&cpplint.min=10&cpplint.max=999&cpplint.unstable=999&cpplint.pattern=&csslint.min=10&csslint.max=999&csslint.unstable=999&csslint.usePattern=false&csslint.pattern=&findbugs.min=10&findbugs.max=999&findbugs.unstable=999&findbugs.usePattern=false&findbugs.pattern=&fxcop.min=10&fxcop.max=999&fxcop.unstable=999&fxcop.pattern=&gendarme.min=10&gendarme.max=999&gendarme.unstable=999&gendarme.pattern=&jcreport.min=10&jcreport.max=999&jcreport.unstable=999&jcreport.usePattern=false&jcreport.pattern=&jslint.min=10&jslint.max=999&jslint.unstable=999&jslint.usePattern=false&jslint.pattern=&pep8.min=10&pep8.max=999&pep8.unstable=999&pep8.pattern=&perlcritic.min=10&perlcritic.max=999&perlcritic.unstable=999&perlcritic.pattern=&pmd.min=10&pmd.max=999&pmd.unstable=999&pmd.usePattern=false&pmd.pattern=&pyflakes.min=10&pyflakes.max=999&pyflakes.unstable=999&pyflakes.pattern=&pylint.min=10&pylint.max=999&pylint.unstable=999&pylint.pattern=&resharper.min=10&resharper.max=999&resharper.unstable=999&resharper.usePattern=false&resharper.pattern=&simian.min=10&simian.max=999&simian.unstable=999&simian.pattern=&stylecop.min=10&stylecop.max=999&stylecop.unstable=999&stylecop.usePattern=false&stylecop.pattern=&xmllint.min=10&xmllint.max=999&xmllint.unstable=999&xmllint.pattern=&zptlint.min=10&zptlint.max=999&zptlint.unstable=999&zptlint.pattern=&config.limit=100&config.encoding=default&core%3Aapply=true&Jenkins-Crumb=a360aed37b33d78e7e38ffbe4f3af454&json=%7B%22name%22%3A%22debug-goals%22%2C+%22description%22%3A+%22%22%2C+%22properties%22%3A+%7B%22stapler-class-bag%22%3A+%22true%22%2C+%22jenkins-plugins-maveninfo-config-MavenInfoJobConfig%22%3A+%7B%22assignName%22%3A+false%2C+%22nameTemplate%22%3A+%22%22%2C+%22assignDescription%22%3A+false%2C+%22descriptionTemplate%22%3A+%22%22%2C+%22mainModulePattern%22%3A+%22%22%2C+%22dependenciesPattern%22%3A+%22%22%7D%2C+%22it-dockins-dockerslaves-spec-ContainerSetDefinition%22%3A+%7B%7D%2C+%22jenkins-model-BuildDiscarderProperty%22%3A+%7B%22specified%22%3A+false%2C+%22%22%3A+%220%22%2C+%22strategy%22%3A+%7B%22daysToKeepStr%22%3A+%22%22%2C+%22numToKeepStr%22%3A+%22%22%2C+%22artifactDaysToKeepStr%22%3A+%22%22%2C+%22artifactNumToKeepStr%22%3A+%22%22%2C+%22stapler-class%22%3A+%22hudson.tasks.LogRotator%22%2C+%22%24class%22%3A+%22hudson.tasks.LogRotator%22%7D%7D%2C+%22com-nirima-jenkins-plugins-docker-DockerJobProperty%22%3A+%7B%22hasDockerContainer%22%3A+false%2C+%22tagOnCompletion%22%3A+false%2C+%22additionalTag%22%3A+%22%22%2C+%22pushOnSuccess%22%3A+false%2C+%22cleanImages%22%3A+true%7D%2C+%22com-coravy-hudson-plugins-github-GithubProjectProperty%22%3A+%7B%7D%2C+%22com-dabsquared-gitlabjenkins-connection-GitLabConnectionProperty%22%3A+%7B%22gitLabConnection%22%3A+%22Git+corporate%22%7D%2C+%22org-jenkinsci-plugins-gitlablogo-GitlabLogoProperty%22%3A+%7B%22repositoryName%22%3A+%22%22%7D%2C+%22org-jenkins-ci-plugins-html5_notifier-JobPropertyImpl%22%3A+%7B%22skip%22%3A+false%7D%2C+%22net-praqma-logging-LoggingJobProperty%22%3A+%7B%7D%2C+%22com-suryagaddipati-jenkins-SlaveUtilizationProperty%22%3A+%7B%7D%2C+%22hudson-plugins-copyartifact-CopyArtifactPermissionProperty%22%3A+%7B%7D%2C+%22hudson-model-ParametersDefinitionProperty%22%3A+%7B%22specified%22%3A+false%7D%2C+%22jenkins-branch-RateLimitBranchProperty%24JobPropertyImpl%22%3A+%7B%7D%2C+%22org-jenkinsci-plugins-envinject-EnvInjectJobProperty%22%3A+%7B%22on%22%3A+false%2C+%22keepJenkinsSystemVariables%22%3A+true%2C+%22keepBuildVariables%22%3A+true%2C+%22overrideBuildParameters%22%3A+false%2C+%22info%22%3A+%7B%22propertiesFilePath%22%3A+%22%22%2C+%22propertiesContent%22%3A+%22%22%2C+%22scriptFilePath%22%3A+%22%22%2C+%22scriptContent%22%3A+%22%22%2C+%22groovyScriptContent%22%3A+%22%22%2C+%22loadFilesFromMaster%22%3A+false%7D%7D%7D%2C+%22disable%22%3A+false%2C+%22concurrentBuild%22%3A+false%2C+%22hasSlaveAffinity%22%3A+false%2C+%22label%22%3A+%22%22%2C+%22hasCustomQuietPeriod%22%3A+false%2C+%22quiet_period%22%3A+%225%22%2C+%22hasCustomScmCheckoutRetryCount%22%3A+false%2C+%22scmCheckoutRetryCount%22%3A+%220%22%2C+%22blockBuildWhenUpstreamBuilding%22%3A+false%2C+%22blockBuildWhenDownstreamBuilding%22%3A+false%2C+%22displayNameOrNull%22%3A+%22%22%2C+%22scm%22%3A+%7B%22value%22%3A+%220%22%2C+%22stapler-class%22%3A+%22hudson.scm.NullSCM%22%2C+%22%24class%22%3A+%22hudson.scm.NullSCM%22%7D%2C+%22triggerByDependency%22%3A+%7B%7D%2C+%22rootPOM%22%3A+%22test.xml%22%2C+%22goals%22%3A+%22test%22%2C+%22mavenOpts%22%3A+%22%22%2C+%22enableTriggerDownstreamProjects%22%3A+%7B%22blockTriggerWhenBuilding%22%3A+%7B%7D%7D%2C+%22usePrivateRepository%22%3A+false%2C+%22%22%3A+%5B%220%22%2C+%220%22%2C+%222%22%5D%2C+%22explicitLocalRepository%22%3A+%7B%22stapler-class%22%3A+%22hudson.maven.local_repo.DefaultLocalRepositoryLocator%22%2C+%22%24class%22%3A+%22hudson.maven.local_repo.DefaultLocalRepositoryLocator%22%7D%2C+%22hasCustomWorkspace%22%3A+false%2C+%22customWorkspace%22%3A+%22%22%2C+%22validationLevel%22%3A+%22-1%22%2C+%22settings%22%3A+%7B%22stapler-class%22%3A+%22jenkins.mvn.DefaultSettingsProvider%22%2C+%22%24class%22%3A+%22jenkins.mvn.DefaultSettingsProvider%22%7D%2C+%22globalSettings%22%3A+%7B%22settingsConfigId%22%3A+%22settings.xml%22%2C+%22stapler-class%22%3A+%22org.jenkinsci.plugins.configfiles.maven.job.MvnGlobalSettingsProvider%22%2C+%22%24class%22%3A+%22org.jenkinsci.plugins.configfiles.maven.job.MvnGlobalSettingsProvider%22%7D%2C+%22core%3Aapply%22%3A+%22true%22%2C+%22Jenkins-Crumb%22%3A+%22a360aed37b33d78e7e38ffbe4f3af454%22%7D
Name
I have the same issue with jenkins 2.19.1 LTS and maven integration plugin 2.13. The goals in jenkins UI are not updated after saving the modifications. As a solution, for the moment I modify the goals manually in the file config.xml (SSH mode), then I restart jenkins in order that it will be updated with the changements already made.
same issue here with jenkins 2.19.2 and plugin 2.14. if you need any additional info please let me know. No information/errors in the logs for me either.
Well that's weird.
I had a quick look and cannot reproduce with hpi:run.
I will have a try later with a real jenkins distribution (and I guess an upgrade of the plugin as well not with a fresh new install).
There is no real changes related which is even worst.
Jenkins 2.27 was a crappy version danielbeck due to stapler updates ? like 2.28 and 2.29 ?
Thus it may be related to this ?
But if abedwards and mariem_baccar have the issue on 2.19.x it is more annoying.
I don't see also on my side a change in the UI or code part to justify that bug.
For all people having this issue, can you tell us exactly which parameters you are setting in your job ?
Maybe it is a side effect with another parameter/plugin.
Also if you could share some samples of corrupted config.xml files it might help to reproduce
Hi Arnaud,
on my side, it has nothing related to the other params as even if I create a brand new project and fill up only those two params, I'll have the issue.
You have as an early comment the POST request sent by the UI : as you can see, both params are called several times and the first time is with empty values
You also have my config details as attachment to this ticket.
Thanks
aheritier I can try again later tonight, but I was also able to reproduce the issue using the docker build, therefore I would say it's safe to say it's not related to my install. Putting any value in the maven goals would result in the issue of not saving the values entered.
faichelbaum hmm.. I just tried again, both in docker as well as my regular install and all seems working now. be curious if yours is fixed now too. wondering if maybe there was a plugin update that I did which fixed it.
Hi abedwards I'm fully up to date but still no luck on my side. Did you change anything else ?
Could be related with JENKINS-39078 if you have Docker Slave Plugin installed
ifernandezcalvo thanks ! that was it
I removed the plugin (unused and version 1.0.5) and it fixed it !
- This problem is related to
JENKINS-39078: There is a problem in Docker Slave Plugin 1.0.5 (Fix: https://github.com/jenkinsci/docker-slaves-plugin/commit/451929125fd8ff39c6f84c30476c26cccb912140). So, you can uninstall this plugin if it's not needed. - You must be careful. This plugin is also responsible of many other bugs (
JENKINS-39231, docker compose fails after scrutation...)
Hrrm - I can't reproduce this with a fresh install of Jenkins 2.27 and Maven plugin 2.14 on OS X (just using the war file). Does anything show up in the Jenkins log on the master when you try to save a Maven job with changed goals/root POM?