-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Continuous Integration
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform #75
-
Story Points:1
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" } }