Search found 10 matches

by artem.lavilin
Mon Jun 29, 2020 12:36 pm
Forum: General
Topic: Branches hosts mask exclude
Replies: 2
Views: 3099

Re: Branches hosts mask exclude

Nice! It's work, thank you! :)
by artem.lavilin
Mon Jun 29, 2020 11:41 am
Forum: General
Topic: Branches hosts mask exclude
Replies: 2
Views: 3099

Branches hosts mask exclude

Hello :) ! Can i change hosts_mask_exclude in branch params with json-request protocol? { 'action': { 'type': 'branches', 'name': '/', 'params': { 'hosts_mask_exclude' : 'some_mask', } } } I got {u'info': {u'text': u'Invalid action.', u'kind': u'error'}}
by artem.lavilin
Thu Apr 16, 2020 5:59 pm
Forum: General
Topic: JSON Request for task
Replies: 12
Views: 10123

Re: JSON Request for task

Then, json to get information about the task will not work, only the option to look in gui. Understand.
Thanks :)
by artem.lavilin
Thu Apr 16, 2020 4:41 pm
Forum: General
Topic: JSON Request for task
Replies: 12
Views: 10123

Re: JSON Request for task

Yes, i know.
This post is about it and how to form a json-request to get information about a single task.
by artem.lavilin
Thu Apr 16, 2020 4:26 pm
Forum: General
Topic: JSON Request for task
Replies: 12
Views: 10123

Re: JSON Request for task

I need to see task through python.
by artem.lavilin
Thu Apr 16, 2020 4:20 pm
Forum: General
Topic: JSON Request for task
Replies: 12
Views: 10123

Re: JSON Request for task

Sorry, I do not get the information I wanted. I try request with block_id and task_id, but result is empty. I looked at the net-monitor. If i use only block_id, i get result (i get info only about tasks_num, tasks_name, etc). task_id doesn’t affect anything. How to get complete information about a s...
by artem.lavilin
Thu Apr 16, 2020 1:09 pm
Forum: General
Topic: JSON Request for task
Replies: 12
Views: 10123

Re: JSON Request for task

Thanks. I'll try look at the network log.
by artem.lavilin
Thu Apr 16, 2020 12:48 pm
Forum: General
Topic: JSON Request for task
Replies: 12
Views: 10123

Re: JSON Request for task

Maybe there is some easier way to get this information about task by Python Api?
by artem.lavilin
Thu Apr 16, 2020 12:37 pm
Forum: General
Topic: JSON Request for task
Replies: 12
Views: 10123

Re: JSON Request for task

Does this mean if I want to get information about tasks I need to get a block_num and task_num and then iterate over them? It's correctly? task_num= task['task_num'] block_num= task['block_num'] job_id = task['job_id'] get = { 'type': 'jobs', 'ids': [job_id], 'block_ids': range(0, block_num), 'tasks...
by artem.lavilin
Thu Apr 16, 2020 12:21 pm
Forum: General
Topic: JSON Request for task
Replies: 12
Views: 10123

JSON Request for task

Hello! How to form a json-request for all information about current task (time start, etc)? I looked at all the files in the examples folder, but did not find what I needed. Try this: { "get": { "type" : "jobs", "block_ids" : [1], "task_ids" : [0], &...