Hi Team,
We have below 2 tasks in "BUILD plan" in Bamboo 9.2.10 , and after this build execution, it has to pass "release number" to "deployment plan". But on Build plan execution, it is gong to queue for longer time because it is trying to connect a bitbucket "http://bitbucket.appz.com" , which is not past of the build tasks execution.
Task(1):create a properties file:-
echo pom.releaseVersion=${bamboo.proj.build.releaseVersion} > "workflow-listener.properties"
echo pom.artefactId=hello-world-service >> "workflow-listener.properties"
echo AppZ_anypoint_mule_version=3.8.4 >> "workflow-listener.properties"
more workflow-listener.properties
===========================================================
Task(2): Inject bamboo.proj.build.releaseVersion for deploy plan
Path to properties file(required)
workflow-listener.properties
Relative to the build's working directory.
Namespace(required)
proj
Namespace is used to avoid name conflicts with existing variables.
Scope of the variables
Local
Variables will only be available in this job.
Result
But while build is executing , it is going to Queue for longer time , and in logs I found below error.
Logs:-
process for build 'Retail Transformation - hello-world-service-uat - Default Job #27 (RT-HEW1UAT-JOB1-27)'\n ... running command line: \n/anw/bamboo/application-data/temp/RT-HEW1UAT-JOB1-27-ScriptBuildTask-1426818369492427374.sh\n ... in: /anw/bamboo/application-data/local-working-dir/3145729/RT-HEW1UAT-JOB1\n
2024-02-20 07:25:20,562 INFO [NavLink RestCapabilitiesClient:thread-1] [RetryExec] I/O exception (java.net.SocketException) caught when processing request to {s}->https://bitbucket-test.appD.com:443: Connection reset
2024-02-20 07:25:20,562 INFO [NavLink RestCapabilitiesClient:thread-1] [RetryExec] Retrying request to {s}->https://bitbucket-test.appD.com:443
2024-02-20 07:27:18,451 INFO [RemoteEvents CapabilitiesCacheLoader:thread-1] [RetryExec] I/O exception (java.net.SocketException) caught when processing request to {s}->https://bitbucket-test.appD.com:443: Connection reset
2024-02-20 07:27:18,451 INFO [RemoteEvents CapabilitiesCacheLoader:thread-1] [RetryExec] Retrying request to {s}->https://bitbucket-test.appD.com:443
2024-02-20 07:27:39,124 INFO [18-BAM::CD Agent::Agent:pool-31-thread-1] [BuildAgentControllerImpl] Agent 17006593 checking build queue for executables...
Please help me how to resolve this error.
Thank you,
Dev G