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

Automatically install necessary plugins when importing jobs

    XMLWordPrintable

Details

    Description

      JobImportAction.doImport should call PluginManager.prevalidateConfig (in Jenkins 1.483+) to ensure that all plugins used by the job are in fact available on the local Jenkins server.

      Attachments

        Issue Links

          Activity

            jglick Jesse Glick created issue -
            jieryn jieryn made changes -
            Field Original Value New Value
            Assignee jieryn [ jieryn ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 152688 ] JNJira + In-Review [ 178289 ]

            Job dependencies (such as plugins) are critical in making the import truly useful. In addition, jobs can depend on a variety of other Jenkins components such as internal (scriptler scripts) and external scripts, global properties, tools etc. The plugin should at least generate a report of these dependencies so that the user can address them to have a functioning job on the destination server.

            ioannis Ioannis Moutsatsos added a comment - Job dependencies (such as plugins) are critical in making the import truly useful. In addition, jobs can depend on a variety of other Jenkins components such as internal (scriptler scripts) and external scripts, global properties, tools etc. The plugin should at least generate a report of these dependencies so that the user can address them to have a functioning job on the destination server.
            escoem Emilio Escobar made changes -
            Assignee Emilio Escobar [ escoem ]
            escoem Emilio Escobar made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            escoem Emilio Escobar made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]

            Code changed in jenkins
            User: Emilio Escobar
            Path:
            src/main/java/org/jenkins/ci/plugins/jobimport/JobImportAction.java
            src/main/resources/org/jenkins/ci/plugins/jobimport/JobImportAction/index.jelly
            http://jenkins-ci.org/commit/job-import-plugin/2173d0b6f01d859fb3f9cbb8747aa3db915357f3
            Log:
            [DONE JENKINS-20877] install plugins if required

            *NOTE:* This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

            Functionality will be removed from GitHub.com on January 31st, 2019.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Emilio Escobar Path: src/main/java/org/jenkins/ci/plugins/jobimport/JobImportAction.java src/main/resources/org/jenkins/ci/plugins/jobimport/JobImportAction/index.jelly http://jenkins-ci.org/commit/job-import-plugin/2173d0b6f01d859fb3f9cbb8747aa3db915357f3 Log: [DONE JENKINS-20877] install plugins if required * NOTE: * This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
            escoem Emilio Escobar made changes -
            Remote Link This issue links to "PR-23 (Web Link)" [ 20764 ]
            escoem Emilio Escobar made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]

            People

              escoem Emilio Escobar
              jglick Jesse Glick
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: