- 
    Bug 
- 
    Resolution: Fixed
- 
    Minor 
- 
    None
The new Feature "Last Deployed Artifacts" from JENKINS-49334 occurse multiple Times in the Job view.
It seems to be caused by multiple mvn call in one pipeline:
node {
    git "https://github.com/cyrille-leclerc/my-jar.git"
	withMaven(maven:"maven-3.5.2")
		stage ("Build") {
            writeFile file: '.archive-jenkins-maven-event-spy-logs', text: ''
            sh "mvn clean deploy"        
		}
		
		stage('SonarQube analysis') {
			withSonarQubeEnv('SonarServer') {
			cleanBranchName=env.BRANCH_NAME;
				if ("${cleanBranchName}".matches("^.*[äÄöÖüÜß]+.*\$")) {
				cleanBranchName = "${cleanBranchName}".replaceAll("ü", "ue").
					replaceAll("ä", "ae").
					replaceAll("ö", "oe").
					replaceAll("ß", "ss").
					replaceAll("Ä", "Ae").
					replaceAll("Ö", "Oe").
					replaceAll("Ü", "Ue");
				}
				// requires SonarQube Scanner for Maven 3.2+
				sh "mvn ${mvn_args} -T 2 -f ${config.projectdir}/pom.xml org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.branch=${cleanBranchName}"
			}
		}
		
		stage ('Aggregate and publish Javadoc') {
			sh "mvn ${mvn_args} -T 2 -Djenkins=true javadoc:aggregate -f ${config.projectdir}/pom.xml"
			step([$class: 'JavadocArchiver', javadocDir: config.projectdir+'/target/site/apidocs', keepAll: true])
		}
	}
}
 
- is related to
- 
                    JENKINS-51922 plugin creates a "maven" action for each invocation of withMaven in a pipeline -         
- Closed
 
-         
- 
                    JENKINS-49482 Hide empty 'Deployed Artifacts:' -         
- Closed
 
-         
