User Creation Job using Jenkins

mettuharish
Level 3
User Creation Job using Jenkins

Hello All,

Is there a way to create users using Jenkins Build Jobs by integrating DataIKU user creation API with Jenkins?

If yes, please let me know how to achieve this? If any one has done, please share the process steps which you have followed.

0 Kudos
3 Replies
Turribeach

The best way will be to use the Dataiku Python API in Jenkins:

https://developer.dataiku.com/latest/concepts-and-examples/users-groups.html#creating-a-user

That will involve installing Python, some packages and creating a code environment in your Jenkins server. Then write a Python file to create the users you want.

If you don't want to use the Python API you could just use the REST API but that's more rudimentary really...

https://doc.dataiku.com/dss/api/12/rest/

 

0 Kudos
mettuharish
Level 3
Author

Hello Turribeach, 

Thanks foe the response. I have used the python API to create users using the python notebook. But I wish to implement this using Jenkins job. How can we do this?

Any idea on how to achieve this using jenkins job?

0 Kudos
Turribeach

I think that's [rpbab;y a better question for a Jenkins user forum. But it shouldn't be hard now that you have the Python code that you want to run.

0 Kudos