I have upgraded Jenkins from 2.6 to 2.236. Jenkins has been dockerised too.
getting the below error after executing a build.
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project xxxxx-yyyy-root: Failed to deploy artifacts: Could not transfer artifact com.ibsplc.xxxxx.yyyy.common:xxxxx-yyyy-common:jar:4.0-846 from/to git_repo (): Failed to transfer file: . Return code is: 401, ReasonPhrase: Unauthorized. -> [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] [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :itravel-groups-root