Git Product home page Git Product logo

cicd-pipeline-train-schedule-cd's Introduction

cicd-pipeline-train-schedule-cd

This is a simple train schedule app written using nodejs. It is intended to be used as a sample application for a series of hands-on learning activities.

Running the app

You need a Java JDK 7 or later to run the build. You can run the build like this:

./gradlew build

You can run the app with:

./gradlew npm_start

Once it is running, you can access it in a browser at http://localhost:3000

cicd-pipeline-train-schedule-cd's People

Contributors

whboyd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cicd-pipeline-train-schedule-cd's Issues

Deployment with Jenkins Pipelines - ERROR

Hi, I'm trying to create a build from this repo, of course, I fork this repo,

this is the error in the example-solution branche

this is the error:

Started by user Alex Galperin
12:22:41 Connecting to https://api.github.com using alexg84/****** (ApiKey)
Obtained Jenkinsfile from d605ba9
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/hedule-new_example-solution-AJTN3DMYX7SSR7OKQ5LSL6WGI5LZWMO37HGD5IIEXLSYD4CRZE4Q@2
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/alexg84/cicd-pipeline-train-schedule-cd.git

git init /var/lib/jenkins/workspace/hedule-new_example-solution-AJTN3DMYX7SSR7OKQ5LSL6WGI5LZWMO37HGD5IIEXLSYD4CRZE4Q@2 # timeout=10
Fetching upstream changes from https://github.com/alexg84/cicd-pipeline-train-schedule-cd.git
git --version # timeout=10
using GIT_ASKPASS to set credentials ApiKey
git fetch --no-tags --progress https://github.com/alexg84/cicd-pipeline-train-schedule-cd.git +refs/heads/example-solution:refs/remotes/origin/example-solution
git config remote.origin.url https://github.com/alexg84/cicd-pipeline-train-schedule-cd.git # timeout=10
git config --add remote.origin.fetch +refs/heads/example-solution:refs/remotes/origin/example-solution # timeout=10
git config remote.origin.url https://github.com/alexg84/cicd-pipeline-train-schedule-cd.git # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/alexg84/cicd-pipeline-train-schedule-cd.git
using GIT_ASKPASS to set credentials ApiKey
git fetch --no-tags --progress https://github.com/alexg84/cicd-pipeline-train-schedule-cd.git +refs/heads/example-solution:refs/remotes/origin/example-solution
Checking out Revision d605ba9 (example-solution)
git config core.sparsecheckout # timeout=10
git checkout -f d605ba9
Commit message: "Implement CD pipeline"
git rev-list --no-walk d605ba9 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] echo
Running build automation
[Pipeline] sh
[hedule-new_example-solution-AJTN3DMYX7SSR7OKQ5LSL6WGI5LZWMO37HGD5IIEXLSYD4CRZE4Q@2] Running shell script

  • ./gradlew build --no-daemon
    :nodeSetupOpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000f7023000, 14405632, 0) failed; error='Cannot allocate memory' (errno=12)

There is insufficient memory for the Java Runtime Environment to continue.

Native memory allocation (mmap) failed to map 14405632 bytes for committing reserved memory.

An error report file with more information is saved as:

/var/lib/jenkins/workspace/hedule-new_example-solution-AJTN3DMYX7SSR7OKQ5LSL6WGI5LZWMO37HGD5IIEXLSYD4CRZE4Q@2/hs_err_pid5170.log

[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (DeployToStaging)
Stage "DeployToStaging" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (DeployToProduction)
Stage "DeployToProduction" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline

Could not update commit status, please check if your scan credentials belong to a member of the organization or a collaborator of the repository and repo:status scope is selected

GitHub has been notified of this commit’s build result

ERROR: script returned exit code 1
Finished: FAILURE

npm start error

the build was successful but unable to start the app with ./gradlew npm_start.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.