jenkins-library: CPS issue during piperPipelineInit [Was: buildResult stash is missing; Init step is failing]
We’re trying to use the general purpose pipiline and we’re failing in step Init.
Jenkinsfile:
@Library('piper-lib-os') _
piperPipeline script: this
.pipeline/config.yml
general:
collectTelemetryData: false
buildTool: 'mta'
productiveBranch: 'master'
verbose: true
steps:
...
The pipline is using a git located in bitbucket.
Thrown error is:
15:53:47 The error was:
15:53:47 ***
15:53:47 CpsCallableInvocation{methodName=call, call=com.cloudbees.groovy.cps.impl.CpsClosureDef@2d1eeb53, receiver=org.jenkinsci.plugins.workflow.cps.CpsClosure2@7a833339, arguments=[3]}
Error is located in setGitUrlsOnCommonPipelineEnvironment
of piperPipelineStageInit
.
We’re not sure why it’s thrown.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 44 (23 by maintainers)
Commits related to this issue
- Fix issue with deployment related stashing in `piperPipeline` relates to #1267 — committed to SAP/jenkins-library by OliverNocon 4 years ago
- Fix issue with deployment related stashing in `piperPipeline` (#1281) relates to #1267 — committed to SAP/jenkins-library by OliverNocon 4 years ago
@marcusholl Added
and it’s finding now the mtar. Think this should work without specifying it…
@T1mey: thanks for the update, I will discuss the details here internally …