Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48659

convert-to-pipeline not recognizing freestyle jobs

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Not A Defect
    • Labels:
      None
    • Environment:
      Jenkins 2.97, Ubuntu 14.04.3, all updates performed
    • Similar Issues:

      Description

      At the top-level and at the folder level, the first step is to select the new job name and the job that I wish to convert.  For unknown reasons, it is not putting what is clearly a freestyle job into the dropdown list, and I cannot proceed.

      I have attached some screenshots showing the clear presence of the freestyle job "libhyperscan-e", the dropdown showing the lack of the job to convert, and the execution part of the freestyle job to convert.

      What else can I provide to help with the investigation?

        Attachments

          Activity

          Hide
          mohit_dharamshi Mohit Dharamshi added a comment -

          1) There is also the 3rd option to navigate to the freestyle job itself and then click on "Convert This Job To Pipeline". Does this solve the problem or the link is not available for this particular job?

          2) Ensure that the "libhyperscan-e" job is a freestyle job and not a matrix / multi-configuration project. The plugin currently does not support this type of job which may be a reason as to why it is not being listed or the link in action 1 above may not be visible. Multi-configuration projects yield very similar screenshots to what you have provided.

          3) Could you share the config.xml of the freestyle job that is not being detected. You may remove any confidential information from it.

          Show
          mohit_dharamshi Mohit Dharamshi added a comment - 1) There is also the 3rd option to navigate to the freestyle job itself and then click on "Convert This Job To Pipeline". Does this solve the problem or the link is not available for this particular job? 2) Ensure that the "libhyperscan-e" job is a freestyle job and not a matrix / multi-configuration project. The plugin currently does not support this type of job which may be a reason as to why it is not being listed or the link in action 1 above may not be visible. Multi-configuration projects yield very similar screenshots to what you have provided. 3) Could you share the config.xml of the freestyle job that is not being detected. You may remove any confidential information from it.
          Hide
          alt_jmellor John Mellor added a comment -

          You're right.  I missed the fact that almost all of the 350 jobs that I need to convert are multi-configuration jobs instead of freestyle jobs.  Not-a-bug.

          Show
          alt_jmellor John Mellor added a comment - You're right.  I missed the fact that almost all of the 350 jobs that I need to convert are multi-configuration jobs instead of freestyle jobs.  Not-a-bug.

            People

            • Assignee:
              mohit_dharamshi Mohit Dharamshi
              Reporter:
              alt_jmellor John Mellor
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: