Skip to content
This repository was archived by the owner on Dec 7, 2023. It is now read-only.

Commit 7630d74

Browse files
Merge pull request #353 from cyberark/ci-fix
Fix Jenkins build: error when retrieving API key
2 parents 26f8c3d + a2eb157 commit 7630d74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ start_conjur() {
4242
}
4343

4444
run_tests() {
45-
env CONJUR_AUTHN_API_KEY=$(docker-compose exec -T conjur rails r "print Credentials['cucumber:user:admin'].api_key") \
45+
env CONJUR_AUTHN_API_KEY=$(docker-compose exec -T conjur conjurctl role retrieve-key cucumber:user:admin) \
4646
docker-compose run test "$@"
4747
}
4848

0 commit comments

Comments
 (0)