Display Special characters In Description

Issue

I want to display Japanese Characters in the description of a Job

Environment

Resolution

It is possible to display Japanese characters in the description.
However there is a problem during Form Submission and you cannot use the UI.
To update the job description, you need to use the CLI/REST API to update the job.

  1. Example using the Jenkins CLI:

    java -jar jenkins-cli.jar -s http://localhost:8080/ update-job my-job < my-config.xml
    
  2. Example using the REST API:

    curl -v -X POST \
        --data-binary @my-config.xml \
        -u "user:$token" \
        -H 'Content-Type: application/xml' \
        "http://jenkins:port/job/my-job/config.xml"
    
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.