Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-3676

Fix nuxeo 10.10 job due to missing python executable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Continuous Integration
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #75
    • Story Points:
      1

      Description

      Since the Jenkins & Jenkins agent upgrade within NXBT-3675, the nuxeo 10.10 job for pull requests is failing due to the absence of the python executable in the Jenkins agent.

      See the error we get on such builds:

      22:02:17  [Pipeline] stage
      22:02:17  [Pipeline] { (Initialization)
      22:02:17  [Pipeline] echo
      22:02:17  Clone addons
      22:02:17  [Pipeline] sh
      22:02:18  + ./clone.py fix-NXP-31388-dc-modified-when-trash -f 10.10
      22:02:18  /usr/bin/env: ‘python’: No such file or directory
      22:02:18  [Pipeline] }
      22:02:18  [Pipeline] // stage
      

      The cause is in the Initialization block which is missing a container step:

          stage('Initialization') {
            steps {
              echo 'Clone addons'
              sh "./clone.py ${CHANGE_BRANCH} -f ${CHANGE_TARGET}"
      
              echo 'Work around bower root issue'
              sh "echo '{ \"allow_root\": true }' > /home/jenkins/.bowerrc"
            }
          }
      

        Attachments

          Activity

            People

            • Assignee:
              kleturc Kevin Leturc
              Reporter:
              kleturc Kevin Leturc
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: