Started by user jenkins
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/zoumh-backend
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] git
The recommended git tool is: NONE
No credentials specified
> git rev-parse --resolve-git-dir /var/jenkins_home/workspace/zoumh-backend/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/zoumh001207/zoumh.git # timeout=10
Fetching upstream changes from https://github.com/zoumh001207/zoumh.git
> git --version # timeout=10
> git --version # 'git version 2.47.3'
> git fetch --tags --force --progress -- https://github.com/zoumh001207/zoumh.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/dev^{commit} # timeout=10
Checking out Revision 0f0c2704490c19abce96f35b1fdeb98bd18446dc (refs/remotes/origin/dev)
> git config core.sparsecheckout # timeout=10
> git checkout -f 0f0c2704490c19abce96f35b1fdeb98bd18446dc # timeout=10
> git branch -a -v --no-abbrev # timeout=10
> git branch -D dev # timeout=10
> git checkout -b dev 0f0c2704490c19abce96f35b1fdeb98bd18446dc # timeout=10
Commit message: "fix: match public music whitelist in gateway"
> git rev-list --no-walk 0f0c2704490c19abce96f35b1fdeb98bd18446dc # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Prepare Cache)
[Pipeline] sh
+ set -e
+ mkdir -p /var/jenkins_home/caches/maven
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ set -e
+ docker run --rm -u 0:0 -v /var/jenkins_home/workspace/zoumh-backend:/workspace -w /workspace -v /var/jenkins_home/caches/maven:/maven-repo maven:3.9.9-eclipse-temurin-21 bash -lc mvn -Dmaven.repo.local=/maven-repo -DskipTests -Pprod clean package
Unable to find image 'maven:3.9.9-eclipse-temurin-21' locally
3.9.9-eclipse-temurin-21: Pulling from library/maven
fdf9441e6ddd: Pulling fs layer
ac08ec036c80: Pulling fs layer
d9d352c11bbd: Pulling fs layer
14ea0157e6cf: Pulling fs layer
903243de14d5: Pulling fs layer
100a2f749ec8: Pulling fs layer
99f05f209f6f: Pulling fs layer
52fd01a09145: Pulling fs layer
4f4fb700ef54: Pulling fs layer
380ab39b4f9f: Pulling fs layer
4f4fb700ef54: Already exists
ae3a78c3e86b: Download complete
99f05f209f6f: Download complete
ac08ec036c80: Download complete
14ea0157e6cf: Download complete
100a2f749ec8: Download complete
009867547fc9: Download complete
903243de14d5: Download complete
52fd01a09145: Download complete
380ab39b4f9f: Download complete
d9d352c11bbd: Download complete
d9d352c11bbd: Pull complete
380ab39b4f9f: Pull complete
fdf9441e6ddd: Download complete
99f05f209f6f: Pull complete
14ea0157e6cf: Pull complete
fdf9441e6ddd: Pull complete
52fd01a09145: Pull complete
4f4fb700ef54: Pull complete
ac08ec036c80: Pull complete
100a2f749ec8: Pull complete
903243de14d5: Pull complete
Digest: sha256:3a4ab3276a087bf276f79cae96b1af04f53731bec53fb2e651aca79e4b10211e
Status: Downloaded newer image for maven:3.9.9-eclipse-temurin-21
[INFO] Scanning for projects...
[WARNING] The requested profile "prod" could not be activated because it does not exist.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.134 s
[INFO] Finished at: 2026-04-01T03:06:51Z
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "prod" could not be activated because it does not exist.
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/workspace). Please verify you invoked Maven from the correct directory. -> [Help 1]
[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/MissingProjectException
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
Stage "Archive" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy)
Stage "Deploy" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE