This repository was archived by the owner on Jul 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
This repository was archived by the owner on Jul 16, 2021. It is now read-only.
No Log output after neoDeploy failed #16
Copy link
Copy link
Open
Description
With the following Jenkinsfile wants to deploy the artifact to NEO, it fails and cannot write any logs.
@Library('piper-lib-os') _
node() {
stage('prepare') {
deleteDir()
checkout scm
setupCommonPipelineEnvironment script:this
}
stage('build') {
mtaBuild script: this
}
stage('neoDeploy') {
neoDeploy script: this
}
}ContainerConfig: [name:container-exec]
[Pipeline] container
[Pipeline] {
[Pipeline] echo
Unstash content: workspace-7ec3cfa4-6027-40b9-b452-2b092114de28
[Pipeline] unstash
[Pipeline] echo
[INFO][dockerExecute] Executing inside a Kubernetes Pod
[Pipeline] lock
Trying to acquire lock on [neoDeploy :eu1.hana.ondemand.com/acc1]
Lock acquired on [neoDeploy :eu1.hana.ondemand.com/acc1]
[Pipeline] {
[Pipeline] sh
+ mkdir -p logs/neo
[Pipeline] pwd
[Pipeline] withEnv
[Pipeline] {
[Pipeline] fileExists
[Pipeline] error
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] echo
Error while deploying to SAP Cloud Platform. Here are the neo.sh logs:
[Pipeline] sh
+ cat 'logs/neo/*'
cat: can't open 'logs/neo/*': No such file or directory
[Pipeline] }
Lock released on resource [neoDeploy :eu1.hana.ondemand.com/acc1]
[Pipeline] // lock
[Pipeline] sh
[Pipeline] stash
Stashed 61 file(s)
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] unstash
[Pipeline] libraryResource
[Pipeline] echo
----------------------------------------------------------
--- An error occurred in the library step: dockerExecuteOnKubernetes
----------------------------------------------------------
The following parameters were available to the step:
***
[script:WorkflowScript@1c3856a5, dockerImage:s4sdk/docker-neo-cli, dockerPullImage:true, stashContent:[workspace-7ec3cfa4-6027-40b9-b452-2b092114de28]]
***
The error was:
***
hudson.AbortException: script returned exit code 1
***
Further information:
* Documentation of library step dockerExecuteOnKubernetes: https://sap.github.io/jenkins-library/steps/dockerExecuteOnKubernetes/
* Source code of library step dockerExecuteOnKubernetes: https://github.com/SAP/jenkins-library/blob/master/vars/dockerExecuteOnKubernetes.groovy
* Library documentation: https://sap.github.io/jenkins-library/
* Library repository: https://github.com/SAP/jenkins-library/
Metadata
Metadata
Assignees
Labels
No labels