Normalize newlines at end of file

Preparatory move for adopting pre-commit hooks.
Shoudl only remove newlines and spaces at end of files.

Change-Id: Ia33679467c533722b9308f7e7b74be395c926428
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
This commit is contained in:
Sorin Sbarnea 2018-06-29 15:56:27 +01:00 committed by Thanh Ha
parent ac0d4c99ef
commit c2781e670f
No known key found for this signature in database
GPG Key ID: B0CB27E00DA095AA
194 changed files with 158 additions and 206 deletions

View File

@ -20,4 +20,3 @@ Indices and tables
* :ref:`genindex` * :ref:`genindex`
* :ref:`modindex` * :ref:`modindex`
* :ref:`search` * :ref:`search`

View File

@ -13,4 +13,3 @@ builders:
use-build-time: true use-build-time: true
steps: steps:
- shell: "sl" - shell: "sl"

View File

@ -4,4 +4,3 @@ builders:
steps: steps:
- shell: 'first command' - shell: 'first command'
- shell: 'second command' - shell: 'second command'

View File

@ -7,4 +7,3 @@ builders:
condition-basedir: workspace condition-basedir: workspace
steps: steps:
- shell: "touch $WORKSPACE/mytestfile" - shell: "touch $WORKSPACE/mytestfile"

View File

@ -17,4 +17,3 @@ builders:
condition-basedir: "jenkins-home" condition-basedir: "jenkins-home"
steps: steps:
- shell: "sl" - shell: "sl"

View File

@ -10,4 +10,3 @@ builders:
skip-tag: false skip-tag: false
file-path: '/tmp/' file-path: '/tmp/'
build-context: '/tmp/' build-context: '/tmp/'

View File

@ -16,4 +16,3 @@ builders:
server: server:
uri: 'unix:///var/run/docker.sock' uri: 'unix:///var/run/docker.sock'
credentials-id: 'docker-server' credentials-id: 'docker-server'

View File

@ -19,8 +19,9 @@ username=fedora-atomic
&quot;namespace&quot;: &quot;rpms&quot;, &quot;namespace&quot;: &quot;rpms&quot;,
&quot;repo&quot;: &quot;php-simplepie&quot;, &quot;repo&quot;: &quot;php-simplepie&quot;,
&quot;status&quot;: &quot;&lt;success/failure/aborted&gt;&quot;, &quot;status&quot;: &quot;&lt;success/failure/aborted&gt;&quot;,
&quot;test_guidance&quot;: &quot;&lt;comma-separated-list-of-test-suites-to-run&gt;&quot;} &quot;test_guidance&quot;: &quot;&lt;comma-separated-list-of-test-suites-to-run&gt;&quot;
}</messageContent> }
</messageContent>
</com.redhat.jenkins.plugins.ci.CIMessageBuilder> </com.redhat.jenkins.plugins.ci.CIMessageBuilder>
</builders> </builders>
</project> </project>

View File

@ -16,5 +16,5 @@ builders:
"namespace": "rpms", "namespace": "rpms",
"repo": "php-simplepie", "repo": "php-simplepie",
"status": "<success/failure/aborted>", "status": "<success/failure/aborted>",
"test_guidance": "<comma-separated-list-of-test-suites-to-run>"} "test_guidance": "<comma-separated-list-of-test-suites-to-run>"
} }

View File

@ -2,4 +2,3 @@ builders:
- tox: - tox:
ini: "foo.conf" ini: "foo.conf"
toxenv-pattern: TOX_ENV toxenv-pattern: TOX_ENV

View File

@ -18,4 +18,3 @@
name: duplicate_macros name: duplicate_macros
scm: scm:
- project-scm - project-scm

View File

@ -18,4 +18,3 @@
name: duplicate_macros name: duplicate_macros
scm: scm:
- project-scm - project-scm

View File

@ -7,7 +7,7 @@
"shell": "#!/bin/bash\n#\n# Sample script showing how the yaml include-raw tag can be used\n# to inline scripts that are maintained outside of the jenkins\n# job yaml configuration.\n\necho \"hello world\"\n\nexit 0\n" "shell": "#!/bin/bash\n#\n# Sample script showing how the yaml include-raw tag can be used\n# to inline scripts that are maintained outside of the jenkins\n# job yaml configuration.\n\necho \"hello world\"\n\nexit 0\n"
}, },
{ {
"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=\"hello\"\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\n" "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=\"hello\"\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"
} }
] ]
} }

View File

@ -7,7 +7,7 @@
"shell": "#!/bin/bash\n#\n# Sample script showing how the yaml include-raw tag can be used\n# to inline scripts that are maintained outside of the jenkins\n# job yaml configuration.\n\necho \"hello world\"\n\nexit 0\n" "shell": "#!/bin/bash\n#\n# Sample script showing how the yaml include-raw tag can be used\n# to inline scripts that are maintained outside of the jenkins\n# job yaml configuration.\n\necho \"hello world\"\n\nexit 0\n"
}, },
{ {
"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=\"hello\"\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\n" "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=\"hello\"\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"
} }
] ]
} }

View File

@ -4,7 +4,7 @@
"name": "test-job-include-raw-{num}", "name": "test-job-include-raw-{num}",
"builders": [ "builders": [
{ {
"shell": "#!/bin/bash\n#\n# Sample script showing how the yaml include-raw tag can be used\n# to inline scripts that are maintained outside of the jenkins\n# job yaml configuration.\n\necho \"hello world\"\n\nexit 0\n\n#!/bin/bash\n#\n# sample script to check that brackets aren't escaped\n# when using the include-raw application yaml tag\n\nVAR1=\"hello\"\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\n" "shell": "#!/bin/bash\n#\n# Sample script showing how the yaml include-raw tag can be used\n# to inline scripts that are maintained outside of the jenkins\n# job yaml configuration.\n\necho \"hello world\"\n\nexit 0\n\n#!/bin/bash\n#\n# sample script to check that brackets aren't escaped\n# when using the include-raw application yaml tag\n\nVAR1=\"hello\"\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"
} }
] ]
} }

View File

@ -7,7 +7,7 @@
"shell": "#!/bin/bash\n#\n# Sample script showing how the yaml include-raw tag can be used\n# to inline scripts that are maintained outside of the jenkins\n# job yaml configuration.\n\necho \"hello world\"\n\nexit 0\n" "shell": "#!/bin/bash\n#\n# Sample script showing how the yaml include-raw tag can be used\n# to inline scripts that are maintained outside of the jenkins\n# job yaml configuration.\n\necho \"hello world\"\n\nexit 0\n"
}, },
{ {
"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=\"hello\"\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\n" "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=\"hello\"\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"
} }
] ]
} }

View File

@ -4,7 +4,7 @@
"name": "test-job-include-raw-1", "name": "test-job-include-raw-1",
"builders": [ "builders": [
{ {
"shell": "#!/bin/bash\n#\n# Sample script showing how the yaml include-raw tag can be used\n# to inline scripts that are maintained outside of the jenkins\n# job yaml configuration.\n\necho \"hello world\"\n\nexit 0\n\n#!/bin/bash\n#\n# sample script to check that brackets aren't escaped\n# when using the include-raw application yaml tag\n\nVAR1=\"hello\"\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\n" "shell": "#!/bin/bash\n#\n# Sample script showing how the yaml include-raw tag can be used\n# to inline scripts that are maintained outside of the jenkins\n# job yaml configuration.\n\necho \"hello world\"\n\nexit 0\n\n#!/bin/bash\n#\n# sample script to check that brackets aren't escaped\n# when using the include-raw application yaml tag\n\nVAR1=\"hello\"\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"
} }
] ]
} }

View File

@ -12,4 +12,3 @@ VAR3="${VAR1} ${VAR2}"
echo "${VAR3}" echo "${VAR3}"
exit 0 exit 0
} }

View File

@ -7,7 +7,7 @@
"shell": "#!/bin/bash\n#\n# Sample script showing how the yaml include-raw tag can be used\n# to inline scripts that are maintained outside of the jenkins\n# job yaml configuration.\n\necho \"hello world\"\n\nexit 0\n" "shell": "#!/bin/bash\n#\n# Sample script showing how the yaml include-raw tag can be used\n# to inline scripts that are maintained outside of the jenkins\n# job yaml configuration.\n\necho \"hello world\"\n\nexit 0\n"
}, },
{ {
"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=\"hello\"\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\n" "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=\"hello\"\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"
} }
] ]
} }

View File

@ -5,4 +5,3 @@ scm:
repo: 'foo' repo: 'foo'
repo-owner: 'johndoe' repo-owner: 'johndoe'
discover-pr-forks-strategy: false discover-pr-forks-strategy: false

View File

@ -8,4 +8,3 @@ parameters:
- slave003 - slave003
ignore-offline-nodes: true ignore-offline-nodes: true
allowed-multiselect: true allowed-multiselect: true

View File

@ -8,4 +8,3 @@ parameters:
- slave003 - slave003
ignore-offline-nodes: true ignore-offline-nodes: true
allowed-multiselect: false allowed-multiselect: false

View File

@ -2,4 +2,3 @@ properties:
- branch-api: - branch-api:
time-period: Day time-period: Day
number-of-builds: 5 number-of-builds: 5

View File

@ -10,4 +10,3 @@ publishers:
commandline: allure2 commandline: allure2
report-build-policy: UNSTABLE report-build-policy: UNSTABLE
include-properties: true include-properties: true

View File

@ -31,4 +31,3 @@ publishers:
env-vars-include: true env-vars-include: true
env-vars-include-patterns: [] env-vars-include-patterns: []
env-vars-exclude-patterns: [] env-vars-exclude-patterns: []

View File

@ -6,4 +6,3 @@ publishers:
remove-prefix: 'base/source/dir' remove-prefix: 'base/source/dir'
excludes: '**/*.excludedfiletype' excludes: '**/*.excludedfiletype'
flatten: true flatten: true

View File

@ -15,4 +15,3 @@ publishers:
action: action:
- aggregate-tests: - aggregate-tests:
include-failed-builds: true include-failed-builds: true

View File

@ -8,4 +8,3 @@ publishers:
allow-empty: 'true' allow-empty: 'true'
- aggregate-tests: - aggregate-tests:
include-failed-builds: true include-failed-builds: true

View File

@ -7,4 +7,3 @@ publishers:
- archive: - archive:
artifacts: '**/**' artifacts: '**/**'
allow-empty: 'true' allow-empty: 'true'

View File

@ -7,4 +7,3 @@ publishers:
- archive: - archive:
artifacts: '**/**' artifacts: '**/**'
allow-empty: 'true' allow-empty: 'true'

View File

@ -6,4 +6,3 @@ publishers:
remove-prefix: 'base/source/dir' remove-prefix: 'base/source/dir'
excludes: '**/*.excludedfiletype' excludes: '**/*.excludedfiletype'
flatten: true flatten: true

View File

@ -20,7 +20,7 @@ username=fedora-atomic
&quot;repo&quot;: &quot;php-simplepie&quot;, &quot;repo&quot;: &quot;php-simplepie&quot;,
&quot;status&quot;: &quot;&lt;success/failure/aborted&gt;&quot;, &quot;status&quot;: &quot;&lt;success/failure/aborted&gt;&quot;,
&quot;test_guidance&quot;: &quot;&lt;comma-separated-list-of-test-suites-to-run&gt;&quot;} &quot;test_guidance&quot;: &quot;&lt;comma-separated-list-of-test-suites-to-run&gt;&quot;}
}</messageContent> </messageContent>
</com.redhat.jenkins.plugins.ci.CIMessageNotifier> </com.redhat.jenkins.plugins.ci.CIMessageNotifier>
</publishers> </publishers>
</project> </project>

View File

@ -17,4 +17,3 @@ publishers:
"repo": "php-simplepie", "repo": "php-simplepie",
"status": "<success/failure/aborted>", "status": "<success/failure/aborted>",
"test_guidance": "<comma-separated-list-of-test-suites-to-run>"} "test_guidance": "<comma-separated-list-of-test-suites-to-run>"}
}

View File

@ -9,4 +9,3 @@ publishers:
command: 'rm -r jenkins_$BUILD_NUMBER' command: 'rm -r jenkins_$BUILD_NUMBER'
timeout: 1800000 timeout: 1800000
flatten: true flatten: true

View File

@ -2,4 +2,3 @@ triggers:
- jms-messaging: - jms-messaging:
selector: topic = "org.fedoraproject.prod.fedimg.image.upload" selector: topic = "org.fedoraproject.prod.fedimg.image.upload"
provider-name: fedmsg provider-name: fedmsg

View File

@ -6,4 +6,3 @@ triggers:
enable-concurrent: true enable-concurrent: true
label: master label: master
exit-code: 0 exit-code: 0

View File

@ -5,4 +5,3 @@ triggers:
enable-concurrent: False enable-concurrent: False
label: master label: master
exit-code: 0 exit-code: 0

View File

@ -11,4 +11,3 @@ wrappers:
env-vars-include-patterns: env-vars-include-patterns:
- 'PROJECT_*' - 'PROJECT_*'
- 'ORG_*' - 'ORG_*'

View File

@ -5,4 +5,3 @@ wrappers:
job-passwords: job-passwords:
- name: ADMIN - name: ADMIN
password: 0v8ZCNaHwq1hcx+sHwRLdg9424uBh4Pin0zO4sBIb+U= password: 0v8ZCNaHwq1hcx+sHwRLdg9424uBh4Pin0zO4sBIb+U=

View File

@ -8,4 +8,3 @@
builders: builders:
- shell: - shell:
!include ./allow_empty_variables_include.sh !include ./allow_empty_variables_include.sh

View File

@ -42,4 +42,3 @@
defaults: myproject2 defaults: myproject2
builders: builders:
- shell: "echo 'confVersion: {confversion} & fooVersion: {fooversion}'" - shell: "echo 'confVersion: {confversion} & fooVersion: {fooversion}'"

View File

@ -16,5 +16,3 @@
echo "Variable: {test_var|Hello World}" echo "Variable: {test_var|Hello World}"
echo "Allow empty Variable: {test_var|}" echo "Allow empty Variable: {test_var|}"
echo "show that we expand for num: {num}" echo "show that we expand for num: {num}"

View File

@ -19,4 +19,3 @@
num: 1 num: 1
jobs: jobs:
- 'test-job-{num}' - 'test-job-{num}'

View File

@ -1,3 +1,2 @@
[job_builder] [job_builder]
include_path=tests/yamlparser/fixtures:tests/yamlparser/fixtures/other_include_path include_path=tests/yamlparser/fixtures:tests/yamlparser/fixtures/other_include_path

View File

@ -1,5 +1,2 @@
[job_builder] [job_builder]
include_path=tests/yamlparser/fixtures/other_include_path:tests/yamlparser/fixtures include_path=tests/yamlparser/fixtures/other_include_path:tests/yamlparser/fixtures

View File

@ -31,4 +31,3 @@
#!/usr/bin/env python #!/usr/bin/env python
# #
print("Doing something else cool with python") print("Doing something else cool with python")

View File

@ -9,4 +9,3 @@
clean: true clean: true
script-path: Jenkinsfile.groovy script-path: Jenkinsfile.groovy
lightweight-checkout: true lightweight-checkout: true

View File

@ -12,4 +12,3 @@
name: 'scm_remote_deep_bug_jobs' name: 'scm_remote_deep_bug_jobs'
jobs: jobs:
- 'scm_remote_deep_bug_tpl' - 'scm_remote_deep_bug_tpl'

View File

@ -28,4 +28,3 @@
echo "Job name: template-test-ids-{num}-{type}" echo "Job name: template-test-ids-{num}-{type}"
- shell: | - shell: |
echo "{test_var}" echo "{test_var}"

View File

@ -18,6 +18,3 @@
echo "{{defined_var|-1}}" echo "{{defined_var|-1}}"
echo "{{undefined_var|+1}}" echo "{{undefined_var|+1}}"
echo "{{undefined_var|-1}}" echo "{{undefined_var|-1}}"

View File

@ -12,6 +12,3 @@
echo "{{defined_var|def}}" echo "{{defined_var|def}}"
echo "{{undefined_var|def}}" echo "{{undefined_var|def}}"
echo "{{undefined_var|defined_var}}" echo "{{undefined_var|defined_var}}"