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

buildout builder: always use the specified config file

    XMLWordPrintable

Details

    Description

      Shiningpanda's buildout builder has a configuratin option for specifying a buildout configuration file. This file is used for bootstrapping the buildout, but not for building it later on. The same buildout configuration file needs to be used consistently.

      Attachments

        Activity

          Thanks! It's fixed in 0.11 (I just released it).

          mansion Olivier Mansion added a comment - Thanks! It's fixed in 0.11 (I just released it).

          Code changed in jenkins
          User: Olivier Mansion
          Path:
          src/main/java/jenkins/plugins/shiningpanda/interpreters/Virtualenv.java
          http://jenkins-ci.org/commit/shiningpanda-plugin/41df9a77408307b29679ef9240e70f24d835d7ff
          Log:
          fix JENKINS-13339

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Mansion Path: src/main/java/jenkins/plugins/shiningpanda/interpreters/Virtualenv.java http://jenkins-ci.org/commit/shiningpanda-plugin/41df9a77408307b29679ef9240e70f24d835d7ff Log: fix JENKINS-13339

          A possible fix can be found in this pull request.

          wichert Wichert Akkerman added a comment - A possible fix can be found in this pull request .
          wichert Wichert Akkerman added a comment - - edited

          I can confirm this. Here is a relevant snippet from the console output of a buildout job:

          "Console output snippet"
          [workspace] $ /var/lib/jenkins/shiningpanda/jobs/2aac66e2/buildouts/d0e5f276/bin/python /var/lib/jenkins/plugins/shiningpanda/WEB-INF/classes/jenkins/plugins/shiningpanda/workspace/bootstrap.py -c devel.cfg --distribute
          [workspace] $ /var/lib/jenkins/jobs/Euphorie/workspace/bin/buildout
          

          Notice how how the buildout command is missing the -c devel.cfg bit.

          wichert Wichert Akkerman added a comment - - edited I can confirm this. Here is a relevant snippet from the console output of a buildout job: "Console output snippet" [workspace] $ /var/lib/jenkins/shiningpanda/jobs/2aac66e2/buildouts/d0e5f276/bin/python /var/lib/jenkins/plugins/shiningpanda/WEB-INF/classes/jenkins/plugins/shiningpanda/workspace/bootstrap.py -c devel.cfg --distribute [workspace] $ /var/lib/jenkins/jobs/Euphorie/workspace/bin/buildout Notice how how the buildout command is missing the -c devel.cfg bit.

          People

            mansion Olivier Mansion
            tlotze Thomas Lotze
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: