You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
We have some commit message with "double quotes". It results in ant build erroring out:
[code_analysis] $ ant -file ca_build.xml -DBRANCH_TO_BUILD=feature/revert -DCOMMITS.0.ID=e18c2a1305d54ba996a54b9e4c3e4e89bacb6d00 -Dtotal_commits_count=1 '-DCOMMITS.0.MESSAGE=Revert "feat: show notice when hour cost of wt unknown"
This reverts commit af2a1b4d50bca0473217b78b3816f2517bf9d771.'
Buildfile: /var/lib/jenkins/workspace/develop/build/code_analysis/ca_build.xml
BUILD FAILED
Target "show" does not exist in the project "CodeAnalysis".
Can we somehow escape double quotes when sending a comit message from the gitlab to jenkins?
The text was updated successfully, but these errors were encountered:
Is that a parametrised job in some manner? Could you paste some details as how you are using this?
The part that parses commits messages is actually unmaintained, so I need some extra info to look after this issue.
Then we send it to Telegram using groovy posbuild. But in build we also use some ant script. All input parameters are passed to ant and failed build if there is double quotes in message as in first comment example.
Context
Gitlab-Hook plugin version: 1.4.2
Gitlab version: 8.17.4
Jenkins version: 2.49
Problem description
We have some commit message with "double quotes". It results in ant build erroring out:
Can we somehow escape double quotes when sending a comit message from the gitlab to jenkins?
The text was updated successfully, but these errors were encountered: