jenkins-job-builder/tests/loader/fixtures/include-raw001-template.json
Vsevolod Fedorov 36ea222763 Improve loader tests
Order of items in job dict depends on implementation specifics.
But test should not fail if implementation change.

Sort it so it won't depend on implementation.

Change-Id: I6decdf1225adcb14f888b787cfc10be66ae52a31
2023-12-01 10:53:25 +03:00

12 lines
500 B
JSON

[
{
"builders": [
{
"shell": "#!/bin/bash\n#\n# sample script to check that brackets aren't escaped\n# when using the include-raw application yaml tag\n\nVAR1=\"1\"\nVAR2=\"world\"\nVAR3=\"${VAR1} ${VAR2}\"\n\n[[ -n \"${VAR3}\" ]] && {\n # this next section is executed as one\n echo \"${VAR3}\"\n exit 0\n}\n"
}
],
"description": "<!-- Managed by Jenkins Job Builder -->",
"name": "test-job-include-raw-1"
}
]