Jenkins 2.255
P4Plugin for Jenkins 1.11.0
When setting utf8-bom in charset, files with unicode filetype (see unicode.png) are written in the workspace without any utf8 BOM (see utf8_bom_missing.png). This is not reproducible with p4v (see utf8_bom.png).
I reproduced this issue with the following Pipeline script:
pipeline {
agent any
stages {
stage('sync'){
steps
{ p4sync charset: 'utf8-bom', credential: '192.168.1.7', populate: autoClean(delete: true, modtime: false, parallel: [enable: false, minbytes: '1024', minfiles: '1', threads: '4'], pin: '', quiet: true, replace: true, tidy: false), source: depotSource('//depot/...') }}
}
}
This could be related to https://issues.jenkins-ci.org/browse/JENKINS-49141