Skip to content

Instantly share code, notes, and snippets.

@cyrille-leclerc
Last active January 31, 2018 16:54
Show Gist options
  • Save cyrille-leclerc/f09adbab099a71656d6f751cfc099d4d to your computer and use it in GitHub Desktop.
Save cyrille-leclerc/f09adbab099a71656d6f751cfc099d4d to your computer and use it in GitHub Desktop.
jx Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:2.0.0.RC1 in nexus (http://jenkins-x-sonatype-nexus:8081/repository/maven-public/) and 'parent.relativePath' points at no local POM @ line 14, column 10 -> [Help 2]

Problem

Picked up _JAVA_OPTIONS: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx192m
[INFO] Scanning for projects...
[INFO] Downloading: http://jenkins-x-sonatype-nexus:8081/repository/maven-public/org/springframework/boot/spring-boot-starter-parent/2.0.0.RC1/spring-boot-starter-parent-2.0.0.RC1.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.cloudbees.test.kubernetes.draft:draft-spring-boot-app:0.0.1-SNAPSHOT: Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:2.0.0.RC1 in nexus (http://jenkins-x-sonatype-nexus:8081/repository/maven-public/) and 'parent.relativePath' points at no local POM @ line 14, column 10
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project com.cloudbees.test.kubernetes.draft:draft-spring-boot-app:0.0.1-SNAPSHOT (/home/jenkins/workspace/raft-spring-boot-app_master-UYE7LYZTRFK2QPXLTMX2XRNZQF2OAOQU5YJA6IJXVYDFB3ZANCRQ/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for com.cloudbees.test.kubernetes.draft:draft-spring-boot-app:0.0.1-SNAPSHOT: Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:2.0.0.RC1 in nexus (http://jenkins-x-sonatype-nexus:8081/repository/maven-public/) and 'parent.relativePath' points at no local POM @ line 14, column 10 -> [Help 2]
Branch indexing
Connecting to https://api.github.com using cyrille-leclerc/******
Obtained Jenkinsfile from 85bd18bd5890cc96c2420facd5e406fa51d58604
[Pipeline] node
Still waiting to schedule task
maven-wrvdd is offline
Running on maven-wrvdd in /home/jenkins/workspace/raft-spring-boot-app_master-UYE7LYZTRFK2QPXLTMX2XRNZQF2OAOQU5YJA6IJXVYDFB3ZANCRQ
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/cloudbeers/draft-spring-boot-app.git
> git init /home/jenkins/workspace/raft-spring-boot-app_master-UYE7LYZTRFK2QPXLTMX2XRNZQF2OAOQU5YJA6IJXVYDFB3ZANCRQ # timeout=10
Fetching upstream changes from https://github.com/cloudbeers/draft-spring-boot-app.git
> git --version # timeout=10
using GIT_ASKPASS to set credentials
> git fetch --no-tags --progress https://github.com/cloudbeers/draft-spring-boot-app.git +refs/heads/master:refs/remotes/origin/master
> git config remote.origin.url https://github.com/cloudbeers/draft-spring-boot-app.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
> git config remote.origin.url https://github.com/cloudbeers/draft-spring-boot-app.git # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/cloudbeers/draft-spring-boot-app.git
using GIT_ASKPASS to set credentials
> git fetch --no-tags --progress https://github.com/cloudbeers/draft-spring-boot-app.git +refs/heads/master:refs/remotes/origin/master
Checking out Revision 85bd18bd5890cc96c2420facd5e406fa51d58604 (master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 85bd18bd5890cc96c2420facd5e406fa51d58604
Commit message: "Added default Jenkinsfile pipeline"
First time build. Skipping changelog.
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Build Release)
[Pipeline] container
[Pipeline] {
[Pipeline] sh
[raft-spring-boot-app_master-UYE7LYZTRFK2QPXLTMX2XRNZQF2OAOQU5YJA6IJXVYDFB3ZANCRQ] Running shell script
+ git checkout master
Switched to a new branch 'master'
Branch master set up to track remote branch master from origin.
[Pipeline] sh
[raft-spring-boot-app_master-UYE7LYZTRFK2QPXLTMX2XRNZQF2OAOQU5YJA6IJXVYDFB3ZANCRQ] Running shell script
+ git config credential.helper store
[Pipeline] sh
[raft-spring-boot-app_master-UYE7LYZTRFK2QPXLTMX2XRNZQF2OAOQU5YJA6IJXVYDFB3ZANCRQ] Running shell script
++ jx-release-version
+ echo 0.0.1
[Pipeline] sh
[raft-spring-boot-app_master-UYE7LYZTRFK2QPXLTMX2XRNZQF2OAOQU5YJA6IJXVYDFB3ZANCRQ] Running shell script
++ jx-release-version
+ mvn versions:set -DnewVersion=0.0.1
Picked up _JAVA_OPTIONS: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx192m
[INFO] Scanning for projects...
[INFO] Downloading: http://jenkins-x-sonatype-nexus:8081/repository/maven-public/org/springframework/boot/spring-boot-starter-parent/2.0.0.RC1/spring-boot-starter-parent-2.0.0.RC1.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.cloudbees.test.kubernetes.draft:draft-spring-boot-app:0.0.1-SNAPSHOT: Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:2.0.0.RC1 in nexus (http://jenkins-x-sonatype-nexus:8081/repository/maven-public/) and 'parent.relativePath' points at no local POM @ line 14, column 10
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.cloudbees.test.kubernetes.draft:draft-spring-boot-app:0.0.1-SNAPSHOT (/home/jenkins/workspace/raft-spring-boot-app_master-UYE7LYZTRFK2QPXLTMX2XRNZQF2OAOQU5YJA6IJXVYDFB3ZANCRQ/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.cloudbees.test.kubernetes.draft:draft-spring-boot-app:0.0.1-SNAPSHOT: Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:2.0.0.RC1 in nexus (http://jenkins-x-sonatype-nexus:8081/repository/maven-public/) and 'parent.relativePath' points at no local POM @ line 14, 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
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy Staging)
Stage 'Deploy Staging' skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
GitHub has been notified of this commit’s build result
ERROR: script returned exit code 1
Finished: FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment