If the issue happens "intermittently", I suggest to investigate the log in both side for that moments. Especially the log of UCD side will show something.
Original Message:
Sent: Fri September 01, 2023 02:22 AM
From: Venkatakrishnan Rajaram
Subject: 401: Unauthorized
Hi Fan Hu,
Thanks,
1, We are using admin credentials for all deployment
2, Integration is done properly all test connection works fine, it happens intermittently, Attached the sample pipeline for your reference
Troubleshoot Steps followed on the issue time
=====================================
1, We do the API call to UCD directly that deploy successfully
2, We have a test Jenkins instance, we are able to deploy successfully on the issue time
Regards,
Venkat
------------------------------
Venkatakrishnan Rajaram
Original Message:
Sent: Thu August 31, 2023 01:41 AM
From: Fan Hu
Subject: 401: Unauthorized
Have you configured your UCD integration inside of Jenkins correctly? Please have a test.
In the other side, please try to use another UCD user with more privilege, to check whether it's caused by the UCD user permission inside of UCD.
------------------------------
Fan Hu
IBM
Sydney
Original Message:
Sent: Wed August 30, 2023 04:06 AM
From: Venkatakrishnan Rajaram
Subject: 401: Unauthorized
Hi Team,We are getting an intermediate (401: Unauthorised) issue on deployment from Jenkins to UCD with the plugin used in UCD (7.0.5.0).IBM UrbanCode Deploy Pipeline (Build Steps) PluginVersion2.27.1134919IBM UrbanCode Deploy PluginVersion1.16.1107398ERROR: Deployment has failed due to IOException 401Error: 401: Unauthorized. You must be logged in or provide credentials.Finished: FAILURE
------------------------------
Venkatakrishnan Rajaram
------------------------------