Hi all, I am facing below error when build and deploy my application through docker with Jenkins pipeline. It was working earlier, we didn't changed any thing, just redeployed our code and started throwing this issue, it's happening for all env's (Dev, QA, Stg and Prod).
I need your quick help, will be highly appreciated. -------- Downloaded from central: https://repo.maven.apache.org/maven2/org/tmatesoft/svnkit/svnkit/1.8.5/svnkit-1.8.5.jar (3.8 MB at 10 MB/s) #16 32.84 [INFO] Executing: /bin/sh -c cd '/app/dspace-api' && 'git' 'rev-parse' '--verify' 'HEAD' #16 32.84 [INFO] Working directory: /app/dspace-api #16 32.86 [INFO] ------------------------------------------------------------------------ #16 32.86 [INFO] Reactor Summary for DSpace Parent Project 7.2.1: #16 32.86 [INFO] #16 32.86 [INFO] DSpace Parent Project .............................. SUCCESS [ 2.653 s] #16 32.86 [INFO] DSpace Services Framework :: API and Implementation SUCCESS [ 13.534 s] #16 32.86 [INFO] DSpace Kernel :: API and Implementation ............ FAILURE [ 14.958 s] #16 32.86 [INFO] DSpace Addon Modules ............................... SKIPPED #16 32.86 [INFO] DSpace Kernel :: Additions and Local Customizations SKIPPED #16 32.86 [INFO] DSpace IIIF ........................................ SKIPPED #16 32.86 [INFO] DSpace OAI-PMH ..................................... SKIPPED #16 32.86 [INFO] DSpace RDF ......................................... SKIPPED #16 32.86 [INFO] DSpace SWORD ....................................... SKIPPED #16 32.86 [INFO] DSpace SWORD v2 .................................... SKIPPED #16 32.86 [INFO] DSpace Server Webapp ............................... SKIPPED #16 32.86 [INFO] DSpace Server Webapp:: Local Customizations ........ SKIPPED #16 32.86 [INFO] DSpace Assembly and Configuration .................. SKIPPED #16 32.86 [INFO] ------------------------------------------------------------------------ #16 32.86 [INFO] BUILD FAILURE #16 32.86 [INFO] ------------------------------------------------------------------------ #16 32.86 [INFO] Total time: 31.490 s #16 32.86 [INFO] Finished at: 2023-12-15T11:52:32Z #16 32.86 [INFO] ------------------------------------------------------------------------ #16 32.86 [ERROR] *Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (***) on project dspace-api: Cannot get the revision information from the scm repository : #16 32.86 [ERROR] Exception while executing SCM command.: Error while executing command. Error while executing process. Cannot run program "git" (in directory "/app/dspace-api"): error=2, No such file or directory* #16 32.86 [ERROR] -> [Help 1] #16 32.86 [ERROR] #16 32.86 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. #16 32.86 [ERROR] Re-run Maven using the -X switch to enable full debug logging. #16 32.86 [ERROR] #16 32.86 [ERROR] For more information about the errors and possible solutions, please read the following articles: #16 32.86 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException #16 32.86 [ERROR] #16 32.86 [ERROR] After correcting the problems, you can resume the build with the command #16 32.86 [ERROR] * mvn <args> -rf :dspace-api#16 ERROR: process "/bin/sh -c mvn clean package -Denforcer.fail=false && mv /app/dspace/target/$***TARGET_DIR***/* /install && mvn clean" did not complete successfully: exit code: 1* ------ > [build 5/5] RUN mvn clean package -Denforcer.fail=false && mv /app/dspace/target/dspace-installer/* /install && mvn clean: Error: ERROR] -> [Help 1] Error: ERROR] Error: ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. Error: ERROR] Re-run Maven using the -X switch to enable full debug logging. Error: ERROR] Error: ERROR] For more information about the errors and possible solutions, please read the following articles: Error: ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Error: ERROR] Error: ERROR] After correcting the problems, you can resume the build with the command Error: ERROR] mvn <args> -rf :dspace-api ------ Dockerfile:23 -------------------- 22 | # Copy the dspace-installer directory to /install. Clean up the build to keep the docker image small 23 | >>> RUN mvn clean package -Denforcer.fail=false && \ 24 | >>> mv /app/dspace/target/$***TARGET_DIR***/* /install && \ 25 | >>> mvn clean 26 | -------------------- *ERROR: failed to solve: process "/bin/sh -c mvn clean package -Denforcer.fail=false && mv /app/dspace/target/$***TARGET_DIR***/* /install && mvn clean" did not complete successfully: exit code: 1* Error: Process completed with exit code 1. -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/9c91aa6a-8377-4dd1-920b-33259d0d9b92n%40googlegroups.com.