pipeline-error
pipeline-error
com
13:14:05 Resume disabled by user, switching to high-performance, low-durability
mode.
13:14:06 [Pipeline] Start of Pipeline
13:14:06 [Pipeline] podTemplate
13:14:06 [Pipeline] {
13:14:06 [Pipeline] node
13:14:08 Created Pod: kubernetes cicd-tooling/in-prrloyalty-blockchain-backend-
library-beta-delivery-16-62rjw
13:14:10 Agent in-prrloyalty-blockchain-backend-library-beta-delivery-16-62rjw is
provisioned from template in_prrloyalty-blockchain-backend-
library_Beta_Delivery_16-qpljb-pxspc
13:14:10 ---
13:14:10 apiVersion: "v1"
13:14:10 kind: "Pod"
13:14:10 metadata:
13:14:10 annotations:
13:14:10 kubernetes.jenkins.io/last-refresh: "1721132047920"
13:14:10 buildUrl:
"http://jenkins.cicd-tooling.svc.cluster.local:8080/job/prr-loyalty/job/
Blockchain/job/prrloyalty-blockchain-backend-library/job/Beta%20Delivery/16/"
13:14:10 runUrl: "job/prr-loyalty/job/Blockchain/job/prrloyalty-blockchain-
backend-library/job/Beta%20Delivery/16/"
13:14:10 labels:
13:14:10 jenkins/jenkins-jenkins-agent: "true"
13:14:10 jenkins/label-digest: "ee0259952ef63d0b74fdcd2d8e86d09a3b54a397"
13:14:10 jenkins/label: "loyalty-blockchain-backend-library_Beta_Delivery_16-
qpljb"
13:14:10 kubernetes.jenkins.io/controller: "http___jenkins_cicd-
tooling_svc_cluster_local_8080x"
13:14:10 name: "in-prrloyalty-blockchain-backend-library-beta-delivery-16-62rjw"
13:14:10 namespace: "cicd-tooling"
13:14:10 spec:
13:14:10 containers:
13:14:10 - env:
13:14:10 - name: "JENKINS_SECRET"
13:14:10 value: "********"
13:14:10 - name: "JENKINS_TUNNEL"
13:14:10 value: "jenkins-agent.cicd-tooling.svc.cluster.local:50000"
13:14:10 - name: "JENKINS_AGENT_NAME"
13:14:10 value: "in-prrloyalty-blockchain-backend-library-beta-delivery-16-
62rjw"
13:14:10 - name: "REMOTING_OPTS"
13:14:10 value: "-noReconnectAfter 1d"
13:14:10 - name: "JENKINS_NAME"
13:14:10 value: "in-prrloyalty-blockchain-backend-library-beta-delivery-16-
62rjw"
13:14:10 - name: "JENKINS_AGENT_WORKDIR"
13:14:10 value: "/home/jenkins/agent"
13:14:10 - name: "JENKINS_URL"
13:14:10 value: "http://jenkins.cicd-tooling.svc.cluster.local:8080/"
13:14:10 - name: "HOME"
13:14:10 value: "/home/jenkins/agent/custom/.home"
13:14:10 image: "jenkins/inbound-agent:3248.v65ecb_254c298-2"
13:14:10 name: "jnlp"
13:14:10 resources:
13:14:10 requests:
13:14:10 memory: "256Mi"
13:14:10 cpu: "100m"
13:14:10 volumeMounts:
13:14:10 - mountPath: "/home/jenkins/agent"
13:14:10 name: "workspace-volume"
13:14:10 readOnly: false
13:14:10 - command:
13:14:10 - "cat"
13:14:10 env:
13:14:10 - name: "HOME"
13:14:10 value: "/home/jenkins/agent/custom/.home"
13:14:10 image: "cicdfmw/cicdfmw:latest"
13:14:10 imagePullPolicy: "IfNotPresent"
13:14:10 name: "cicdfmw"
13:14:10 tty: true
13:14:10 volumeMounts:
13:14:10 - mountPath: "/home/jenkins/agent"
13:14:10 name: "workspace-volume"
13:14:10 readOnly: false
13:14:10 - command:
13:14:10 - "cat"
13:14:10 env:
13:14:10 - name: "HOME"
13:14:10 value: "/home/jenkins/agent/custom/.home"
13:14:10 image: "node:20.10.0"
13:14:10 imagePullPolicy: "IfNotPresent"
13:14:10 name: "node-20"
13:14:10 tty: true
13:14:10 volumeMounts:
13:14:10 - mountPath: "/home/jenkins/agent"
13:14:10 name: "workspace-volume"
13:14:10 readOnly: false
13:14:10 - command:
13:14:10 - "cat"
13:14:10 env:
13:14:10 - name: "HOME"
13:14:10 value: "/home/jenkins/agent/custom/.home"
13:14:10 image: "gradle:7.5.0-jdk17"
13:14:10 imagePullPolicy: "IfNotPresent"
13:14:10 name: "gradle"
13:14:10 tty: true
13:14:10 volumeMounts:
13:14:10 - mountPath: "/home/jenkins/agent"
13:14:10 name: "workspace-volume"
13:14:10 readOnly: false
13:14:10 hostAliases:
13:14:10 - hostnames:
13:14:10 - "loyalty-fnuxojh3.9a2ec05a-de3e-4e36-a885-
c2bf38c91e1f.privatelink.westeurope.azmk8s.io"
13:14:10 ip: "10.235.67.132"
13:14:10 - hostnames:
13:14:10 - "loyalty-fnuxojh3.9a2ec05a-de3e-4e36-a885-
c2bf38c91e1f.privatelink.westeurope.azmk8s.io"
13:14:10 ip: "10.235.67.133"
13:14:10 - hostnames:
13:14:10 - "loyalty-fnuxojh3.9a2ec05a-de3e-4e36-a885-
c2bf38c91e1f.privatelink.westeurope.azmk8s.io"
13:14:10 ip: "10.235.67.135"
13:14:10 - hostnames:
13:14:10 - "api.testenvprr.pt"
13:14:10 - "api.dev.testenvprr.pt"
13:14:10 - "omni-core.dev.testenvprr.pt"
13:14:10 ip: "20.23.19.193"
13:14:10 - hostnames:
13:14:10 - "api.qa.testenvprr.pt"
13:14:10 - "omni-core.qa.testenvprr.pt"
13:14:10 ip: "20.103.15.144"
13:14:10 - hostnames:
13:14:10 - "postgresql-prr-dev.private.postgres.database.azure.com"
13:14:10 ip: "10.235.64.68"
13:14:10 - hostnames:
13:14:10 - "func-prr-dev.azurewebsites.net"
13:14:10 ip: "20.105.216.44"
13:14:10 - hostnames:
13:14:10 - "celfocusjira.atlassian.net"
13:14:10 ip: "185.166.143.36"
13:14:10 nodeSelector:
13:14:10 kubernetes.io/os: "linux"
13:14:10 restartPolicy: "Never"
13:14:10 securityContext:
13:14:10 runAsGroup: 1001
13:14:10 runAsUser: 1001
13:14:10 volumes:
13:14:10 - name: "workspace-volume"
13:14:10 persistentVolumeClaim:
13:14:10 claimName: "jenkins-workers"
13:14:10 readOnly: false
13:14:10
13:14:11 Running on in-prrloyalty-blockchain-backend-library-beta-delivery-16-
62rjw in /home/jenkins/agent/workspace/_backend-library_Beta_Delivery_5
13:14:11 [Pipeline] {
13:14:11 [Pipeline] container
13:14:11 [Pipeline] {
13:14:11 [Pipeline] stage
13:14:11 [Pipeline] { (CI/CD Fmw: SCM)
13:14:11 [Pipeline] stage
13:14:11 [Pipeline] { (Nested Agent)
13:14:11 [Pipeline] script
13:14:11 [Pipeline] {
13:14:11 [Pipeline] retry
13:14:11 [Pipeline] {
13:14:11 [Pipeline] fmwCheckout
13:14:11 The recommended git tool is: NONE
13:14:17 using credential git-rw
13:14:17 Warning: JENKINS-30600: special launcher
org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@84f233f;
decorates RemoteLauncher[hudson.remoting.Channel@518f3b76:JNLP4-connect connection
from ip-100-64-10-143.eu-west-1.compute.internal/100.64.10.143:39640] will be
ignored (a typical symptom is the Git executable not being run inside a designated
container)
13:14:17 Fetching changes from the remote Git repository
13:14:17 > git rev-parse --resolve-git-dir
/home/jenkins/agent/workspace/_backend-library_Beta_Delivery_5/.git # timeout=10
13:14:19 Pruning obsolete local tags that do not exist on remotes
13:14:19 > git config remote.origin.url
https://github.com/CelfocusAccount-PRR/prrloyalty-blockchain-backend-library.git #
timeout=10
13:14:19 > git show-ref --tags -d # timeout=10
13:14:19 > git --version # timeout=10
13:14:19 > git --version # 'git version 2.39.2'
13:14:19 using GIT_ASKPASS to set credentials
13:14:19 > git ls-remote -t -- https://github.com/CelfocusAccount-PRR/prrloyalty-
blockchain-backend-library.git # timeout=10
13:14:20 Fetching upstream changes from
https://github.com/CelfocusAccount-PRR/prrloyalty-blockchain-backend-library.git
13:14:20 using GIT_ASKPASS to set credentials
13:14:20 > git fetch --tags --force --progress --
https://github.com/CelfocusAccount-PRR/prrloyalty-blockchain-backend-library.git
+refs/heads/develop:refs/remotes/origin/develop # timeout=10
13:14:21 > git rev-parse origin/develop^{commit} # timeout=10
13:14:21 Checking out Revision 167aeaeedb032196e2edb8a23bbcd787b5a26141
(origin/develop)
13:14:21 > git config core.sparsecheckout # timeout=10
13:14:21 > git checkout -f 167aeaeedb032196e2edb8a23bbcd787b5a26141 # timeout=10
13:14:23 Commit message: "Merge pull request #20 from
CelfocusAccount-PRR/dev/CFPRRL-498"
13:14:23 > git rev-list --no-walk 167aeaeedb032196e2edb8a23bbcd787b5a26141 #
timeout=10
13:14:23 [Pipeline] }
13:14:24 [Pipeline] // retry
13:14:24 [Pipeline] retry
13:14:24 [Pipeline] {
13:14:24 [Pipeline] fmwCheckout
13:14:24 The recommended git tool is: NONE
13:14:24 using credential git-rw
13:14:24 Warning: JENKINS-30600: special launcher
org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@2671df6;
decorates RemoteLauncher[hudson.remoting.Channel@518f3b76:JNLP4-connect connection
from ip-100-64-10-143.eu-west-1.compute.internal/100.64.10.143:39640] will be
ignored (a typical symptom is the Git executable not being run inside a designated
container)
13:14:24 Fetching changes from the remote Git repository
13:14:25 Checking out Revision e34b05b363867850ca602a08cdb415b92571fed1
(refs/remotes/origin/main)
13:14:24 > git rev-parse --resolve-git-dir
/home/jenkins/agent/workspace/_backend-library_Beta_Delivery_5/.cicd/.git #
timeout=10
13:14:24 > git config remote.origin.url
https://github.com/CelfocusAccount-PRR/prrloyalty-cicd-configs.git # timeout=10
13:14:24 Fetching upstream changes from
https://github.com/CelfocusAccount-PRR/prrloyalty-cicd-configs.git
13:14:24 > git --version # timeout=10
13:14:24 > git --version # 'git version 2.39.2'
13:14:24 using GIT_ASKPASS to set credentials
13:14:24 > git fetch --tags --force --progress --
https://github.com/CelfocusAccount-PRR/prrloyalty-cicd-configs.git
+refs/heads/*:refs/remotes/origin/* # timeout=10
13:14:25 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10
13:14:25 > git config core.sparsecheckout # timeout=10
13:14:25 > git checkout -f e34b05b363867850ca602a08cdb415b92571fed1 # timeout=10
13:14:25 Commit message: "cicd wip"
13:14:25 [Pipeline] }
13:14:25 [Pipeline] // retry
13:14:25 [Pipeline] fmwScript
13:14:26 [Pipeline] readJSON
13:14:26 [Pipeline] readJSON
13:14:26 [Pipeline] fmwScript
13:14:26 [Pipeline] echo
13:14:26 DEFAULT CONFIGS: {"cronToCheckForUpdates":"H/10 * * *
*","buildSynchronous":true,"sourceCodeConfigs":
{"type":"git","provider":"github","workspacePath":""},"githubConfigs":
{"setEnvProjectId":true},"buildConfigs":{"enabled":true,"agent":
{"container":"cicdfmw"},"managedFiles":[{"fileId":"maven-
settings","targetLocation":".m2/
settings.xml"}],"wait":true,"timeoutMinutes":10,"parameters":
{"className":"StringParameterValue"},"buildCommand":"echo 'Hello
World'","sonarEnabled":false,"sonarTaskUrl":"[ -e '.scannerwork/report-task.txt' ]
&& (. .scannerwork/report-task.txt && echo $ceTaskUrl) || (. target/sonar/report-
task.txt && echo $ceTaskUrl)","sonarProjectKey":"[ -e '.scannerwork/report-
task.txt' ] && (. .scannerwork/report-task.txt && echo $projectKey) || (.
target/sonar/report-task.txt && echo $projectKey)"},"sonarConfigs":
{"url":"https://sonarqube.tools.celfocus.com","projectKey":"echo $GIT_URL |
sed \"s#.*/##\" | sed \"s#\\.git##\"","projectName":"echo $GIT_URL | sed
\"s#.*/##\" | sed \"s#\\.git##\"","skipReset":true},"versionConfigs":
{"autoIncrement":true,"gitCredentials":"git-rw","masterVersion":
{"gitTagPath":"version/
main","firstVersion":"0.1.0","autoIncrementalMode":"minor","initMinorVersion":"0","
initPatchVersion":"0"},"newVersion":{"gitTagPath":"version/
main","mode":"master"}},"publishConfigs":{"managedFiles":[{"fileId":"kaniko-
config","targetLocation":".kaniko/.docker/
config.json"}],"dockerCredentialId":"docker-registry","packages":
{"mavenRepositoryURL":"https://maven.pkg.github.com/$GITHUB_ORGANIZATION/
$GITHUB_REPO_NAME","repositoryId":"celfocus-github","packaging":"tar.gz"},"agent":
{"container":"kaniko"},"secrets":{"DOCKER_REGISTRY_URL":"docker-registry-
url","HELM_USERNAME":"git-username","HELM_PASSWORD":"git-
password"}},"deployConfigs":{"job":"echo $JOB_NAME | sed \"s#Delivery.*#Deploy#\" |
sed \"s#/04#/05#\" | sed \"s#/06 - Hotfixes/.*#/05 -
Deploy#\"","wait":false,"parameters":
{"className":"StringParameterValue"}},"notifications":{"configs":
{"sonarBaselineURL":"https://sonarqube.tools.celfocus.com/dashboard?
id=","dateFormat":"dd/MM/yyyy HH:mm:ss z","dateTimezone":"Europe/Lisbon"},"docx":
{"enabled":false,"filePath":"msword.docx","success":{"templatePath":".cicd/
pipelines/05 - delivery/docx-templates/sucess.docx"}},"email":
{"enabled":true,"filePath":"email.html","attachDocx":false,"attachDocxFilename":"Re
lease Notes - $version.docx","attachDocxPDF":false,"attachDocxPDFFilename":"Release
Notes - $version.pdf","success":
{"mailingList":"[email protected]","subject":"PRR Loyalty -
Delivery","templatePath":".cicd/pipelines/05 -
delivery/email-templates/success.html"},"fail":
{"mailingList":"[email protected]","subject":"PRR Loyalty - Delivery -
FAIL","templatePath":".cicd/pipelines/05 -
delivery/email-templates/fail.html"},"maintenance":
{"mailingList":"[email protected]","subject":"PRR Loyalty - Delivery -
MAINTENANCE","templatePath":".cicd/pipelines/05 -
delivery/email-templates/maintenance.html"}},"slack":
{"enabled":false,"filePath":"slack.md","success":
{"teamDomain":"celfocus","tokenCredentialId":"slack-token","channel":"#test-
cicd","templatePath":".cicd/pipelines/05 -
delivery/slack-templates/success.md"},"fail":
{"teamDomain":"celfocus","tokenCredentialId":"slack-token","channel":"#test-
cicd","templatePath":".cicd/pipelines/05 -
delivery/slack-templates/fail.md"},"maintenance":
{"teamDomain":"celfocus","tokenCredentialId":"slack-token","channel":"#test-
cicd","templatePath":".cicd/pipelines/05 -
delivery/slack-templates/maintenance.md"}},"msteams":
{"enabled":false,"filePath":"msteams.md","success":{"msTeamsWebhookURL":"https://
novabase.webhook.office.com/webhookb2/0cb32d41-1531-411c-b870-
fad8b2b19534@4e99b85e-9c62-48c4-8e3e-d0dda9883179/JenkinsCI/
eaa806e3686e4123b5907af7cb0d800c/0886d20d-2d06-4ca6-a301-
0cde2af206b9","templatePath":".cicd/pipelines/05 -
delivery/msteams-templates/success.md"},"fail":{"msTeamsWebhookURL":"https://
novabase.webhook.office.com/webhookb2/0cb32d41-1531-411c-b870-
fad8b2b19534@4e99b85e-9c62-48c4-8e3e-d0dda9883179/JenkinsCI/
eaa806e3686e4123b5907af7cb0d800c/0886d20d-2d06-4ca6-a301-
0cde2af206b9","templatePath":".cicd/pipelines/05 -
delivery/msteams-templates/fail.md"},"maintenance":{"msTeamsWebhookURL":"https://
novabase.webhook.office.com/webhookb2/0cb32d41-1531-411c-b870-
fad8b2b19534@4e99b85e-9c62-48c4-8e3e-d0dda9883179/JenkinsCI/
eaa806e3686e4123b5907af7cb0d800c/0886d20d-2d06-4ca6-a301-
0cde2af206b9","templatePath":".cicd/pipelines/05 -
delivery/msteams-templates/maintenance.md"}},"confluence":
{"enabled":false,"filePath":"confluence.html","ignoreWhenVersionNotIncremented":tru
e,"success":
{"publishConfluence":"celfocusconfluence.atlassian.net","spaceName":"celfocus","tem
platePath":".cicd/pipelines/05 -
delivery/confluence-templates/success.html"}},"yammer":
{"enabled":false,"filePath":"yammer.html","ignoreWhenVersionNotIncremented":true,"s
uccess":{"tokenCredentialId":"yammer-
token","groupId":"111796232192","templatePath":".cicd/pipelines/05 -
delivery/yammer-templates/success.html"}},"jira":
{"enabled":true,"filePath":"jira.wiki","success":{"templatePath":".cicd/pipelines/
05 - delivery/jira-templates/success.wiki"},"fail":{"templatePath":".cicd/
pipelines/05 - delivery/jira-templates/fail.wiki"}},"gitlab":
{"enabled":true,"filePath":"gitlab.md","success":{"templatePath":".cicd/pipelines/
05 - delivery/gitlab-templates/success.md"}}},"jiraConfigs":{"jiraSite":"https://
celfocusjira.atlassian.net","jiraKeyRegex":"([A-Za-z]{1,20})-([0-9]
{1,9})","fixVersionName":"demo-$version","lookForJiraKeysConfig":
{"lookInBranchName":{"enabled":false,"filterRegex":""},"lookInCommitMessages":
{"enabled":false,"includeMergeCommits":true,"filterRegex":""}},"success":
{"transitionsConfigsPerInitStatus":{"1":{"name":"Transition from Open to System
Test","transitions":[{"name":"Start Work","data":{"transition":{"id":"11"}}},
{"name":"Resolve","data":{"transition":{"id":"51"},"fields":{"customfield_16800":
{"value":"Release"},"resolution":{"name":"Done"}}}},{"name":"Release to System
Test","data":{"transition":{"id":"181"}}}]}}}}}
13:14:26 [Pipeline] fileExists
13:14:26 [Pipeline] readJSON
13:14:26 [Pipeline] fmwScript
13:14:26 [Pipeline] echo
13:14:26 DEFAULT ADDITIONAL CONFIGS: {"sonarConfigs":{"resetSonar":
{"resetBranch":"develop","skipBranches":["develop"]}},"versionConfigs":
{"newVersion":{"gitTagPath":"version/beta","mode":"beta"}}}
13:14:26 [Pipeline] fmwScript
13:14:26 [Pipeline] fmwScript
13:14:26 [Pipeline] fmwScript
13:14:26 [Pipeline] fmwScript
13:14:26 [Pipeline] fmwScript
13:14:26 [Pipeline] echo
13:14:26 DEFAULT CONFIGS UPDATED: {"sonarConfigs":{"resetSonar":
{"resetBranch":"develop","skipBranches":["develop"]},"url":"https://
sonarqube.tools.celfocus.com","projectKey":"echo $GIT_URL | sed \"s#.*/##\" |
sed \"s#\\.git##\"","projectName":"echo $GIT_URL | sed \"s#.*/##\" |
sed \"s#\\.git##\"","skipReset":true},"versionConfigs":{"newVersion":
{"gitTagPath":"version/
beta","mode":"beta"},"autoIncrement":true,"gitCredentials":"git-
rw","masterVersion":{"gitTagPath":"version/
main","firstVersion":"0.1.0","autoIncrementalMode":"minor","initMinorVersion":"0","
initPatchVersion":"0"}},"cronToCheckForUpdates":"H/10 * * *
*","buildSynchronous":true,"sourceCodeConfigs":
{"type":"git","provider":"github","workspacePath":""},"githubConfigs":
{"setEnvProjectId":true},"buildConfigs":{"enabled":true,"agent":
{"container":"cicdfmw"},"managedFiles":[{"fileId":"maven-
settings","targetLocation":".m2/
settings.xml"}],"wait":true,"timeoutMinutes":10,"parameters":
{"className":"StringParameterValue"},"buildCommand":"echo 'Hello
World'","sonarEnabled":false,"sonarTaskUrl":"[ -e '.scannerwork/report-task.txt' ]
&& (. .scannerwork/report-task.txt && echo $ceTaskUrl) || (. target/sonar/report-
task.txt && echo $ceTaskUrl)","sonarProjectKey":"[ -e '.scannerwork/report-
task.txt' ] && (. .scannerwork/report-task.txt && echo $projectKey) || (.
target/sonar/report-task.txt && echo $projectKey)"},"publishConfigs":
{"managedFiles":[{"fileId":"kaniko-config","targetLocation":".kaniko/.docker/
config.json"}],"dockerCredentialId":"docker-registry","packages":
{"mavenRepositoryURL":"https://maven.pkg.github.com/$GITHUB_ORGANIZATION/
$GITHUB_REPO_NAME","repositoryId":"celfocus-github","packaging":"tar.gz"},"agent":
{"container":"kaniko"},"secrets":{"DOCKER_REGISTRY_URL":"docker-registry-
url","HELM_USERNAME":"git-username","HELM_PASSWORD":"git-
password"}},"deployConfigs":{"job":"echo $JOB_NAME | sed \"s#Delivery.*#Deploy#\" |
sed \"s#/04#/05#\" | sed \"s#/06 - Hotfixes/.*#/05 -
Deploy#\"","wait":false,"parameters":
{"className":"StringParameterValue"}},"notifications":{"configs":
{"sonarBaselineURL":"https://sonarqube.tools.celfocus.com/dashboard?
id=","dateFormat":"dd/MM/yyyy HH:mm:ss z","dateTimezone":"Europe/Lisbon"},"docx":
{"enabled":false,"filePath":"msword.docx","success":{"templatePath":".cicd/
pipelines/05 - delivery/docx-templates/sucess.docx"}},"email":
{"enabled":true,"filePath":"email.html","attachDocx":false,"attachDocxFilename":"Re
lease Notes - $version.docx","attachDocxPDF":false,"attachDocxPDFFilename":"Release
Notes - $version.pdf","success":
{"mailingList":"[email protected]","subject":"PRR Loyalty -
Delivery","templatePath":".cicd/pipelines/05 -
delivery/email-templates/success.html"},"fail":
{"mailingList":"[email protected]","subject":"PRR Loyalty - Delivery -
FAIL","templatePath":".cicd/pipelines/05 -
delivery/email-templates/fail.html"},"maintenance":
{"mailingList":"[email protected]","subject":"PRR Loyalty - Delivery -
MAINTENANCE","templatePath":".cicd/pipelines/05 -
delivery/email-templates/maintenance.html"}},"slack":
{"enabled":false,"filePath":"slack.md","success":
{"teamDomain":"celfocus","tokenCredentialId":"slack-token","channel":"#test-
cicd","templatePath":".cicd/pipelines/05 -
delivery/slack-templates/success.md"},"fail":
{"teamDomain":"celfocus","tokenCredentialId":"slack-token","channel":"#test-
cicd","templatePath":".cicd/pipelines/05 -
delivery/slack-templates/fail.md"},"maintenance":
{"teamDomain":"celfocus","tokenCredentialId":"slack-token","channel":"#test-
cicd","templatePath":".cicd/pipelines/05 -
delivery/slack-templates/maintenance.md"}},"msteams":
{"enabled":false,"filePath":"msteams.md","success":{"msTeamsWebhookURL":"https://
novabase.webhook.office.com/webhookb2/0cb32d41-1531-411c-b870-
fad8b2b19534@4e99b85e-9c62-48c4-8e3e-d0dda9883179/JenkinsCI/
eaa806e3686e4123b5907af7cb0d800c/0886d20d-2d06-4ca6-a301-
0cde2af206b9","templatePath":".cicd/pipelines/05 -
delivery/msteams-templates/success.md"},"fail":{"msTeamsWebhookURL":"https://
novabase.webhook.office.com/webhookb2/0cb32d41-1531-411c-b870-
fad8b2b19534@4e99b85e-9c62-48c4-8e3e-d0dda9883179/JenkinsCI/
eaa806e3686e4123b5907af7cb0d800c/0886d20d-2d06-4ca6-a301-
0cde2af206b9","templatePath":".cicd/pipelines/05 -
delivery/msteams-templates/fail.md"},"maintenance":{"msTeamsWebhookURL":"https://
novabase.webhook.office.com/webhookb2/0cb32d41-1531-411c-b870-
fad8b2b19534@4e99b85e-9c62-48c4-8e3e-d0dda9883179/JenkinsCI/
eaa806e3686e4123b5907af7cb0d800c/0886d20d-2d06-4ca6-a301-
0cde2af206b9","templatePath":".cicd/pipelines/05 -
delivery/msteams-templates/maintenance.md"}},"confluence":
{"enabled":false,"filePath":"confluence.html","ignoreWhenVersionNotIncremented":tru
e,"success":
{"publishConfluence":"celfocusconfluence.atlassian.net","spaceName":"celfocus","tem
platePath":".cicd/pipelines/05 -
delivery/confluence-templates/success.html"}},"yammer":
{"enabled":false,"filePath":"yammer.html","ignoreWhenVersionNotIncremented":true,"s
uccess":{"tokenCredentialId":"yammer-
token","groupId":"111796232192","templatePath":".cicd/pipelines/05 -
delivery/yammer-templates/success.html"}},"jira":
{"enabled":true,"filePath":"jira.wiki","success":{"templatePath":".cicd/pipelines/
05 - delivery/jira-templates/success.wiki"},"fail":{"templatePath":".cicd/
pipelines/05 - delivery/jira-templates/fail.wiki"}},"gitlab":
{"enabled":true,"filePath":"gitlab.md","success":{"templatePath":".cicd/pipelines/
05 - delivery/gitlab-templates/success.md"}}},"jiraConfigs":{"jiraSite":"https://
celfocusjira.atlassian.net","jiraKeyRegex":"([A-Za-z]{1,20})-([0-9]
{1,9})","fixVersionName":"demo-$version","lookForJiraKeysConfig":
{"lookInBranchName":{"enabled":false,"filterRegex":""},"lookInCommitMessages":
{"enabled":false,"includeMergeCommits":true,"filterRegex":""}},"success":
{"transitionsConfigsPerInitStatus":{"1":{"name":"Transition from Open to System
Test","transitions":[{"name":"Start Work","data":{"transition":{"id":"11"}}},
{"name":"Resolve","data":{"transition":{"id":"51"},"fields":{"customfield_16800":
{"value":"Release"},"resolution":{"name":"Done"}}}},{"name":"Release to System
Test","data":{"transition":{"id":"181"}}}]}}}}}
13:14:26 [Pipeline] echo
13:14:26 USING DELIVERY CONFIGS FROM automations/configs/ci-cd/04 - delivery -
beta.json
13:14:26 [Pipeline] fmwScript
13:14:26 [Pipeline] echo
13:14:26 APPLICATION CONFIGS:
{"applicationName":"$GITHUB_REPO_NAME","buildConfigs":
[{"key":"npmGradle","name":"BUILD Gradle and NPM","agent":
{"container":"gradle"},"buildCommand":["set +x && echo '\n#########################
BUILD Gradle and NPM #############################\n' && set -x","./gradlew
build"]}],"publishConfigs":[{"type":"maven-artifact","name":"Push Jar lib to
Github","agent":{"container":"cicdfmw"},"managedFiles":[{"fileId":"maven-
settings","targetLocation":".m2/settings.xml"}],"packages":[{"file":"./lib/build/
libs/
lib.jar","groupId":"com.celfocus.prr.loyalty","artifactId":"$GITHUB_REPO_NAME","pac
kaging":"jar"}]}],"notifications":{"email":{"success":
{"mailingList":"[email protected],[email protected],paulo.b
[email protected],[email protected],[email protected],pedro.
[email protected],[email protected],cc:[email protected]
m","subject":"PRR Loyalty :: Components Lib :: Delivery BETA"},"fail":
{"mailingList":"[email protected],[email protected],paulo.b
[email protected],[email protected],[email protected],pedro.
[email protected],[email protected],cc:[email protected]
m","subject":"PRR Loyalty:: $GITHUB_REPO_NAME :: Delivery BETA ::
FAIL"},"maintenance":
{"mailingList":"[email protected],[email protected],paulo.b
[email protected],[email protected],[email protected],pedro.
[email protected],[email protected],cc:[email protected]
m","subject":"PRR Loyalty :: $GITHUB_REPO_NAME :: Delivery BETA :: MAINTENANCE"}}}}
13:14:26 [Pipeline] fmwScript
13:14:26 [Pipeline] fmwScript
13:14:26 [Pipeline] fmwScript
13:14:26 [Pipeline] fmwScript
13:14:26 [Pipeline] fmwScript
13:14:26 [Pipeline] fmwScript
13:14:26 [Pipeline] fmwScript
13:14:26 [Pipeline] fmwScript
13:14:26 [Pipeline] fmwScript
13:14:27 [Pipeline] fmwScript
13:14:27 [Pipeline] fmwScript
13:14:27 [Pipeline] fmwScript
13:14:27 [Pipeline] echo
13:14:27 RUNTIME CONFIGS: {"applicationName":"$GITHUB_REPO_NAME","buildConfigs":
[{"key":"npmGradle","name":"BUILD Gradle and NPM","agent":
{"container":"gradle"},"buildCommand":["set +x && echo '\n#########################
BUILD Gradle and NPM #############################\n' && set -x","./gradlew
build"],"enabled":true,"managedFiles":[{"fileId":"maven-
settings","targetLocation":".m2/
settings.xml"}],"wait":true,"timeoutMinutes":10,"parameters":
{"className":"StringParameterValue"},"sonarEnabled":false,"sonarTaskUrl":"[ -e
'.scannerwork/report-task.txt' ] && (. .scannerwork/report-task.txt && echo
$ceTaskUrl) || (. target/sonar/report-task.txt && echo
$ceTaskUrl)","sonarProjectKey":"[ -e '.scannerwork/report-task.txt' ] &&
(. .scannerwork/report-task.txt && echo $projectKey) || (. target/sonar/report-
task.txt && echo $projectKey)"}],"publishConfigs":[{"type":"maven-
artifact","name":"Push Jar lib to Github","agent":
{"container":"cicdfmw"},"managedFiles":[{"fileId":"maven-
settings","targetLocation":".m2/settings.xml"}],"packages":[{"file":"./lib/build/
libs/
lib.jar","groupId":"com.celfocus.prr.loyalty","artifactId":"$GITHUB_REPO_NAME","pac
kaging":"jar","mavenRepositoryURL":"https://maven.pkg.github.com/
$GITHUB_ORGANIZATION/$GITHUB_REPO_NAME","repositoryId":"celfocus-
github"}],"dockerCredentialId":"docker-registry","secrets":
{"DOCKER_REGISTRY_URL":"docker-registry-url","HELM_USERNAME":"git-
username","HELM_PASSWORD":"git-password"}}],"notifications":{"email":{"success":
{"mailingList":"[email protected],[email protected],paulo.b
[email protected],[email protected],[email protected],pedro.
[email protected],[email protected],cc:[email protected]
m","subject":"PRR Loyalty :: Components Lib :: Delivery
BETA","templatePath":".cicd/pipelines/05 -
delivery/email-templates/success.html"},"fail":
{"mailingList":"[email protected],[email protected],paulo.b
[email protected],[email protected],[email protected],pedro.
[email protected],[email protected],cc:[email protected]
m","subject":"PRR Loyalty:: $GITHUB_REPO_NAME :: Delivery BETA ::
FAIL","templatePath":".cicd/pipelines/05 -
delivery/email-templates/fail.html"},"maintenance":
{"mailingList":"[email protected],[email protected],paulo.b
[email protected],[email protected],[email protected],pedro.
[email protected],[email protected],cc:[email protected]
m","subject":"PRR Loyalty :: $GITHUB_REPO_NAME :: Delivery BETA ::
MAINTENANCE","templatePath":".cicd/pipelines/05 -
delivery/email-templates/maintenance.html"},"enabled":true,"filePath":"email.html",
"attachDocx":false,"attachDocxFilename":"Release Notes -
$version.docx","attachDocxPDF":false,"attachDocxPDFFilename":"Release Notes -
$version.pdf"},"configs":{"sonarBaselineURL":"https://sonarqube.tools.celfocus.com/
dashboard?id=","dateFormat":"dd/MM/yyyy HH:mm:ss
z","dateTimezone":"Europe/Lisbon"},"docx":
{"enabled":false,"filePath":"msword.docx","success":{"templatePath":".cicd/
pipelines/05 - delivery/docx-templates/sucess.docx"}},"slack":
{"enabled":false,"filePath":"slack.md","success":
{"teamDomain":"celfocus","tokenCredentialId":"slack-token","channel":"#test-
cicd","templatePath":".cicd/pipelines/05 -
delivery/slack-templates/success.md"},"fail":
{"teamDomain":"celfocus","tokenCredentialId":"slack-token","channel":"#test-
cicd","templatePath":".cicd/pipelines/05 -
delivery/slack-templates/fail.md"},"maintenance":
{"teamDomain":"celfocus","tokenCredentialId":"slack-token","channel":"#test-
cicd","templatePath":".cicd/pipelines/05 -
delivery/slack-templates/maintenance.md"}},"msteams":
{"enabled":false,"filePath":"msteams.md","success":{"msTeamsWebhookURL":"https://
novabase.webhook.office.com/webhookb2/0cb32d41-1531-411c-b870-
fad8b2b19534@4e99b85e-9c62-48c4-8e3e-d0dda9883179/JenkinsCI/
eaa806e3686e4123b5907af7cb0d800c/0886d20d-2d06-4ca6-a301-
0cde2af206b9","templatePath":".cicd/pipelines/05 -
delivery/msteams-templates/success.md"},"fail":{"msTeamsWebhookURL":"https://
novabase.webhook.office.com/webhookb2/0cb32d41-1531-411c-b870-
fad8b2b19534@4e99b85e-9c62-48c4-8e3e-d0dda9883179/JenkinsCI/
eaa806e3686e4123b5907af7cb0d800c/0886d20d-2d06-4ca6-a301-
0cde2af206b9","templatePath":".cicd/pipelines/05 -
delivery/msteams-templates/fail.md"},"maintenance":{"msTeamsWebhookURL":"https://
novabase.webhook.office.com/webhookb2/0cb32d41-1531-411c-b870-
fad8b2b19534@4e99b85e-9c62-48c4-8e3e-d0dda9883179/JenkinsCI/
eaa806e3686e4123b5907af7cb0d800c/0886d20d-2d06-4ca6-a301-
0cde2af206b9","templatePath":".cicd/pipelines/05 -
delivery/msteams-templates/maintenance.md"}},"confluence":
{"enabled":false,"filePath":"confluence.html","ignoreWhenVersionNotIncremented":tru
e,"success":
{"publishConfluence":"celfocusconfluence.atlassian.net","spaceName":"celfocus","tem
platePath":".cicd/pipelines/05 -
delivery/confluence-templates/success.html"}},"yammer":
{"enabled":false,"filePath":"yammer.html","ignoreWhenVersionNotIncremented":true,"s
uccess":{"tokenCredentialId":"yammer-
token","groupId":"111796232192","templatePath":".cicd/pipelines/05 -
delivery/yammer-templates/success.html"}},"jira":
{"enabled":true,"filePath":"jira.wiki","success":{"templatePath":".cicd/pipelines/
05 - delivery/jira-templates/success.wiki"},"fail":{"templatePath":".cicd/
pipelines/05 - delivery/jira-templates/fail.wiki"}},"gitlab":
{"enabled":true,"filePath":"gitlab.md","success":{"templatePath":".cicd/pipelines/
05 - delivery/gitlab-templates/success.md"}}},"sonarConfigs":{"resetSonar":
{"resetBranch":"develop","skipBranches":["develop"]},"url":"https://
sonarqube.tools.celfocus.com","projectKey":"echo $GIT_URL | sed \"s#.*/##\" |
sed \"s#\\.git##\"","projectName":"echo $GIT_URL | sed \"s#.*/##\" |
sed \"s#\\.git##\"","skipReset":true},"versionConfigs":{"newVersion":
{"gitTagPath":"version/
beta","mode":"beta"},"autoIncrement":true,"gitCredentials":"git-
rw","masterVersion":{"gitTagPath":"version/
main","firstVersion":"0.1.0","autoIncrementalMode":"minor","initMinorVersion":"0","
initPatchVersion":"0"}},"cronToCheckForUpdates":"H/10 * * *
*","buildSynchronous":true,"sourceCodeConfigs":
{"type":"git","provider":"github","workspacePath":""},"githubConfigs":
{"setEnvProjectId":true},"deployConfigs":{"job":"echo $JOB_NAME |
sed \"s#Delivery.*#Deploy#\" | sed \"s#/04#/05#\" | sed \"s#/06 - Hotfixes/.*#/05 -
Deploy#\"","wait":false,"parameters":
{"className":"StringParameterValue"}},"jiraConfigs":{"jiraSite":"https://
celfocusjira.atlassian.net","jiraKeyRegex":"([A-Za-z]{1,20})-([0-9]
{1,9})","fixVersionName":"demo-$version","lookForJiraKeysConfig":
{"lookInBranchName":{"enabled":false,"filterRegex":""},"lookInCommitMessages":
{"enabled":false,"includeMergeCommits":true,"filterRegex":""}},"success":
{"transitionsConfigsPerInitStatus":{"1":{"name":"Transition from Open to System
Test","transitions":[{"name":"Start Work","data":{"transition":{"id":"11"}}},
{"name":"Resolve","data":{"transition":{"id":"51"},"fields":{"customfield_16800":
{"value":"Release"},"resolution":{"name":"Done"}}}},{"name":"Release to System
Test","data":{"transition":{"id":"181"}}}]}}}}}
13:14:27 [Pipeline] fmwScript
13:14:27 [Pipeline] }
13:14:27 [Pipeline] // script
13:14:27 [Pipeline] }
13:14:27 [Pipeline] // stage
13:14:27 [Pipeline] }
13:14:27 [Pipeline] // stage
13:14:27 [Pipeline] stage
13:14:27 [Pipeline] { (CI/CD Fmw: Prepare Execution)
13:14:27 [Pipeline] stage
13:14:27 [Pipeline] { (Nested Agent)
13:14:27 [Pipeline] stage
13:14:27 [Pipeline] { (CI/CD Fmw: Reset Workspace)
13:14:27 [Pipeline] script
13:14:27 [Pipeline] {
13:14:27 [Pipeline] readJSON
13:14:27 [Pipeline] sh
13:14:28 + git clean -fdx
13:14:50 Removing .cicd@tmp/
13:14:50 Removing .gradle/
13:14:50 Removing .m2/
13:14:50 Removing ?/
13:14:50 Removing confluence.html
13:14:50 Removing email.html
13:14:50 Removing gitlab.md
13:14:50 Removing lib/build/
13:14:50 Removing npmGradle.log
13:14:50 Removing npmGradle.result
13:14:50 [Pipeline] properties
13:14:50 [Pipeline] }
13:14:50 [Pipeline] // script
13:14:50 [Pipeline] }
13:14:50 [Pipeline] // stage
13:14:50 [Pipeline] stage
13:14:50 [Pipeline] { (CI/CD Fmw: Generate Version)
13:14:50 [Pipeline] readJSON
13:14:50 [Pipeline] script
13:14:50 [Pipeline] {
13:14:50 [Pipeline] readJSON
13:14:50 [Pipeline] readJSON
13:14:50 [Pipeline] sh
13:14:51 + git remote rm origin-rw
13:14:51 + true
13:14:52 [Pipeline] sh
13:14:52 + git config remote.origin.url
13:14:52 [Pipeline] sh
13:14:53 + git remote add origin-rw
https://github.com/CelfocusAccount-PRR/prrloyalty-blockchain-backend-library.git
13:14:53 + mkdir -p .git
13:14:53 [Pipeline] withCredentials
13:14:53 Masking supported pattern matches of $SONAR_RESET_GIT_CREDENTIALS_USR or
$SONAR_RESET_GIT_CREDENTIALS_PSW
13:14:53 [Pipeline] {
13:14:53 [Pipeline] sh
13:14:54 + echo https://****:****@github.com/CelfocusAccount-PRR/prrloyalty-
blockchain-backend-library.git
13:14:54 [Pipeline] }
13:14:54 [Pipeline] // withCredentials
13:14:54 [Pipeline] sh
13:14:54 + git config credential.helper store
--file='/home/jenkins/agent/workspace/_backend-library_Beta_Delivery_5/.git/.git-
credentials'
13:14:54 [Pipeline] retry
13:14:54 [Pipeline] {
13:14:54 [Pipeline] sh
13:14:55 + git tag -l
13:14:55 + xargs git tag -d
13:14:55 Deleted tag 'version/beta/0.1.0-BETA-1' (was 3d454c6)
13:14:55 Deleted tag 'version/beta/0.1.0-BETA-2' (was 4ec7d2c)
13:14:55 Deleted tag 'version/beta/0.1.0-BETA-3' (was af6f5c8)
13:14:55 Deleted tag 'version/beta/0.1.0-BETA-4' (was ae5704c)
13:14:55 Deleted tag 'version/beta/0.1.0-BETA-5' (was 943e815)
13:14:55 Deleted tag 'version/beta/0.1.0-BETA-6' (was 2487ced)
13:14:55 Deleted tag 'version/beta/0.1.0-BETA-7' (was 167aeae)
13:14:55 + git fetch -t origin-rw --no-recurse-submodules
13:14:56 From https://github.com/CelfocusAccount-PRR/prrloyalty-blockchain-
backend-library
13:14:56 * [new branch] CFPRRL-761 -> origin-rw/CFPRRL-761
13:14:56 * [new branch] chore-restart-lib-with-groovy -> origin-rw/chore-
restart-lib-with-groovy
13:14:56 * [new branch] chore-start-lib -> origin-rw/chore-start-
lib
13:14:56 * [new branch] dev/CFPRRL-400 -> origin-rw/dev/CFPRRL-
400
13:14:56 * [new branch] dev/CFPRRL-462 -> origin-rw/dev/CFPRRL-
462
13:14:56 * [new branch] dev/CFPRRL-462-merge-develop ->
origin-rw/dev/CFPRRL-462-merge-develop
13:14:56 * [new branch] dev/CFPRRL-462-merge-develop-fix-conflicts ->
origin-rw/dev/CFPRRL-462-merge-develop-fix-conflicts
13:14:56 * [new branch] dev/CFPRRL-490 -> origin-rw/dev/CFPRRL-
490
13:14:56 * [new branch] dev/CFPRRL-491 -> origin-rw/dev/CFPRRL-
491
13:14:56 * [new branch] dev/CFPRRL-497 -> origin-rw/dev/CFPRRL-
497
13:14:56 * [new branch] dev/CFPRRL-498 -> origin-rw/dev/CFPRRL-
498
13:14:56 * [new branch] dev/wip/CFPRRL-462/feat/deleteParty ->
origin-rw/dev/wip/CFPRRL-462/feat/deleteParty
13:14:56 * [new branch] develop -> origin-rw/develop
13:14:56 * [new branch] feat-+network-manager -> origin-rw/feat-
+network-manager
13:14:56 * [new branch] feat-+prr.loyalty.network -> origin-rw/feat-
+prr.loyalty.network
13:14:56 * [new branch] feat/Party/get,create,udpate,delete&listAllParties -
> origin-rw/feat/Party/get,create,udpate,delete&listAllParties
13:14:56 * [new branch] feat/party/CRUD/create+get ->
origin-rw/feat/party/CRUD/create+get
13:14:56 * [new branch] feature/CFPRRL-487 ->
origin-rw/feature/CFPRRL-487
13:14:56 * [new branch] main -> origin-rw/main
13:14:56 * [new branch] release -> origin-rw/release
13:14:56 * [new tag] version/beta/0.1.0-BETA-1 -> version/beta/0.1.0-
BETA-1
13:14:56 * [new tag] version/beta/0.1.0-BETA-2 -> version/beta/0.1.0-
BETA-2
13:14:56 * [new tag] version/beta/0.1.0-BETA-3 -> version/beta/0.1.0-
BETA-3
13:14:56 * [new tag] version/beta/0.1.0-BETA-4 -> version/beta/0.1.0-
BETA-4
13:14:56 * [new tag] version/beta/0.1.0-BETA-5 -> version/beta/0.1.0-
BETA-5
13:14:56 * [new tag] version/beta/0.1.0-BETA-6 -> version/beta/0.1.0-
BETA-6
13:14:56 * [new tag] version/beta/0.1.0-BETA-7 -> version/beta/0.1.0-
BETA-7
13:14:56 [Pipeline] }
13:14:56 [Pipeline] // retry
13:14:57 [Pipeline] sh
13:14:57 + git for-each-ref --sort=creatordate --format %(refname)
refs/tags/version/main
13:14:57 + grep -v -e .*-BETA-.*
13:14:57 + grep -v -e .*-RC-.*
13:14:57 + tail -n 1
13:14:57 + grep -v -e .*-[0-9]*$
13:14:57 [Pipeline] sh
13:14:58 + git+ for-each-ref --sort=creatordate --format %(refname)
refs/tags/version/beta
13:14:58 grep 0.1.0-BETA-
13:14:58 + tail -n 1
13:14:58 [Pipeline] sh
13:14:58 + git rev-list -n 1 refs/tags/version/beta/0.1.0-BETA-7
13:14:58 [Pipeline] sh
13:14:59 + git for-each-ref --sort=creatordate+ --format %(refname)
refs/tags/version/main refs/tags/version/beta
13:14:59 + grep -v -e .*-BETA-.*
13:14:59 grep -v -e .*-RC-.*
13:14:59 + grep -v -e .*-[0-9]*$
13:14:59 + grep -v 0.1.0-BETA-7
13:14:59 + tail -n 1
13:14:59 [Pipeline] }
13:14:59 [Pipeline] // script
13:14:59 [Pipeline] }
13:14:59 [Pipeline] // stage
13:14:59 [Pipeline] stage
13:14:59 [Pipeline] { (CI/CD Fmw: Prepare Reset Sonar Analysis)
13:14:59 [Pipeline] readJSON
13:14:59 Stage "CI/CD Fmw: Prepare Reset Sonar Analysis" skipped due to when
conditional
13:14:59 [Pipeline] getContext
13:14:59 [Pipeline] }
13:14:59 [Pipeline] // stage
13:14:59 [Pipeline] }
13:14:59 [Pipeline] // stage
13:14:59 [Pipeline] }
13:14:59 [Pipeline] // stage
13:14:59 [Pipeline] stage
13:14:59 [Pipeline] { (CI/CD Fmw: Run Reset Sonar Analysis)
13:14:59 [Pipeline] readJSON
13:14:59 Stage "CI/CD Fmw: Run Reset Sonar Analysis" skipped due to when
conditional
13:14:59 [Pipeline] getContext
13:14:59 [Pipeline] }
13:14:59 [Pipeline] // stage
13:15:00 [Pipeline] stage
13:15:00 [Pipeline] { (CI/CD Fmw: Terminating Reset Sonar Analysis)
13:15:00 [Pipeline] readJSON
13:15:00 Stage "CI/CD Fmw: Terminating Reset Sonar Analysis" skipped due to when
conditional
13:15:00 [Pipeline] getContext
13:15:00 [Pipeline] stage
13:15:00 [Pipeline] { (CI/CD Fmw: End Reset Sonar Analysis)
13:15:00 Stage "CI/CD Fmw: Terminating Reset Sonar Analysis" skipped due to when
conditional
13:15:00 [Pipeline] getContext
13:15:00 [Pipeline] }
13:15:00 [Pipeline] // stage
13:15:00 [Pipeline] }
13:15:00 [Pipeline] // stage
13:15:00 [Pipeline] stage
13:15:00 [Pipeline] { (CI/CD Fmw: Builds, Unit Tests and Sonar)
13:15:00 [Pipeline] script
13:15:00 [Pipeline] {
13:15:00 [Pipeline] readJSON
13:15:00 [Pipeline] sh
13:15:01 + echo https://github.com/CelfocusAccount-PRR/prrloyalty-blockchain-
backend-library.git
13:15:01 + + sed s#.*/##
13:15:01 sed s#\.git##
13:15:01 + echo prrloyalty-blockchain-backend-library
13:15:01 [Pipeline] sh
13:15:01 + echo https://github.com/CelfocusAccount-PRR/prrloyalty-blockchain-
backend-library.git+
13:15:01 sed+ s#.*/##
13:15:01 sed s#\.git##
13:15:01 + echo prrloyalty-blockchain-backend-library
13:15:01 [Pipeline] readJSON
13:15:01 [Pipeline] stage
13:15:01 [Pipeline] { (Execution of BUILD Gradle and NPM)
13:15:01 [Pipeline] withCredentials
13:15:01 [Pipeline] {
13:15:01 [Pipeline] readJSON
13:15:02 [Pipeline] readJSON
13:15:02 [Pipeline] container
13:15:02 [Pipeline] {
13:15:02 [Pipeline] fmwScript
13:15:02 [Pipeline] withCredentials
13:15:02 [Pipeline] {
13:15:02 [Pipeline] configFileProvider
13:15:02 provisioning config files...
13:15:02 copy managed file [maven-settings] to
file:/home/jenkins/agent/workspace/_backend-library_Beta_Delivery_5/.m2/
settings.xml
13:15:02 [Pipeline] {
13:15:02 [Pipeline] sh
13:15:02 + echo
13:15:02 + echo <span>❌ FAILED</span>
13:15:02 + set -o xtrace
13:15:02 + tee
/home/jenkins/agent/workspace/_backend-library_Beta_Delivery_5/npmGradle.log
13:15:02 + set +x
13:15:02
13:15:02 ######################### BUILD Gradle and NPM
#############################
13:15:02
13:15:02 + ./gradlew build
13:15:02 Downloading https://services.gradle.org/distributions/gradle-8.7-bin.zip
13:15:04 ............10%.............20%.............30%.............40%..........
..50%.............60%.............70%.............80%.............90%............10
0%
13:15:14
13:15:14 Welcome to Gradle 8.7!
13:15:14
13:15:14 Here are the highlights of this release:
13:15:14 - Compiling and testing with Java 22
13:15:14 - Cacheable Groovy script compilation
13:15:14 - New methods in lazy collection properties
13:15:14
13:15:14 For more details see https://docs.gradle.org/8.7/release-notes.html
13:15:14
13:15:14 Starting a Gradle Daemon (subsequent builds will be faster)
13:16:01 > Task :lib:compileJava
13:16:01 Note:
/home/jenkins/agent/workspace/_backend-library_Beta_Delivery_5/lib/src/main/java/
com/celfocus/prr/loyalty/providers/network/certificate/CertificateProvider.java
uses unchecked or unsafe operations.
13:16:01 Note: Recompile with -Xlint:unchecked for details.
13:23:38
13:23:38 > Task :lib:processResources
13:23:38 > Task :lib:classes
13:23:38 > Task :lib:jar
13:23:38 > Task :lib:assemble
13:23:56 > Task :lib:compileTestJava
13:23:56 > Task :lib:processTestResources NO-SOURCE
13:23:56 > Task :lib:testClasses
13:24:04 OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot
loader classes because bootstrap classpath has been appended
13:24:06 > Task :lib:test
13:24:06 > Task :lib:check
13:24:06 > Task :lib:build
13:24:06
13:24:06 BUILD SUCCESSFUL in 9m 2s
13:24:06 5 actionable tasks: 5 executed
13:24:06 + echo <span>✔ PASSED</span>
13:24:06 [Pipeline] }
13:24:06 [Pipeline] // configFileProvider
13:24:06 [Pipeline] }
13:24:06 [Pipeline] // withCredentials
13:24:06 [Pipeline] }
13:24:06 [Pipeline] // container
13:24:06 [Pipeline] }
13:24:06 [Pipeline] // withCredentials
13:24:06 [Pipeline] }
13:24:06 [Pipeline] // stage
13:24:07 [Pipeline] }
13:24:07 [Pipeline] // script
13:24:07 [Pipeline] }
13:24:07 [Pipeline] // stage
13:24:07 [Pipeline] stage
13:24:07 [Pipeline] { (CI/CD Fmw: Post-Build)
13:24:07 [Pipeline] stage
13:24:07 [Pipeline] { (Nested Agent)
13:24:07 [Pipeline] stage
13:24:07 [Pipeline] { (CI/CD Fmw: Tag Version)
13:24:07 [Pipeline] readJSON
13:24:07 [Pipeline] readJSON
13:24:07 [Pipeline] sh
13:24:07 + grep -iL PASSED ./npmGradle.result
13:24:08 [Pipeline] script
13:24:08 [Pipeline] {
13:24:08 [Pipeline] readJSON
13:24:08 [Pipeline] echo
13:24:08 Old Version:
13:24:08 [Pipeline] echo
13:24:08 New Version: 0.1.0-BETA-7
13:24:08 [Pipeline] retry
13:24:08 [Pipeline] {
13:24:08 [Pipeline] sh
13:24:08 + git tag -l
13:24:08 + git tag -d version/beta/0.1.0-BETA-1 version/beta/0.1.0-BETA-2
version/beta/0.1.0-BETA-3 version/beta/0.1.0-BETA-4 version/beta/0.1.0-BETA-5
version/beta/0.1.0-BETA-6 version/beta/0.1.0-BETA-7
13:24:09 Deleted tag 'version/beta/0.1.0-BETA-1' (was 3d454c6)
13:24:09 Deleted tag 'version/beta/0.1.0-BETA-2' (was 4ec7d2c)
13:24:09 Deleted tag 'version/beta/0.1.0-BETA-3' (was af6f5c8)
13:24:09 Deleted tag 'version/beta/0.1.0-BETA-4' (was ae5704c)
13:24:09 Deleted tag 'version/beta/0.1.0-BETA-5' (was 943e815)
13:24:09 Deleted tag 'version/beta/0.1.0-BETA-6' (was 2487ced)
13:24:09 Deleted tag 'version/beta/0.1.0-BETA-7' (was 167aeae)
13:24:09 + git fetch --tags --no-recurse-submodules origin-rw
13:24:10 From https://github.com/CelfocusAccount-PRR/prrloyalty-blockchain-
backend-library
13:24:10 * [new tag] version/beta/0.1.0-BETA-1 -> version/beta/0.1.0-
BETA-1
13:24:10 * [new tag] version/beta/0.1.0-BETA-2 -> version/beta/0.1.0-
BETA-2
13:24:10 * [new tag] version/beta/0.1.0-BETA-3 -> version/beta/0.1.0-
BETA-3
13:24:10 * [new tag] version/beta/0.1.0-BETA-4 -> version/beta/0.1.0-
BETA-4
13:24:10 * [new tag] version/beta/0.1.0-BETA-5 -> version/beta/0.1.0-
BETA-5
13:24:10 * [new tag] version/beta/0.1.0-BETA-6 -> version/beta/0.1.0-
BETA-6
13:24:10 * [new tag] version/beta/0.1.0-BETA-7 -> version/beta/0.1.0-
BETA-7
13:24:10 [Pipeline] }
13:24:10 [Pipeline] // retry
13:24:10 [Pipeline] retry
13:24:10 [Pipeline] {
13:24:10 [Pipeline] sh
13:24:11 + git tag -f version/beta/0.1.0-BETA-7
13:24:11 + git push --no-verify origin-rw version/beta/0.1.0-BETA-7
13:24:11 Everything up-to-date
13:24:11 [Pipeline] }
13:24:11 [Pipeline] // retry
13:24:11 [Pipeline] }
13:24:11 [Pipeline] // script
13:24:11 [Pipeline] }
13:24:11 [Pipeline] // stage
13:24:11 [Pipeline] stage
13:24:11 [Pipeline] { (CI/CD Fmw: Publish)
13:24:11 [Pipeline] script
13:24:11 [Pipeline] {
13:24:11 [Pipeline] readJSON
13:24:12 [Pipeline] readJSON
13:24:12 [Pipeline] fmwScript
13:24:12 [Pipeline] echo
13:24:12 Publishing: version 0.1.0-BETA-7 of {"type":"maven-artifact","name":"Push
Jar lib to Github","agent":{"container":"cicdfmw"},"managedFiles":
[{"fileId":"maven-settings","targetLocation":".m2/settings.xml"}],"packages":
[{"file":"./lib/build/libs/
lib.jar","groupId":"com.celfocus.prr.loyalty","artifactId":"$GITHUB_REPO_NAME","pac
kaging":"jar","mavenRepositoryURL":"https://maven.pkg.github.com/
$GITHUB_ORGANIZATION/$GITHUB_REPO_NAME","repositoryId":"celfocus-
github"}],"dockerCredentialId":"docker-registry","secrets":
{"DOCKER_REGISTRY_URL":"docker-registry-url","HELM_USERNAME":"git-
username","HELM_PASSWORD":"git-password"}}
13:24:12 [Pipeline] withCredentials
13:24:12 [Pipeline] {
13:24:12 [Pipeline] configFileProvider
13:24:12 provisioning config files...
13:24:12 copy managed file [maven-settings] to
file:/home/jenkins/agent/workspace/_backend-library_Beta_Delivery_5/.m2/
settings.xml
13:24:12 [Pipeline] {
13:24:12 [Pipeline] fmwScript
13:24:12 [Pipeline] echo
13:24:12 Uploading:
{"file":"./lib/build/libs/lib.jar","groupId":"com.celfocus.prr.loyalty","artifactId
":"$GITHUB_REPO_NAME","packaging":"jar","mavenRepositoryURL":"https://
maven.pkg.github.com/$GITHUB_ORGANIZATION/
$GITHUB_REPO_NAME","repositoryId":"celfocus-github"}
13:24:12 [Pipeline] sh
13:24:13 + version=0.1.0-BETA-7
13:24:13 + mvn deploy:deploy-file -s .m2/settings.xml
-Durl=https://maven.pkg.github.com/celfocusaccount-prr/prrloyalty-blockchain-
backend-library -DrepositoryId=celfocus-github -Dfile=./lib/build/libs/lib.jar -
Dpackaging=jar -DgeneratePom=true -DgeneratePom.description=Generated from
origin/develop at 167aeaeedb032196e2edb8a23bbcd787b5a26141 -
DgroupId=com.celfocus.prr.loyalty -DartifactId=prrloyalty-blockchain-backend-
library -Dversion=0.1.0-BETA-7
13:24:14 [INFO] Scanning for projects...
13:24:14 [INFO]
13:24:14 [INFO] ------------------< org.apache.maven:standalone-pom
>-------------------
13:24:14 [INFO] Building Maven Stub Project (No POM) 1
13:24:14 [INFO] --------------------------------
[ pom ]---------------------------------
13:24:14 [INFO]
13:24:14 [INFO] --- maven-deploy-plugin:2.7:deploy-file (default-cli) @
standalone-pom ---
13:24:14 [INFO]
------------------------------------------------------------------------
13:24:14 [INFO] BUILD FAILURE
13:24:14 [INFO]
------------------------------------------------------------------------
13:24:14 [INFO] Total time: 0.846 s
13:24:14 [INFO] Finished at: 2024-07-16T12:24:14Z
13:24:14 [INFO]
------------------------------------------------------------------------
13:24:14 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-
plugin:2.7:deploy-file (default-cli) on project standalone-pom:
/home/jenkins/agent/workspace/_backend-library_Beta_Delivery_5/lib/build/libs/
lib.jar not found. -> [Help 1]
13:24:14 [ERROR]
13:24:14 [ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
13:24:14 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
13:24:14 [ERROR]
13:24:14 [ERROR] For more information about the errors and possible solutions,
please read the following articles:
13:24:14 [ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
13:24:14 [Pipeline] }
13:24:14 [Pipeline] // configFileProvider
13:24:14 [Pipeline] }
13:24:15 [Pipeline] // withCredentials
13:24:15 [Pipeline] }
13:24:15 [Pipeline] // script
13:24:15 [Pipeline] }
13:24:15 [Pipeline] // stage
13:24:15 [Pipeline] stage
13:24:15 [Pipeline] { (CI/CD Fmw: Trigger Deploys)
13:24:15 Stage "CI/CD Fmw: Trigger Deploys" skipped due to earlier failure(s)
13:24:15 [Pipeline] getContext
13:24:15 [Pipeline] }
13:24:15 [Pipeline] // stage
13:24:15 [Pipeline] }
13:24:15 [Pipeline] // stage
13:24:15 [Pipeline] }
13:24:15 [Pipeline] // stage
13:24:15 [Pipeline] stage
13:24:15 [Pipeline] { (Declarative: Post Actions)
13:24:15 [Pipeline] script
13:24:15 [Pipeline] {
13:24:15 [Pipeline] stage
13:24:15 [Pipeline] { (CI/CD Fmw: Send Notifications)
13:24:15 [Pipeline] readJSON
13:24:15 [Pipeline] dir
13:24:15 Running in /home/jenkins/agent/workspace/_backend-library_Beta_Delivery_5
13:24:15 [Pipeline] {
13:24:15 [Pipeline] readFile
13:24:15 [Pipeline] readFile
13:24:15 [Pipeline] readFile
13:24:15 [Pipeline] fmwScript
13:24:15 [Pipeline] fmwScript
13:24:15 [Pipeline] fmwScript
13:24:16 [Pipeline] sh
13:24:16 + echo
13:24:16 [Pipeline] fmwScript
13:24:16 [Pipeline] fmwScript
13:24:16 [Pipeline] fmwScript
13:24:16 [Pipeline] fmwScript
13:24:16 [Pipeline] fmwScript
13:24:16 [Pipeline] fmwScript
13:24:16 [Pipeline] writeFile
13:24:16 [Pipeline] writeFile
13:24:16 [Pipeline] sh
13:24:17 + echo PRR Loyalty :: prrloyalty-blockchain-backend-library :: Delivery
BETA :: MAINTENANCE
13:24:17 [Pipeline] fmwScript
13:24:17 [Pipeline] emailext
13:24:17 Sending email to: [email protected]
[email protected] [email protected]
[email protected] [email protected]
[email protected] [email protected]
[email protected]
13:24:18 [Pipeline] writeFile
13:24:18 [Pipeline] }
13:24:18 [Pipeline] // dir
13:24:18 [Pipeline] }
13:24:18 [Pipeline] // stage
13:24:18 [Pipeline] }
13:24:18 [Pipeline] // script
13:24:18 Error when executing failure post condition:
13:24:18 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-
connect connection from
ip-100-64-10-143.eu-west-1.compute.internal/100.64.10.143:39640
13:24:18 at
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1787)
13:24:18 at
hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
13:24:18 at hudson.remoting.Channel.call(Channel.java:1003)
13:24:18 at hudson.FilePath.act(FilePath.java:1230)
13:24:18 at hudson.FilePath.act(FilePath.java:1219)
13:24:18 at hudson.FilePath.write(FilePath.java:2546)
13:24:18 at
org.jenkinsci.plugins.workflow.steps.WriteFileStep$Execution.run(WriteFileStep.java
:116)
13:24:18 at
org.jenkinsci.plugins.workflow.steps.WriteFileStep$Execution.run(WriteFileStep.java
:100)
13:24:18 at
org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$sta
rt$0(SynchronousNonBlockingStepExecution.java:47)
13:24:18 at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
13:24:18 at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
13:24:18 at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
13:24:18 at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
13:24:18 at java.base/java.lang.Thread.run(Unknown Source)
13:24:18 Also: org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId:
480ebb4d-783f-4a6f-8ec1-9322c4a3e644
13:24:18 java.lang.NullPointerException
13:24:18 at java.base/java.io.Writer.write(Unknown Source)
13:24:18 at upgrade-remoting-to-3244.vf7f977e04755-or-higher
0x33539d02//hudson.FilePath$Write.invoke(FilePath.java:2564)
13:24:18 at upgrade-remoting-to-3244.vf7f977e04755-or-higher
0x33539d02//hudson.FilePath$Write.invoke(FilePath.java:2549)
13:24:18 at upgrade-remoting-to-3244.vf7f977e04755-or-higher
0x33539d02//hudson.FilePath$FileCallableWrapper.call(FilePath.java:3616)
13:24:18 at hudson.remoting.UserRequest.perform(UserRequest.java:211)
13:24:18 at hudson.remoting.UserRequest.perform(UserRequest.java:54)
13:24:18 at hudson.remoting.Request$2.run(Request.java:377)
13:24:18 at
hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorServi
ce.java:78)
13:24:18 at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
13:24:18 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
Source)
13:24:18 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
13:24:18 at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:140)
13:24:18 at java.base/java.lang.Thread.run(Unknown Source)
13:24:18
13:24:18 [Pipeline] }
13:24:18 [Pipeline] // stage
13:24:19 [Pipeline] }
13:24:19 [Pipeline] // container
13:24:19 [Pipeline] }
13:24:19 [Pipeline] // node
13:24:19 [Pipeline] }
13:24:19 [Pipeline] // podTemplate
13:24:19 [Pipeline] End of Pipeline
13:24:19 ERROR: script returned exit code 1
13:24:19 Finished: FAILURE