-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Major
-
Component/s: pipeline-model-definition-plugin
-
Environment:blue ocean rc1
-
Blue Ocean 1.0-rc3
In my repository (https://github.com/bitwiseman/hermann), I went to edit an existing pipeline in the branch "blog/declarative/html".
In this pipeline I have the following:Â
post {
success {
// publish html
publishHTML target: [
allowMissing: false,
alwaysLinkToLastBuild: false,
keepAll: true,
reportDir: 'coverage',
reportFiles: 'index.html',
reportName: 'RCov Report'
]
}
}
I then saved that pipeline to the branch issue/blue-ocean-editor/html .
On save, the editor converted that to:
post {
success {
publishHTML([
allowMissing: false,
alwaysLinkToLastBuild: false,
keepAll: true,
reportDir: 'coverage',
reportFiles: 'index.html',
reportName: 'RCov Report'
])
}
}
Â
When I try to edit that converted pipeline again, I get the error shown in the attached screenshot and cannot edit the pipeline anymore.
- duplicates
-
JENKINS-41456 Declarative: publishHTML syntax does not work in post block
-
- Closed
-
- relates to
-
JENKINS-41456 Declarative: publishHTML syntax does not work in post block
-
- Closed
-