Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Retag Job after it finished

Hi there,
is it possible to change a tag of a job after it finished?
We just started using .retag for actual builds but it would also be nice if we could retag historic job tags for having consistent names.

Thanks in advance for your reply
Hauke

0 votes



3 answers

Permanent link
I suppose you could add a .retag step and "restart" the job running only the .retag step (make sure you set "sync commands" to yes).

0 votes


Permanent link
New steps are not recognized but also if I try to add a retag command to an existing step the sync command does not lead to a change of the command.
Do we have to change something in the configeration to let it work?

0 votes


Permanent link
New steps are not recognized but also if I try to add a retag command to an existing step the sync command does not lead to a change of the command.
Do we have to change something in the configeration to let it work?



There is a known defect where sync-command doesn't take effect in inlined projects. You could try it in a top-level step.

The only other option to modify tags of completed builds is direct DB manipulation. the builds and their associated tags are stored in the BF_BUILDS table. Be very careful modifying this data as you can cause yourself problems that support can't solve. If you modify the tag (BF_TAG), make sure your where clause identifies the record by the BF_ID column.

and ALWAYS ALWAYS ALWAYS backup your database before doing something like this.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 09 '11, 4:00 a.m.

Question was seen: 4,256 times

Last updated: Aug 09 '11, 4:00 a.m.

Confirmation Cancel Confirm