Skip to content

Error happened while attempting to execute 'mvn clean package' in Go CD #5

@julwanik

Description

@julwanik

I have setup a pipeline as described in step11. with task mvn clean package in Go CD. All steps are followed correctly, still When I trigger the pipeline, the job fails:

[go] Task: mvn clean package took: 0.14s Error happened while attempting to execute 'mvn clean package'. Please make sure [mvn] can be executed on this agent.

[Debug Information] Environment variable PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-11-openjdk/bin

I have tried all solutions provided on the below post-but nothing works Can't execute "mvn clean package" task in GO CD

for solution provided earlier-
./mvnw clean package
I did try the above but to no success
also I searched on below solutions on SO but they are also not working for me-
https://stackoverflow.com/questions/37113514/cant-execute-mvn-clean-package-task-in-go-cd

also please advise if there is any tutorial video where this workshop instructions are recorded?

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