Started by user Jesus Garcia - EMP.PROV. - NTTDATA Lightweight checkout support not available, falling back to full checkout. Checking out git https://github.com/BCP-Software-Engineering/avob-private-avob-claim-management-v1-apim-pv.git into /opt/jenkins/data/workspace/AVOB-DEV/AVOB_APIMPV/apim-private-avob-claim-management-v1-dev-create@script/df0a84d73bab3efd4a17f8320f426244adfef840f1ad4cfd37d33422f1b0bb63 to read devops/jenkins/Jenkinsfile-deploy-dev-apim-openapi-pipeline.groovy Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential APZW3DES-BCP-GH-Jenkins-DESA > git rev-parse --resolve-git-dir /opt/jenkins/data/workspace/AVOB-DEV/AVOB_APIMPV/apim-private-avob-claim-management-v1-dev-create@script/df0a84d73bab3efd4a17f8320f426244adfef840f1ad4cfd37d33422f1b0bb63/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/BCP-Software-Engineering/avob-private-avob-claim-management-v1-apim-pv.git # timeout=10 Fetching upstream changes from https://github.com/BCP-Software-Engineering/avob-private-avob-claim-management-v1-apim-pv.git > git --version # timeout=10 > git --version # 'git version 2.43.7' using GIT_ASKPASS to set credentials Token para GLOBAL de BCP-GH-Jenkins-DESA > git fetch --tags --force --progress -- https://github.com/BCP-Software-Engineering/avob-private-avob-claim-management-v1-apim-pv.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/feature/SBTAVOB-22854^{commit} # timeout=10 > git rev-parse feature/SBTAVOB-22854^{commit} # timeout=10 Checking out Revision 216e6f1894dd384b7994a07f3304f4bf49fc0619 (refs/remotes/origin/feature/SBTAVOB-22854) > git config core.sparsecheckout # timeout=10 > git checkout -f 216e6f1894dd384b7994a07f3304f4bf49fc0619 # timeout=10 Commit message: "Update Jenkinsfile-deploy-dev-apim-openapi-pipeline.groovy" > git rev-list --no-walk 4d54d67dbb0e3c0d425bf71990fd8a987d3f3ed2 # timeout=10 Loading library jenkins-sharedlib@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.43.7' using GIT_ASKPASS to set credentials Token para GLOBAL de BCP-GH-Jenkins-DESA > git ls-remote -h -- https://github.com/BCP-DevSecOps/shared-inct-jenkins-sharedlib-groovy.git # timeout=10 Found match: refs/heads/master revision 418c526186b75e841d237abb8df80b8764ac6adc The recommended git tool is: git using credential APZW3DES-BCP-GH-Jenkins-DESA > git rev-parse --resolve-git-dir /opt/jenkins/data/workspace/AVOB-DEV/AVOB_APIMPV/apim-private-avob-claim-management-v1-dev-create@libs/d167dbcc1dc084411130c6a1c85815ecd495458ebbc2e758b2fa894790c5e389/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/BCP-DevSecOps/shared-inct-jenkins-sharedlib-groovy.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/BCP-DevSecOps/shared-inct-jenkins-sharedlib-groovy.git > git --version # timeout=10 > git --version # 'git version 2.43.7' using GIT_ASKPASS to set credentials Token para GLOBAL de BCP-GH-Jenkins-DESA > git fetch --no-tags --force --progress -- https://github.com/BCP-DevSecOps/shared-inct-jenkins-sharedlib-groovy.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 418c526186b75e841d237abb8df80b8764ac6adc (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 418c526186b75e841d237abb8df80b8764ac6adc # timeout=10 Commit message: "[ci-master] Merge-overwrite-release-tag-into-master" Loading library opbk-jenkins-sharedlib@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.43.7' using GIT_ASKPASS to set credentials Token para GLOBAL de BCP-GH-Jenkins-DESA > git ls-remote -h -- https://github.com/BCP-Software-Engineering/jens-opbk-jenkins-sharedlib-groovy.git # timeout=10 Found match: refs/heads/master revision 97607d70a6293c94fc821d7f92caf4e435dffe33 Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential APZW3DES-BCP-GH-Jenkins-DESA > git rev-parse --resolve-git-dir /opt/jenkins/data/workspace/AVOB-DEV/AVOB_APIMPV/apim-private-avob-claim-management-v1-dev-create@libs/5ec8763c9fbc4606c61ce79752bf7c03bee122a42ddbea219b474e37bd74f278/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/BCP-Software-Engineering/jens-opbk-jenkins-sharedlib-groovy.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/BCP-Software-Engineering/jens-opbk-jenkins-sharedlib-groovy.git > git --version # timeout=10 > git --version # 'git version 2.43.7' using GIT_ASKPASS to set credentials Token para GLOBAL de BCP-GH-Jenkins-DESA > git fetch --no-tags --force --progress -- https://github.com/BCP-Software-Engineering/jens-opbk-jenkins-sharedlib-groovy.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 97607d70a6293c94fc821d7f92caf4e435dffe33 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 97607d70a6293c94fc821d7f92caf4e435dffe33 # timeout=10 Commit message: "[ci-master] Merge-overwrite-release-tag-into-master branch-source: RC-3.46.0-CERT-20261023195314 commit-source: fe59f121721936bf8b2aacdc853a10587b415273 date: 20261104040615 build-url: https://jenkins.lima.bcp.com.pe/job/OPBK-PROD/job/OPBK_JENKINS_SHAREDLIB_GROOVY_PROD/job/OPBK_JENKINS_SHAREDLIB_GROOVY_DEPLOYPROD/59/ build-user-id: apncpro build-user: APNCPRO" > git rev-list --no-walk 97607d70a6293c94fc821d7f92caf4e435dffe33 # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo [BCP-DevSecOps] CurrentCredentialsId para null => https://github.com/BCP-Software-Engineering/avob-private-avob-claim-management-v1-apim-pv.git (null) --> APZW3DES-BCP-GH-Jenkins-DESA [Pipeline] echo steps: org.jenkinsci.plugins.workflow.cps.DSL@569d6665 [Pipeline] echo script: WorkflowScript@132e1db0 [Pipeline] echo Shared library version: master [Pipeline] echo [BCP-DevSecOps] CurrentCredentialsId para null => https://github.com/BCP-Software-Engineering/avob-private-avob-claim-management-v1-apim-pv.git (null) --> APZW3DES-BCP-GH-Jenkins-DESA [Pipeline] node Running on pinctlnxp10-lnx-jenkins-slave in /opt/jenkins/data2/workspace/AVOB-DEV/AVOB_APIMPV/apim-private-avob-claim-management-v1-dev-create [Pipeline] { [Pipeline] stage [Pipeline] { (Preparation) [Pipeline] echo [BCP-DevSecOps] Metodo deprecado [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential APZW3DES-BCP-GH-Jenkins-DESA Fetching changes from the remote Git repository Checking out Revision 216e6f1894dd384b7994a07f3304f4bf49fc0619 (refs/remotes/origin/feature/SBTAVOB-22854) Commit message: "Update Jenkinsfile-deploy-dev-apim-openapi-pipeline.groovy" [Pipeline] echo [BCP-DevSecOps] ********** PROYECTO SCALA ********** [Pipeline] echo [BCP-DevSecOps] isFortifySearchQueryEnabled : true [Pipeline] sh > git rev-parse --resolve-git-dir /opt/jenkins/data2/workspace/AVOB-DEV/AVOB_APIMPV/apim-private-avob-claim-management-v1-dev-create/.git # timeout=10 > git config remote.origin.url https://github.com/BCP-Software-Engineering/avob-private-avob-claim-management-v1-apim-pv.git # timeout=10 Fetching upstream changes from https://github.com/BCP-Software-Engineering/avob-private-avob-claim-management-v1-apim-pv.git > git --version # timeout=10 > git --version # 'git version 2.43.7' using GIT_ASKPASS to set credentials Token para GLOBAL de BCP-GH-Jenkins-DESA > git fetch --tags --force --progress -- https://github.com/BCP-Software-Engineering/avob-private-avob-claim-management-v1-apim-pv.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/feature/SBTAVOB-22854^{commit} # timeout=10 > git rev-parse feature/SBTAVOB-22854^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 216e6f1894dd384b7994a07f3304f4bf49fc0619 # timeout=10 + git config --get remote.origin.url [Pipeline] echo [BCP-DevSecOps] Actual url de git: https://github.com/BCP-Software-Engineering/avob-private-avob-claim-management-v1-apim-pv.git [Pipeline] echo [BCP-DevSecOps] URL para GitHub external: https://github.com [Pipeline] sh + date +%Y%m%d%H%M%S [Pipeline] echo [BCP-DevSecOps] BuildTimestamp: 20261129202516 [Pipeline] sh + date '+%Y-%m-%d %H:%M:%S' [Pipeline] sh + git name-rev --name-only HEAD + sed 's?.*remotes/origin/??' + sed 's/\^0$//' [Pipeline] echo [BCP-DevSecOps] Nombre de la rama: feature/SBTAVOB-22854 [Pipeline] sh + git rev-parse HEAD [Pipeline] echo [BCP-DevSecOps] Actual hash commit de git: 216e6f1894dd384b7994a07f3304f4bf49fc0619 [Pipeline] sh + git config --get remote.origin.url [Pipeline] echo [BCP-DevSecOps] Actual url de git: https://github.com/BCP-Software-Engineering/avob-private-avob-claim-management-v1-apim-pv.git [Pipeline] echo [BCP-DevSecOps] URL para GitHub external: https://github.com [Pipeline] withBuildUser [Pipeline] { [Pipeline] echo [BCP-DevSecOps] Usuario de build: Jesus Garcia - EMP.PROV. - NTTDATA [Pipeline] echo [BCP-DevSecOps] Id usuario de build: t70145 [Pipeline] } [Pipeline] // withBuildUser [Pipeline] echo [BCP-DevSecOps] ********** PROYECTO SCALA ********** [Pipeline] echo [BCP-DevSecOps] isFortifySearchQueryEnabled : true [Pipeline] sh + git config --get remote.origin.url [Pipeline] echo [BCP-DevSecOps] Actual url de git: https://github.com/BCP-Software-Engineering/avob-private-avob-claim-management-v1-apim-pv.git [Pipeline] echo [BCP-DevSecOps] URL para GitHub external: https://github.com [Pipeline] echo [BCP-DevSecOps] GRADLE IS SET TO GRADLE: GRADLE351_JAVA8 [Pipeline] echo [BCP-DevSecOps] ENVIROMENT SET TO: bcp/gradle351-jdk8:1.0 [Pipeline] tool [Pipeline] echo MAVEN_HOME: /opt/jenkins/application/tool/maven/apache-maven-3.3.9 [Pipeline] echo NODE_HOME: null [Pipeline] sh + date +%Y%m%d%H%M%S [Pipeline] echo [BCP-DevSecOps] BuildTimestamp: 20261129202520 [Pipeline] sh + date '+%Y-%m-%d %H:%M:%S' [Pipeline] sh + git name-rev --name-only HEAD + sed 's?.*remotes/origin/??' + sed 's/\^0$//' [Pipeline] echo [BCP-DevSecOps] Nombre de la rama: feature/SBTAVOB-22854 [Pipeline] sh + git rev-parse HEAD [Pipeline] echo [BCP-DevSecOps] Actual hash commit de git: 216e6f1894dd384b7994a07f3304f4bf49fc0619 [Pipeline] sh + git config --get remote.origin.url [Pipeline] echo [BCP-DevSecOps] Actual url de git: https://github.com/BCP-Software-Engineering/avob-private-avob-claim-management-v1-apim-pv.git [Pipeline] echo [BCP-DevSecOps] URL para GitHub external: https://github.com [Pipeline] withBuildUser [Pipeline] { [Pipeline] echo [BCP-DevSecOps] Usuario de build: Jesus Garcia - EMP.PROV. - NTTDATA [Pipeline] echo [BCP-DevSecOps] Id usuario de build: t70145 [Pipeline] } [Pipeline] // withBuildUser [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh + git config --get remote.origin.url [Pipeline] echo [BCP-DevSecOps] Actual url de git: https://github.com/BCP-Software-Engineering/avob-private-avob-claim-management-v1-apim-pv.git [Pipeline] echo [BCP-DevSecOps] URL para GitHub external: https://github.com [Pipeline] sh + cut -d - -f2- + basename https://github.com/BCP-Software-Engineering/avob-private-avob-claim-management-v1-apim-pv.git .git [Pipeline] sh + cat version [Pipeline] echo [BCP-DevSecOps] Tar artifact en construccion [Pipeline] sh + tar -cvf private-avob-claim-management-v1-apim-pv-1.1.tar ./devops ./devops/ ./devops/jenkins/ ./devops/jenkins/Jenkinsfile-delete-cert-apim-openapi-pipeline.groovy ./devops/jenkins/Jenkinsfile-delete-dev-apim-openapi-pipeline.groovy ./devops/jenkins/Jenkinsfile-delete-prod-apim-openapi-pipeline.groovy ./devops/jenkins/Jenkinsfile-deploy-cert-apim-openapi-pipeline.groovy ./devops/jenkins/Jenkinsfile-deploy-prod-apim-openapi-pipeline.groovy ./devops/jenkins/Jenkinsfile-deploy-dev-apim-openapi-pipeline.groovy ./devops/policy-custom/ ./devops/policy-custom/replaceMortgageInsurance.xml ./devops/policy-custom/replaceVehicularInsurance.xml ./devops/policy-custom/policy_custom.xml ./devops/contract/ ./devops/contract/swaggerHubContract.json ./devops/policy/ ./devops/policy/apiPolicy.xml ./devops/policy/tempApiPolicy.xml [Pipeline] sh + ls -al private-avob-claim-management-v1-apim-pv-1.1.tar -rw-r--r--. 1 APNCPRO GAPNCPRO 71680 Nov 29 20:25 private-avob-claim-management-v1-apim-pv-1.1.tar [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Download repository) [Pipeline] sh + rm -rf tmp-repository tmp-repository1 [Pipeline] withCredentials Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD [Pipeline] { [Pipeline] } [Pipeline] // withCredentials [Pipeline] maskPasswords [Pipeline] { [Pipeline] sh ++ echo master ++ cut -d / -f2 + curl -s -k -L -H 'Accept: application/vnd.github+json' -H 'Authorization: Bearer ********' -H 'X-GitHub-Api-Version: 2022-11-28' -o master.zip https://api.github.com/repos/BCP-Framework-Facilidades/opbk-template-deploy-azure-api/zipball/master [Pipeline] sh ++ echo master ++ cut -d / -f2 + unzip -o -q master.zip -d tmp-repository1 [Pipeline] sh + mkdir tmp-repository [Pipeline] sh + mv ./tmp-repository1/BCP-Framework-Facilidades-opbk-template-deploy-azure-api-62aff3bc7a1dbe6ddefb76b1063b829147794895/devops ./tmp-repository1/BCP-Framework-Facilidades-opbk-template-deploy-azure-api-62aff3bc7a1dbe6ddefb76b1063b829147794895/README.md ./tmp-repository1/BCP-Framework-Facilidades-opbk-template-deploy-azure-api-62aff3bc7a1dbe6ddefb76b1063b829147794895/version tmp-repository/ [Pipeline] sh + rm -rf tmp-repository1/ [Pipeline] } [Pipeline] // maskPasswords [Pipeline] sh + cp -rf tmp-repository/devops deploy [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prepare files) [Pipeline] sh + mkdir /opt/jenkins/data2/workspace/AVOB-DEV/AVOB_APIMPV/apim-private-avob-claim-management-v1-dev-create/devops/contract mkdir: cannot create directory ‘/opt/jenkins/data2/workspace/AVOB-DEV/AVOB_APIMPV/apim-private-avob-claim-management-v1-dev-create/devops/contract’: File exists [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] node Running on pinctlnxp10-lnx-jenkins-slave in /opt/jenkins/data2/workspace/AVOB-DEV/AVOB_APIMPV/apim-private-avob-claim-management-v1-dev-create [Pipeline] { [Pipeline] echo [BCP-DevSecOps] Metodo deprecado [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE