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.
Answers
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 1,981 Neuron
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/
-
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?
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 1,981 Neuron
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.