diff --git a/.gitignore b/.gitignore index 0517913c..84be71d2 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,4 @@ target/ *.ipr *.iws .idea/ -work/ \ No newline at end of file +work/ diff --git a/Jenkinsfile b/Jenkinsfile index 48bf230e..a229fa51 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1 +1 @@ -buildPlugin() \ No newline at end of file +buildPlugin() diff --git a/build.gradle b/build.gradle index df4164bb..c773b051 100644 --- a/build.gradle +++ b/build.gradle @@ -177,4 +177,4 @@ task createWrapperZip(type: Zip) { } } -processTestResources.dependsOn(createWrapperZip) \ No newline at end of file +processTestResources.dependsOn(createWrapperZip) diff --git a/settings.gradle b/settings.gradle index 5e9b4460..ad28886b 100644 --- a/settings.gradle +++ b/settings.gradle @@ -2,4 +2,4 @@ rootProject.name = 'gradle-plugin' if (!JavaVersion.current().java8) { throw new GradleException("Build requires Java 8") -} \ No newline at end of file +} diff --git a/src/main/resources/hudson/plugins/gradle/BuildScanAction/summary.jelly b/src/main/resources/hudson/plugins/gradle/BuildScanAction/summary.jelly index 2206bf08..dca6793f 100644 --- a/src/main/resources/hudson/plugins/gradle/BuildScanAction/summary.jelly +++ b/src/main/resources/hudson/plugins/gradle/BuildScanAction/summary.jelly @@ -8,4 +8,4 @@ - \ No newline at end of file + diff --git a/src/main/resources/hudson/plugins/gradle/Gradle/config.jelly b/src/main/resources/hudson/plugins/gradle/Gradle/config.jelly index 496d4778..b696484e 100644 --- a/src/main/resources/hudson/plugins/gradle/Gradle/config.jelly +++ b/src/main/resources/hudson/plugins/gradle/Gradle/config.jelly @@ -63,4 +63,4 @@ - \ No newline at end of file + diff --git a/src/main/resources/hudson/plugins/gradle/Gradle/help-buildFile.html b/src/main/resources/hudson/plugins/gradle/Gradle/help-buildFile.html index 63d4d09d..0e46407b 100644 --- a/src/main/resources/hudson/plugins/gradle/Gradle/help-buildFile.html +++ b/src/main/resources/hudson/plugins/gradle/Gradle/help-buildFile.html @@ -1,3 +1,3 @@
If your gradle build script is not named build.gradle, specify the gradle build name script. -
\ No newline at end of file + diff --git a/src/main/resources/hudson/plugins/gradle/Gradle/help-passAsProperties.html b/src/main/resources/hudson/plugins/gradle/Gradle/help-passAsProperties.html index 3db13d44..0f4e33a4 100644 --- a/src/main/resources/hudson/plugins/gradle/Gradle/help-passAsProperties.html +++ b/src/main/resources/hudson/plugins/gradle/Gradle/help-passAsProperties.html @@ -2,4 +2,4 @@ Jenkins job parameters can be passed to Gradle either as Java system properties (-D), or as Gradle properties (-P). Using properties has the advantage that job parameters are directly accessible in the Gradle DSL, e.g. project.hasProperty(...). -

\ No newline at end of file +

diff --git a/src/main/resources/hudson/plugins/gradle/Gradle/help-rootBuildScriptDir.html b/src/main/resources/hudson/plugins/gradle/Gradle/help-rootBuildScriptDir.html index 4273acaa..54e5d654 100644 --- a/src/main/resources/hudson/plugins/gradle/Gradle/help-rootBuildScriptDir.html +++ b/src/main/resources/hudson/plugins/gradle/Gradle/help-rootBuildScriptDir.html @@ -2,4 +2,4 @@ If your workspace has the top-level build.gradle in somewhere other than the module root directory, specify the path (relative to the module root) here, such as ${workspace}/parent/ instead of just ${workspace}. If left empty, defaults to build.gradle - \ No newline at end of file + diff --git a/src/main/resources/hudson/plugins/gradle/Gradle/help-switches.html b/src/main/resources/hudson/plugins/gradle/Gradle/help-switches.html index 626f33fe..dc3e3fb1 100644 --- a/src/main/resources/hudson/plugins/gradle/Gradle/help-switches.html +++ b/src/main/resources/hudson/plugins/gradle/Gradle/help-switches.html @@ -1,3 +1,3 @@
Specify a list of Gradle switches to be invoked, or leave it empty. -
\ No newline at end of file + diff --git a/src/main/resources/hudson/plugins/gradle/Gradle/help-tasks.html b/src/main/resources/hudson/plugins/gradle/Gradle/help-tasks.html index b6877e35..d455b695 100644 --- a/src/main/resources/hudson/plugins/gradle/Gradle/help-tasks.html +++ b/src/main/resources/hudson/plugins/gradle/Gradle/help-tasks.html @@ -1,3 +1,3 @@
Specify a list of Gradle tasks to be invoked. -
\ No newline at end of file + diff --git a/src/main/resources/hudson/plugins/gradle/Gradle/help-useWorkspaceAsHome.html b/src/main/resources/hudson/plugins/gradle/Gradle/help-useWorkspaceAsHome.html index 352fc641..bb557ff5 100644 --- a/src/main/resources/hudson/plugins/gradle/Gradle/help-useWorkspaceAsHome.html +++ b/src/main/resources/hudson/plugins/gradle/Gradle/help-useWorkspaceAsHome.html @@ -2,4 +2,4 @@ Gradle will write to $HOME/.gradle by default for GRADLE_USER_HOME. For a multi-executor slave in Jenkins, setting the environment variable localized files to the workspace avoid collisions accessing gradle cache. -

\ No newline at end of file +

diff --git a/src/main/resources/hudson/plugins/gradle/Gradle/help-wrapperLocation.html b/src/main/resources/hudson/plugins/gradle/Gradle/help-wrapperLocation.html index a0bd7ba8..a3e18948 100644 --- a/src/main/resources/hudson/plugins/gradle/Gradle/help-wrapperLocation.html +++ b/src/main/resources/hudson/plugins/gradle/Gradle/help-wrapperLocation.html @@ -5,4 +5,4 @@ If your workspace has the wrapper somewhere else, specify the path to the directory (relative to workspace) containing the wrapper executable here, such as parent instead of just ${workspace}/parent. - \ No newline at end of file + diff --git a/src/main/resources/hudson/plugins/gradle/GradleInstallation/config.jelly b/src/main/resources/hudson/plugins/gradle/GradleInstallation/config.jelly index 493be87b..5f2ab07e 100644 --- a/src/main/resources/hudson/plugins/gradle/GradleInstallation/config.jelly +++ b/src/main/resources/hudson/plugins/gradle/GradleInstallation/config.jelly @@ -32,4 +32,4 @@ THE SOFTWARE. - \ No newline at end of file + diff --git a/src/main/resources/hudson/plugins/gradle/GradleTaskNote/DescriptorImpl/outline.jelly b/src/main/resources/hudson/plugins/gradle/GradleTaskNote/DescriptorImpl/outline.jelly index 4c98cf1e..e87e640a 100644 --- a/src/main/resources/hudson/plugins/gradle/GradleTaskNote/DescriptorImpl/outline.jelly +++ b/src/main/resources/hudson/plugins/gradle/GradleTaskNote/DescriptorImpl/outline.jelly @@ -31,9 +31,9 @@ THE SOFTWARE. - + - \ No newline at end of file + diff --git a/src/main/resources/hudson/plugins/gradle/GradleTaskNote/style.css b/src/main/resources/hudson/plugins/gradle/GradleTaskNote/style.css index 779f55fc..f6e16525 100644 --- a/src/main/resources/hudson/plugins/gradle/GradleTaskNote/style.css +++ b/src/main/resources/hudson/plugins/gradle/GradleTaskNote/style.css @@ -1,8 +1,8 @@ #gradle-console-outline-body ul { - padding-left:5%; - word-wrap:break-word; + padding-left:5%; + word-wrap:break-word; } #gradle-console-outline-body ul li a { - word-break:break-all; + word-break:break-all; } diff --git a/src/main/resources/hudson/plugins/gradle/Messages.properties b/src/main/resources/hudson/plugins/gradle/Messages.properties index 82598ef8..e239973a 100644 --- a/src/main/resources/hudson/plugins/gradle/Messages.properties +++ b/src/main/resources/hudson/plugins/gradle/Messages.properties @@ -1,3 +1,3 @@ installer.displayName=Gradle step.displayName=Invoke Gradle script -wrapper.displayName=Inspect build log for published Gradle build scans \ No newline at end of file +wrapper.displayName=Inspect build log for published Gradle build scans diff --git a/src/main/resources/hudson/plugins/gradle/Messages_de.properties b/src/main/resources/hudson/plugins/gradle/Messages_de.properties index 058d6a48..ef533b47 100644 --- a/src/main/resources/hudson/plugins/gradle/Messages_de.properties +++ b/src/main/resources/hudson/plugins/gradle/Messages_de.properties @@ -1,3 +1,3 @@ installer.displayName=Gradle step.displayName=Gradle ausführen -wrapper.displayName=Durchsuche Build-Log nach veröffentlichten Gradle Build Scans \ No newline at end of file +wrapper.displayName=Durchsuche Build-Log nach veröffentlichten Gradle Build Scans diff --git a/src/main/resources/index.jelly b/src/main/resources/index.jelly index f779666b..853c35ab 100644 --- a/src/main/resources/index.jelly +++ b/src/main/resources/index.jelly @@ -1,5 +1,5 @@ - -
- This plugin allows Jenkins to invoke Gradle - build scripts directly. -
\ No newline at end of file + +
+ This plugin allows Jenkins to invoke Gradle + build scripts directly. +
diff --git a/src/main/webapp/help-GradleInstallation-home.html b/src/main/webapp/help-GradleInstallation-home.html index 89d545d3..64f917c0 100644 --- a/src/main/webapp/help-GradleInstallation-home.html +++ b/src/main/webapp/help-GradleInstallation-home.html @@ -7,4 +7,4 @@ The plugin assumes that the gradle executable resides under the 'bin' subdirectory of this gradle home.

- \ No newline at end of file + diff --git a/src/main/webapp/help-GradleInstallation-name.html b/src/main/webapp/help-GradleInstallation-name.html index da533aa8..4726926f 100644 --- a/src/main/webapp/help-GradleInstallation-name.html +++ b/src/main/webapp/help-GradleInstallation-name.html @@ -6,4 +6,4 @@ When you configure a job 'Build' section and select 'Invoke Gradle' as the method to run gradle, this name will appear in the 'Gradle Version' list.

- \ No newline at end of file + diff --git a/src/main/webapp/help.html b/src/main/webapp/help.html index 3fefe297..44bd0534 100644 --- a/src/main/webapp/help.html +++ b/src/main/webapp/help.html @@ -1,4 +1,4 @@
For projects that use Gradle as the build system. This causes Jenkins to invoke Gradle with the given switches and tasks. Any non-zero exit code causes Jenkins to mark the build as a failure. -
\ No newline at end of file + diff --git a/src/test/groovy/hudson/plugins/gradle/PropertyPassingIntegrationTest.groovy b/src/test/groovy/hudson/plugins/gradle/PropertyPassingIntegrationTest.groovy index 14fdc8e5..86dd4bc9 100644 --- a/src/test/groovy/hudson/plugins/gradle/PropertyPassingIntegrationTest.groovy +++ b/src/test/groovy/hudson/plugins/gradle/PropertyPassingIntegrationTest.groovy @@ -63,7 +63,7 @@ class PropertyPassingIntegrationTest extends AbstractIntegrationTest { def p = j.createFreeStyleProject() createBuildScript(p, """ task printParam { - doLast { + doLast { ${criticalProperties.collect { k, v -> "println('${k}=' + ${k})" }.join('\n')} @@ -86,7 +86,7 @@ class PropertyPassingIntegrationTest extends AbstractIntegrationTest { def p = j.createFreeStyleProject() createBuildScript(p, """ task printParam { - doLast { + doLast { ${criticalProperties.collect { k, v -> "println('${k}=' + System.getProperty('${k}'))" }.join('\n')} diff --git a/src/test/resources/hudson/plugins/gradle/CompatibilityTest/convert_old_build_scan_actions/hudson.plugins.gradle.Gradle.xml b/src/test/resources/hudson/plugins/gradle/CompatibilityTest/convert_old_build_scan_actions/hudson.plugins.gradle.Gradle.xml index 1e3bbea5..54e5da67 100644 --- a/src/test/resources/hudson/plugins/gradle/CompatibilityTest/convert_old_build_scan_actions/hudson.plugins.gradle.Gradle.xml +++ b/src/test/resources/hudson/plugins/gradle/CompatibilityTest/convert_old_build_scan_actions/hudson.plugins.gradle.Gradle.xml @@ -16,4 +16,4 @@ - \ No newline at end of file + diff --git a/src/test/resources/hudson/plugins/gradle/CompatibilityTest/convert_old_build_scan_actions/jobs/old/builds/1/build.xml b/src/test/resources/hudson/plugins/gradle/CompatibilityTest/convert_old_build_scan_actions/jobs/old/builds/1/build.xml index 6bb9aa6f..4bfe3853 100644 --- a/src/test/resources/hudson/plugins/gradle/CompatibilityTest/convert_old_build_scan_actions/jobs/old/builds/1/build.xml +++ b/src/test/resources/hudson/plugins/gradle/CompatibilityTest/convert_old_build_scan_actions/jobs/old/builds/1/build.xml @@ -19,4 +19,4 @@ /var/jenkins_home/workspace/old 1.318-SNAPSHOT - \ No newline at end of file + diff --git a/src/test/resources/hudson/plugins/gradle/CompatibilityTest/convert_old_build_scan_actions/jobs/old/config.xml b/src/test/resources/hudson/plugins/gradle/CompatibilityTest/convert_old_build_scan_actions/jobs/old/config.xml index 28e1d91e..ed600a07 100644 --- a/src/test/resources/hudson/plugins/gradle/CompatibilityTest/convert_old_build_scan_actions/jobs/old/config.xml +++ b/src/test/resources/hudson/plugins/gradle/CompatibilityTest/convert_old_build_scan_actions/jobs/old/config.xml @@ -29,4 +29,4 @@ - \ No newline at end of file + diff --git a/src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_configuration_files_older_than_1_27/hudson.plugins.gradle.Gradle.xml b/src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_configuration_files_older_than_1_27/hudson.plugins.gradle.Gradle.xml index 3c0bcb17..242033bb 100644 --- a/src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_configuration_files_older_than_1_27/hudson.plugins.gradle.Gradle.xml +++ b/src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_configuration_files_older_than_1_27/hudson.plugins.gradle.Gradle.xml @@ -16,4 +16,4 @@ - \ No newline at end of file + diff --git a/src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_configuration_files_older_than_1_27/jobs/old/config.xml b/src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_configuration_files_older_than_1_27/jobs/old/config.xml index 1eec99dd..a8aa40f2 100644 --- a/src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_configuration_files_older_than_1_27/jobs/old/config.xml +++ b/src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_configuration_files_older_than_1_27/jobs/old/config.xml @@ -28,4 +28,4 @@ - \ No newline at end of file + diff --git a/src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_old_configuration_files/hudson.plugins.gradle.Gradle.xml b/src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_old_configuration_files/hudson.plugins.gradle.Gradle.xml index 3c0bcb17..242033bb 100644 --- a/src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_old_configuration_files/hudson.plugins.gradle.Gradle.xml +++ b/src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_old_configuration_files/hudson.plugins.gradle.Gradle.xml @@ -16,4 +16,4 @@ - \ No newline at end of file + diff --git a/src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_old_configuration_files/jobs/old/config.xml b/src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_old_configuration_files/jobs/old/config.xml index 79aebf83..3c04df44 100644 --- a/src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_old_configuration_files/jobs/old/config.xml +++ b/src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_old_configuration_files/jobs/old/config.xml @@ -28,4 +28,4 @@ - \ No newline at end of file +