Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IF statement which checks if ldap is (external or internal) #50

Closed
wants to merge 1 commit into from
Closed

Conversation

marisbahtins
Copy link

@marisbahtins marisbahtins commented Nov 3, 2017

Using "ENABLE_INTERNAL_LDAP" variable which is set to false we disable some parts which are required for internal LDAP.

username=$(echo ${user} | cut -d'@' -f1)
${WORKSPACE}/common/gerrit/create_user.sh -g http://gerrit:8080/gerrit -u "${username}" -p "${username}"
done''')
shell('''#!/bin/bash -ex
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this shell block is required for gerrit permissions setup on repositories.

@SachinKSingh28
Copy link
Contributor

@marisbahtins This seems like duplicate of #40 , please add any changes to #40 if required.

Closing this as it looks like a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants