Skip to content

(http://nexus:8081/repository/maven-public) and 'parent.relativePath'  #71

@87abhii

Description

@87abhii

using global settings config with name MyGlobalSettings
Replacing all maven server entries not found in credentials list is true
[workspace] $ /var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.3.3/bin/mvn -f app/pom.xml -gs /tmp/global-settings1821188696980461513.xml -DBRANCH=master -DREPOSITORY_URL=http://localhost:18081/repository/maven-releases/ clean -U versions:set -DnewVersion=DEV-11
[INFO] Scanning for projects...
Downloading: http://nexus:8081/repository/maven-public/org/springframework/boot/spring-boot-starter-parent/1.2.1.RELEASE/spring-boot-starter-parent-1.2.1.RELEASE.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for de.codecentric:conference-app:3.0.0: Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:1.2.1.RELEASE in nexus (http://nexus:8081/repository/maven-public) and 'parent.relativePath' points at no local POM @ line 18, column 10
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project de.codecentric:conference-app:3.0.0 (/var/jenkins_home/jobs/conference-app-1-ci/workspace/app/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for de.codecentric:conference-app:3.0.0: Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:1.2.1.RELEASE in nexus (http://nexus:8081/repository/maven-public) and 'parent.relativePath' points at no local POM @ line 18, column 10 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
Build step 'Invoke top-level Maven targets' marked build as failure
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing JUnit
[xUnit] [INFO] - [JUnit] - No test report file(s) were found with the pattern '/target/surefire-reports/*.xml' relative to '/var/jenkins_home/jobs/conference-app-1-ci/workspace' for the testing framework 'JUnit'. Did you enter a pattern relative to the correct directory? Did you generate the result report(s) for 'JUnit'?
[xUnit] [WARNING] - No test reports found for the metric 'JUnit' with the resolved pattern '
/target/surefire-reports/*.xml'.
[xUnit] [INFO] - Skipping the metric tool processing.
[xUnit] [INFO] - There are errors when processing test results.
[xUnit] [INFO] - Skipping tests recording.
Archiving workspace
Deleting old workspace snapshot from #10.
Finished: FAILURE
Page generated: Jan 28, 2019 9:29:42 PM UTCREST APIJenkins ver. 2.138.3

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions