Build -> Core -> EncService (Problem within the docker container used in build) #78
-
System Configuration Details:
@gandham-santhosh and @keshavprasadms Jenkins Log: Started by user Admin Deployer
[Pipeline] stage
Step 1/8 : FROM node:6.14.4 WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Ign:1 http://deb.debian.org/debian stretch InRelease WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... npm ERR! Linux 5.4.0-1086-gcp npm ERR! ENOTDIR: not a directory, open '/home/enc/node_modules/.staging/@types/node-54e63457/package.json' npm ERR! Please include the following file with any support request: [Pipeline] // ansiColor |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Please try with this release tag - https://github.com/project-sunbird/enc-service/releases/tag/release-3.8.0_RC1. The same is mentioned in docs also.
Do check the jenkins job configuration and check if the branch is hardcoded as |
Beta Was this translation helpful? Give feedback.
-
@keshavprasadms The job had the configuration of ${github_release_tag}, however I still changed it to release-3.8.0_RC1 and I am now getting the following error. Jenkins Logs: Started by user Admin Deployer
[Pipeline] stage
Step 1/8 : FROM node:6.14.4 WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Ign:1 http://deb.debian.org/debian stretch InRelease WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... npm ERR! Linux 5.4.0-1086-gcp npm ERR! ENOTDIR: not a directory, open '/home/enc/node_modules/.staging/@types/node-54e63457/package.json' npm ERR! Please include the following file with any support request: [Pipeline] // ansiColor |
Beta Was this translation helpful? Give feedback.
-
Hi, even after commenting the suggested lines as shown in below script, getting the same error ERROR: No artifacts found that match the file pattern "metadata.json". Configuration error?
} Errror LogsStarted by user Pawan Verma [Pipeline] stage
[Pipeline] // ansiColor |
Beta Was this translation helpful? Give feedback.
-
Ok, one additional change. Please first run the job as usual and let the job fail. Next go to jenkins workspace and edit the build.sh file and comment out https://github.com/project-sunbird/enc-service/blob/release-3.8.0/build.sh#L10 We need the |
Beta Was this translation helpful? Give feedback.
Ok, one additional change. Please first run the job as usual and let the job fail. Next go to jenkins workspace and edit the build.sh file and comment out https://github.com/project-sunbird/enc-service/blob/release-3.8.0/build.sh#L10
Now please comment out these lines of code in jenkins job replay and and run.
https://github.com/project-sunbird/enc-service/blob/release-3.8.0/Jenkinsfile#L17
https://github.com/project-sunbird/enc-service/blob/release-3.8.0/Jenkinsfile#L19
https://github.com/project-sunbird/enc-service/blob/release-3.8.0/Jenkinsfile#L26
We need the
metadata.json
file to be archived. The file gets created here - https://github.com/project-sunbird/enc-service/blob/release-3.8…