[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Máté Csanády commented on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins Hi Vineeth! Could you try it out? How did it go? Do sou need any help? Máté Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.2933.1575899880397%40Atlassian.JIRA.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad commented on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins Hi Máté! Phew, this is awesome! I will try it out and update you on how it goes..Thanks a bunch, really appreciate it. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.6115.1574677860255%40Atlassian.JIRA.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Máté Csanády commented on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins Hi Vineeth! I've fonund a workaround. I know, that it's not the solution, but solves your problem, while there is no fix for the bug. I run a groovy script on the server, that adds the job under the specified view. My code: view = "MyView" job = "MyJob" try: script = "import jenkins.model.Jenkins\nJenkins jenkins = Jenkins.getInstance()\nmyView = hudson.model.Hudson.instance.getView(\"" + view + "\")\nmyView.doAddJobToView(\"" + job + "\")" server.run_script(script) save = "import jenkins.model.Jenkins\nJenkins jenkins = Jenkins.getInstance()\njenkins.save()" server.run_script(save) except Exception, e: print("Cannot add job under the specified view\n" + str(e).decode("utf-8")) Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.6110.1574677560171%40Atlassian.JIRA.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad commented on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins Hi Máté! Thanks for chiming in. We haven't come up with any solution as yet. Hopefully this ticket gets attention of the right folks and prioritised to get fixed. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.5126.1574348700364%40Atlassian.JIRA.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Csanády Máté edited a comment on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins Hi Vineeth!I am suffering from the same problem.Have you come up with a solution since july?Thanks. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.5002.1574344680328%40Atlassian.JIRA.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Csanády Máté commented on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins Vineeth! I am suffering from the same problem. Have you come up with a solution since july? Thanks. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.4999.1574344680255%40Atlassian.JIRA.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Jan Niklas Hasse commented on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins I'm no longer using Jenkins. Can someone remove me as the Python plugin maintainer? Thanks. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.1794.1564149120114%40Atlassian.JIRA.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad commented on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins Looking forward to hearing on this strange behaviour. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.7889.1562841120108%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad commented on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins On checking the config.xml for the Dashboard view, the job shows up in the config.xml. But, when we refresh the view the job is not displayed. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.6553.1562754060331%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad edited a comment on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins On checking the config.xml for the Dashboard view, the job shows up in the config.xml. But, when we refresh the view , the added job is not displayed.!Screenshot 2019-07-10 at 3.46.25 PM.png|thumbnail! Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.6555.1562754120143%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad updated an issue Jenkins / JENKINS-58353 New jenkins job doesn't get added to the Dashboard view using Python Jenkins Change By: Vineeth Karkad Attachment: Screenshot 2019-07-10 at 3.46.25 PM.png Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.6551.1562754060291%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad commented on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins Hi Jan, If you could spare some time; Would you mind having a look? Thanks in advance. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.6174.1562732460107%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad edited a comment on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins Before proceeding with adding the new branch to Dashboard, I went about updating the view (Edit view option) and manually unchecked the jenkins job add to the Hotfixes view .Now, I will be re-running the tool to add the same branch to Dashboard view. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.2172.1562312520101%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad commented on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins Displaying Dashboard view after running the tool. As seen above in the snapshot the Dashboard view doesn't get updated. This is where I am puzzled as to what is amiss. Please advise. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.2170.1562312220141%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad updated an issue Jenkins / JENKINS-58353 New jenkins job doesn't get added to the Dashboard view using Python Jenkins Change By: Vineeth Karkad Attachment: Screenshot 2019-07-05 at 1.02.52 PM.png Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.2168.1562312040145%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad commented on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins releng26.builders bin> python edit_jenkins_view.py IMS Dashboard KPAIDI_DEVELOPMENT Project: IMS View: Dashboard Branch: KPAIDI_DEVELOPMENT <> Jobs in the all/job/IMS/view/Dashboard view 6_5_0-LINA 6_6_0-LINA DEV_PIPELINE DEVELOPMENT FAC GRADLE2 IMS_6_2_2_6 IMS_6_2_3 IMS_6_2_3_14 IMS_6_2_3_15 IMS_6_3_0_4 IMS_6_3_0_5 IMS_6_3_0_5_AEP IMS_6_4_0_2 IMS_6_4_0_3 IMS_6_4_0_4 IMS_6_5_0_IFT INTEG POLICY_APPLY SYBUPG TLS_13 VIN_INF1 VIN_INF2 VULNPATCH WR_LTS18 wr_rebase <> Jobs in the all/job/IMS/view/Dashboard view 6_5_0-LINA 6_6_0-LINA DEV_PIPELINE DEVELOPMENT FAC GRADLE2 IMS_6_2_2_6 IMS_6_2_3 IMS_6_2_3_14 IMS_6_2_3_15 IMS_6_3_0_4 IMS_6_3_0_5 IMS_6_3_0_5_AEP IMS_6_4_0_2 IMS_6_4_0_3 IMS_6_4_0_4 IMS_6_5_0_IFT INTEG POLICY_APPLY SYBUPG TLS_13 VIN_INF1 VIN_INF2 VULNPATCH WR_LTS18 wr_rebase Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.2166.1562311980108%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad commented on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins Displaying the Jobs part of the Dashboard view for reference (before running the tool to add to this view): Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.2164.1562311920656%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad updated an issue Jenkins / JENKINS-58353 New jenkins job doesn't get added to the Dashboard view using Python Jenkins Change By: Vineeth Karkad Attachment: Screenshot 2019-07-05 at 1.00.17 PM.png Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.2162.1562311920586%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad commented on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins Before proceeding with adding the new branch to Dashboard, I went about updating the view (Edit view option) and manually unchecked the jenkins job. Now, I will be re-running the tool to add the same branch to Dashboard view. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.2160.1562311800118%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad commented on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins After adding the new branch KPAIDI_DEVELOPMENT to the Hotfixes view. Works perfectly fine. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.2158.1562311620326%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad updated an issue Jenkins / JENKINS-58353 New jenkins job doesn't get added to the Dashboard view using Python Jenkins Change By: Vineeth Karkad Attachment: Screenshot 2019-07-05 at 12.55.37 PM.png Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.2156.1562311620303%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad commented on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins releng26.builders bin> python edit_jenkins_view.py IMS Hotfixes KPAIDI_DEVELOPMENT Project: IMS View: Hotfixes Branch: KPAIDI_DEVELOPMENT <> Jobs in the all/job/IMS/view/Hotfixes view 6.2.3-HOTFIX-BU 6.2.3-HOTFIX-CJ 6.2.3-HOTFIX-CN 6.2.3-HOTFIX-CP 6.2.3-HOTFIX-CQ 6.2.3-HOTFIX-CR 6.2.3-HOTFIX-CT 6.2.3-HOTFIX-CU 6.2.3-HOTFIX-CV 6.2.3-HOTFIX-CW 6.2.3-HOTFIX-CX 6.2.3-HOTFIX-CY 6.3.0-HOTFIX-C 6.3.0-HOTFIX-M 6.3.0-HOTFIX-S 6.3.0-HOTFIX-T 6.3.0-HOTFIX-U 6.3.0-HOTFIX-V 6.3.0-HOTFIX-W 6.3.0-HOTFIX-X 6.3.0-HOTFIX-Y 6.3.0-HOTFIX-Z 6.4.0-HOTFIX-A 6.4.0-HOTFIX-C 6.4.0-HOTFIX-D 6.4.0-HOTFIX-E 6.4.0-HOTFIX-F HOTFIX%20Branch%20Creation <> Jobs in the all/job/IMS/view/Hotfixes view 6.2.3-HOTFIX-BU 6.2.3-HOTFIX-CJ 6.2.3-HOTFIX-CN 6.2.3-HOTFIX-CP 6.2.3-HOTFIX-CQ 6.2.3-HOTFIX-CR 6.2.3-HOTFIX-CT 6.2.3-HOTFIX-CU 6.2.3-HOTFIX-CV 6.2.3-HOTFIX-CW 6.2.3-HOTFIX-CX 6.2.3-HOTFIX-CY 6.3.0-HOTFIX-C 6.3.0-HOTFIX-M 6.3.0-HOTFIX-S 6.3.0-HOTFIX-T 6.3.0-HOTFIX-U 6.3.0-HOTFIX-V 6.3.0-HOTFIX-W 6.3.0-HOTFIX-X 6.3.0-HOTFIX-Y 6.3.0-HOTFIX-Z 6.4.0-HOTFIX-A 6.4.0-HOTFIX-C 6.4.0-HOTFIX-D 6.4.0-HOTFIX-E 6.4.0-HOTFIX-F HOTFIX%20Branch%20Creation KPAIDI_DEVELOPMENT Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.2154.1562311500647%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad commented on JENKINS-58353 Re: New jenkins job doesn't get added to the Dashboard view using Python Jenkins Added attachment of all jobs in the Hotfixes view. This is before adding the new branch KPAIDI_DEVELOPMENT to the view. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.2149.1562311200245%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad updated an issue Jenkins / JENKINS-58353 New jenkins job doesn't get added to the Dashboard view using Python Jenkins Change By: Vineeth Karkad Attachment: Screenshot 2019-07-05 at 12.45.43 PM.png Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200468.1562310678000.2147.1562311020126%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-58353) New jenkins job doesn't get added to the Dashboard view using Python Jenkins
Title: Message Title Vineeth Karkad created an issue Jenkins / JENKINS-58353 New jenkins job doesn't get added to the Dashboard view using Python Jenkins Issue Type: Bug Assignee: Jan Niklas Hasse Components: python-plugin Created: 2019-07-05 07:11 Environment: Jenkins ver. 2.138.1 Priority: Major Reporter: Vineeth Karkad Hello there! We have a requirement where we add the jenkins job for the newly created branch to the Dashboard/Hotfixes view. The python tool when run for Hotfix branch gets added to the Hotfixes view cleanly. But, when we create a feature branch that has to get added to the Dashboard it doesn't get added. Note: Here view variable is either Dashboard or Hotfixes view_path = 'all/job/USM/view/{}'.format(view) view_cfg = server.get_view_config(view_path) update_cfg = [] for num, line in enumerate(view_cfg.splitlines(), start=1): if line.strip().startswith(''): spaces = ' ' * 4 update_cfg.append(u'{}{}'.format(spaces, branch)) update_cfg.append(line) server.reconfig_view(view_path, new_view_cfg) Here we read the conflig xml of the view we want the job to be added. Then, we add the new branch before the jobNames end in the config xml file. Lastly, we update the view using reconfig_view. Not sure why the new job doesn't get added to the Dashboard view. But works fine when we added it to say Hotfixes view. Please advise if I am missing something here.