Syntax for archiving artifacts in the pipeline used to be
archiveArtifacts artifacts: '*/.log'
Now statements like this are simply silently ignored (build does not fail, it just does not do any archiving)
The Pipeline Syntax generator now seems to generate
step archiveArtifacts('*/.log')
Was this an intentional change (basically all pipelines need to be changed to the new way? Shouldn't at the very least the builds fail instead of silently ignoring archiving?
It used to work with LTS 2.73.2 and now fails with LTS 2.73.3
- duplicates
-
JENKINS-48115 disableConcurrentBuilds() within an options block is now broken, throws Groovy exception during Jenkinsfile parsing
-
- Closed
-
tario I believe this bug report is assigned to the wrong project. It is not a Jenkins website bug report. Could you assign it to the correct project?
The jenkins.io documentation uses an example of the form you described. If there has been a change that the form you described no longer works, I suspect that is an unintentional change.