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:
parent
ac0d4c99ef
commit
c2781e670f
@ -20,4 +20,3 @@ Indices and tables
|
||||
* :ref:`genindex`
|
||||
* :ref:`modindex`
|
||||
* :ref:`search`
|
||||
|
||||
|
@ -13,4 +13,3 @@ builders:
|
||||
use-build-time: true
|
||||
steps:
|
||||
- shell: "sl"
|
||||
|
||||
|
@ -4,4 +4,3 @@ builders:
|
||||
steps:
|
||||
- shell: 'first command'
|
||||
- shell: 'second command'
|
||||
|
||||
|
@ -7,4 +7,3 @@ builders:
|
||||
condition-basedir: workspace
|
||||
steps:
|
||||
- shell: "touch $WORKSPACE/mytestfile"
|
||||
|
||||
|
@ -17,4 +17,3 @@ builders:
|
||||
condition-basedir: "jenkins-home"
|
||||
steps:
|
||||
- shell: "sl"
|
||||
|
||||
|
@ -10,4 +10,3 @@ builders:
|
||||
skip-tag: false
|
||||
file-path: '/tmp/'
|
||||
build-context: '/tmp/'
|
||||
|
||||
|
@ -16,4 +16,3 @@ builders:
|
||||
server:
|
||||
uri: 'unix:///var/run/docker.sock'
|
||||
credentials-id: 'docker-server'
|
||||
|
||||
|
@ -19,8 +19,9 @@ username=fedora-atomic
|
||||
"namespace": "rpms",
|
||||
"repo": "php-simplepie",
|
||||
"status": "<success/failure/aborted>",
|
||||
"test_guidance": "<comma-separated-list-of-test-suites-to-run>"}
|
||||
}</messageContent>
|
||||
"test_guidance": "<comma-separated-list-of-test-suites-to-run>"
|
||||
}
|
||||
</messageContent>
|
||||
</com.redhat.jenkins.plugins.ci.CIMessageBuilder>
|
||||
</builders>
|
||||
</project>
|
@ -16,5 +16,5 @@ builders:
|
||||
"namespace": "rpms",
|
||||
"repo": "php-simplepie",
|
||||
"status": "<success/failure/aborted>",
|
||||
"test_guidance": "<comma-separated-list-of-test-suites-to-run>"}
|
||||
"test_guidance": "<comma-separated-list-of-test-suites-to-run>"
|
||||
}
|
@ -2,4 +2,3 @@ builders:
|
||||
- tox:
|
||||
ini: "foo.conf"
|
||||
toxenv-pattern: TOX_ENV
|
||||
|
||||
|
@ -18,4 +18,3 @@
|
||||
name: duplicate_macros
|
||||
scm:
|
||||
- project-scm
|
||||
|
||||
|
@ -18,4 +18,3 @@
|
||||
name: duplicate_macros
|
||||
scm:
|
||||
- project-scm
|
||||
|
||||
|
@ -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 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -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 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
"name": "test-job-include-raw-{num}",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -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 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
"name": "test-job-include-raw-1",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -12,4 +12,3 @@ VAR3="${VAR1} ${VAR2}"
|
||||
echo "${VAR3}"
|
||||
exit 0
|
||||
}
|
||||
|
||||
|
@ -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 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -5,4 +5,3 @@ scm:
|
||||
repo: 'foo'
|
||||
repo-owner: 'johndoe'
|
||||
discover-pr-forks-strategy: false
|
||||
|
||||
|
@ -8,4 +8,3 @@ parameters:
|
||||
- slave003
|
||||
ignore-offline-nodes: true
|
||||
allowed-multiselect: true
|
||||
|
||||
|
@ -8,4 +8,3 @@ parameters:
|
||||
- slave003
|
||||
ignore-offline-nodes: true
|
||||
allowed-multiselect: false
|
||||
|
||||
|
@ -2,4 +2,3 @@ properties:
|
||||
- branch-api:
|
||||
time-period: Day
|
||||
number-of-builds: 5
|
||||
|
||||
|
@ -10,4 +10,3 @@ publishers:
|
||||
commandline: allure2
|
||||
report-build-policy: UNSTABLE
|
||||
include-properties: true
|
||||
|
||||
|
@ -31,4 +31,3 @@ publishers:
|
||||
env-vars-include: true
|
||||
env-vars-include-patterns: []
|
||||
env-vars-exclude-patterns: []
|
||||
|
||||
|
@ -6,4 +6,3 @@ publishers:
|
||||
remove-prefix: 'base/source/dir'
|
||||
excludes: '**/*.excludedfiletype'
|
||||
flatten: true
|
||||
|
||||
|
@ -15,4 +15,3 @@ publishers:
|
||||
action:
|
||||
- aggregate-tests:
|
||||
include-failed-builds: true
|
||||
|
||||
|
@ -8,4 +8,3 @@ publishers:
|
||||
allow-empty: 'true'
|
||||
- aggregate-tests:
|
||||
include-failed-builds: true
|
||||
|
||||
|
@ -7,4 +7,3 @@ publishers:
|
||||
- archive:
|
||||
artifacts: '**/**'
|
||||
allow-empty: 'true'
|
||||
|
||||
|
@ -7,4 +7,3 @@ publishers:
|
||||
- archive:
|
||||
artifacts: '**/**'
|
||||
allow-empty: 'true'
|
||||
|
||||
|
@ -6,4 +6,3 @@ publishers:
|
||||
remove-prefix: 'base/source/dir'
|
||||
excludes: '**/*.excludedfiletype'
|
||||
flatten: true
|
||||
|
||||
|
@ -20,7 +20,7 @@ username=fedora-atomic
|
||||
"repo": "php-simplepie",
|
||||
"status": "<success/failure/aborted>",
|
||||
"test_guidance": "<comma-separated-list-of-test-suites-to-run>"}
|
||||
}</messageContent>
|
||||
</messageContent>
|
||||
</com.redhat.jenkins.plugins.ci.CIMessageNotifier>
|
||||
</publishers>
|
||||
</project>
|
@ -17,4 +17,3 @@ publishers:
|
||||
"repo": "php-simplepie",
|
||||
"status": "<success/failure/aborted>",
|
||||
"test_guidance": "<comma-separated-list-of-test-suites-to-run>"}
|
||||
}
|
@ -9,4 +9,3 @@ publishers:
|
||||
command: 'rm -r jenkins_$BUILD_NUMBER'
|
||||
timeout: 1800000
|
||||
flatten: true
|
||||
|
||||
|
@ -2,4 +2,3 @@ triggers:
|
||||
- jms-messaging:
|
||||
selector: topic = "org.fedoraproject.prod.fedimg.image.upload"
|
||||
provider-name: fedmsg
|
||||
|
||||
|
@ -6,4 +6,3 @@ triggers:
|
||||
enable-concurrent: true
|
||||
label: master
|
||||
exit-code: 0
|
||||
|
||||
|
@ -5,4 +5,3 @@ triggers:
|
||||
enable-concurrent: False
|
||||
label: master
|
||||
exit-code: 0
|
||||
|
||||
|
@ -11,4 +11,3 @@ wrappers:
|
||||
env-vars-include-patterns:
|
||||
- 'PROJECT_*'
|
||||
- 'ORG_*'
|
||||
|
||||
|
@ -5,4 +5,3 @@ wrappers:
|
||||
job-passwords:
|
||||
- name: ADMIN
|
||||
password: 0v8ZCNaHwq1hcx+sHwRLdg9424uBh4Pin0zO4sBIb+U=
|
||||
|
||||
|
@ -8,4 +8,3 @@
|
||||
builders:
|
||||
- shell:
|
||||
!include ./allow_empty_variables_include.sh
|
||||
|
||||
|
@ -42,4 +42,3 @@
|
||||
defaults: myproject2
|
||||
builders:
|
||||
- shell: "echo 'confVersion: {confversion} & fooVersion: {fooversion}'"
|
||||
|
||||
|
@ -16,5 +16,3 @@
|
||||
echo "Variable: {test_var|Hello World}"
|
||||
echo "Allow empty Variable: {test_var|}"
|
||||
echo "show that we expand for num: {num}"
|
||||
|
||||
|
||||
|
@ -19,4 +19,3 @@
|
||||
num: 1
|
||||
jobs:
|
||||
- 'test-job-{num}'
|
||||
|
||||
|
@ -1,3 +1,2 @@
|
||||
[job_builder]
|
||||
include_path=tests/yamlparser/fixtures:tests/yamlparser/fixtures/other_include_path
|
||||
|
||||
|
@ -1,5 +1,2 @@
|
||||
[job_builder]
|
||||
include_path=tests/yamlparser/fixtures/other_include_path:tests/yamlparser/fixtures
|
||||
|
||||
|
||||
|
||||
|
@ -31,4 +31,3 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
print("Doing something else cool with python")
|
||||
|
||||
|
@ -9,4 +9,3 @@
|
||||
clean: true
|
||||
script-path: Jenkinsfile.groovy
|
||||
lightweight-checkout: true
|
||||
|
||||
|
@ -12,4 +12,3 @@
|
||||
name: 'scm_remote_deep_bug_jobs'
|
||||
jobs:
|
||||
- 'scm_remote_deep_bug_tpl'
|
||||
|
||||
|
@ -28,4 +28,3 @@
|
||||
echo "Job name: template-test-ids-{num}-{type}"
|
||||
- shell: |
|
||||
echo "{test_var}"
|
||||
|
||||
|
@ -18,6 +18,3 @@
|
||||
echo "{{defined_var|-1}}"
|
||||
echo "{{undefined_var|+1}}"
|
||||
echo "{{undefined_var|-1}}"
|
||||
|
||||
|
||||
|
||||
|
@ -12,6 +12,3 @@
|
||||
echo "{{defined_var|def}}"
|
||||
echo "{{undefined_var|def}}"
|
||||
echo "{{undefined_var|defined_var}}"
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user