Skip to content

Deployment with Jenkins Pipelines - ERROR  #9

Description

@alexg84

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions