SAP-archive / cloud-s4-sdk-pipeline

The Cloud SDK pipeline uses the Cloud SDK continuous delivery server for building, checking, and deploying extension applications. Projects based on the SAP Cloud SDK archetype will automatically use this pipeline.
Apache License 2.0
65 stars 25 forks source link

401 error: while running executePPMSwhitessourcecheck introduced suddenly without any change in code #56

Closed santhosh042 closed 3 years ago

santhosh042 commented 3 years ago

Issue Description (Mandatory)

Found the below error in cloud sdk pipeline. we are at version 40. and suddenly we are facing the below access issue.

The pipeline is failing in the stage: executewhitesource--> executePPMSwhitesourcecheck

PLEASE PLACE YOUR DESCRIPTION HERE

Log Output (Mandatory)

13:32:57  java.lang.IllegalStateException: hudson.AbortException: Fail: the returned code 401 is not in the accepted range: [[100‥399]]
13:32:57  ***
13:32:57  
13:32:57  Further information:
13:32:57  * Documentation of library step executePPMSWhitesourceComplianceCheck: https://github.wdf.sap.corp/pages/ContinuousDelivery/piper-doc/steps/executePPMSWhitesourceComplianceCheck/
13:32:57  * Source code of library step executePPMSWhitesourceComplianceCheck: https://github.wdf.sap.corp/ContinuousDelivery/piper-library/blob/master/vars/executePPMSWhitesourceComplianceCheck.groovy
13:32:57  * Library documentation: https://github.wdf.sap.corp/pages/ContinuousDelivery/piper-doc/
13:32:57  * Library repository: https://github.wdf.sap.corp/ContinuousDelivery/piper-library/
13:32:57  
13:32:57  ----------------------------------------------------------
13:32:57  --- End library step of: executePPMSWhitesourceComplianceCheck ---

Link to Jenkins Job (if it can be shared)

https://qmpspa.jaas-gcp.cloud.sap.corp/job/qm-pspa/job/master/

Search for existing solution beforehand (Mandatory)

Please try the GitHub search, it works really well

Project Details (Mandatory)

fwilhe commented 3 years ago

Hi Santhosh

This is a "unauthorized" response from the api. Please check the validity of your credentials. This is not related to anything in the pipeline code.

Best regards

Florian