Forum Discussion
nmrao
Champion Level 2
2 years agoYou can define a project custom property and define the value.
For eg:
key : AUTH_REPO_ENTRY
value: Ora Bannet / change any time you want or even pass the value from command line arguments without modifying the value in the project
And use the above property in the event, so that you need not to modify the script.
Of course, have the change the script as below to refer the above defined the property.
def authProfile = project.getAuthRepository().getEntry(project.getPropertyValue('AUTH_REPO_ENTRY'))