I use a declarative Jenkins pipeline:
pipeline{ agent : any environment { APPSCAN_CLOUD = credentials("APPSCAN_CLOUD") APPSCAN_C