I run command python3 create_webhooks.py
and it return
Traceback (most recent call last):
File "create_webhooks.py", line 48, in <module>
print("\033[1:32mCreating hook for:\033[1;m", project.name)
AttributeError: 'int' object has no attribute 'name'
I found that is because variable project remains 0 as name of repos( which is cloudassign) is different from name of job(which is master).
I create jenkins job by running python3 create_master_job.py
I wonder whether it is a bug, or I make something wrong?
Thx.
I run command
python3 create_webhooks.pyand it return
I found that is because variable project remains 0 as name of repos( which is cloudassign) is different from name of job(which is master).
I create jenkins job by running
python3 create_master_job.pyI wonder whether it is a bug, or I make something wrong?
Thx.