diff --git a/templates/tests/cypress-test-nc-oo.yaml b/templates/tests/cypress-test-nc-oo.yaml index b74d25abfd449901460d7e0da1c4886dfaab4e52..4fb3463c65823331a1cfefea0fe7e13978676996 100644 --- a/templates/tests/cypress-test-nc-oo.yaml +++ b/templates/tests/cypress-test-nc-oo.yaml @@ -62,11 +62,17 @@ spec: {{- end }} {{- if .Values.tests.cypress.commitInfo.message }} - name: COMMIT_INFO_MESSAGE - value: "{{ .Values.tests.cypress.commitInfo.message }}" + # Use yaml literal style, so we can have quotes in the string. + # Newlines might not be safe to include, but unlike the name suggests + # in Stackspin we set this value to only the commit title. + value: | + {{ .Values.tests.cypress.commitInfo.message }} {{- end }} {{- if .Values.tests.cypress.commitInfo.author }} - name: COMMIT_INFO_AUTHOR - value: "{{ .Values.tests.cypress.commitInfo.author }}" + # Use yaml literal style, so we can have quotes in the string. + value: | + {{ .Values.tests.cypress.commitInfo.author }} {{- end }} {{- if .Values.tests.cypress.commitInfo.sha }} - name: COMMIT_INFO_SHA