Boehringer-Ingelheim / toscaci

tosca command line tool and service that simplify tosca integration with Continuous Integration tools
Apache License 2.0
10 stars 7 forks source link

Conceal password parameters used in tosca client #23

Closed BraisVQ closed 3 years ago

BraisVQ commented 3 years ago

I have this execution of tosca:

def status = sh(script: """toscactl run -v --suite-parameter RegularPassword="${tosca_regular_pwd}" --suite-parameter RegularUsername="${tosca_regular_user}" --suite-parameter URL="${applicationURLUnderTest}" ${testSuitesList.join(' ')}""", returnStatus: true)

but when this is executed the credentials are showed:

toscactl run -v --suite-parameter RegularPassword=Thisisthepassword --suite-parameter RegularUsername=user@a.com --suite-parameter URL=https://test-app.com acceptance

@segator