Skip to content

Commit 127bdb2

Browse files
authored
Merge pull request #74 from darxriggs/improvements
File formatting improvements
2 parents a8680c0 + faa0e3a commit 127bdb2

File tree

30 files changed

+38
-38
lines changed

30 files changed

+38
-38
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ target/
99
*.ipr
1010
*.iws
1111
.idea/
12-
work/
12+
work/

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
buildPlugin()
1+
buildPlugin()

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,4 +177,4 @@ task createWrapperZip(type: Zip) {
177177
}
178178
}
179179

180-
processTestResources.dependsOn(createWrapperZip)
180+
processTestResources.dependsOn(createWrapperZip)

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ rootProject.name = 'gradle-plugin'
22

33
if (!JavaVersion.current().java8) {
44
throw new GradleException("Build requires Java 8")
5-
}
5+
}

src/main/resources/hudson/plugins/gradle/BuildScanAction/summary.jelly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
</j:forEach>
99
</ul>
1010
</t:summary>
11-
</j:jelly>
11+
</j:jelly>

src/main/resources/hudson/plugins/gradle/Gradle/config.jelly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@
6363
<f:checkbox default="false"/>
6464
</f:entry>
6565
</f:advanced>
66-
</j:jelly>
66+
</j:jelly>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<div>
22
If your gradle build script is not named build.gradle, specify the gradle build name script.
3-
</div>
3+
</div>

src/main/resources/hudson/plugins/gradle/Gradle/help-passAsProperties.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
Jenkins job parameters can be passed to Gradle either as Java system properties (<tt>-D</tt>), or as Gradle
33
properties (<tt>-P</tt>). Using properties has the advantage that job parameters are directly accessible in the
44
Gradle DSL, e.g. <tt>project.hasProperty(...)</tt>.
5-
</p>
5+
</p>

src/main/resources/hudson/plugins/gradle/Gradle/help-rootBuildScriptDir.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
If your workspace has the top-level build.gradle in somewhere other than the module root directory, specify the path
33
(relative to the module root) here,
44
such as ${workspace}/parent/ instead of just ${workspace}. If left empty, defaults to build.gradle
5-
</div>
5+
</div>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<div>
22
Specify a list of Gradle switches to be invoked, or leave it empty.
3-
</div>
3+
</div>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<div>
22
Specify a list of Gradle tasks to be invoked.
3-
</div>
3+
</div>

src/main/resources/hudson/plugins/gradle/Gradle/help-useWorkspaceAsHome.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
Gradle will write to <tt>$HOME/.gradle</tt> by default for <tt>GRADLE_USER_HOME</tt>.
33
For a multi-executor slave in Jenkins, setting the environment variable localized files to the workspace avoid
44
collisions accessing gradle cache.
5-
</p>
5+
</p>

src/main/resources/hudson/plugins/gradle/Gradle/help-wrapperLocation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
If your workspace has the wrapper somewhere else, specify the path
66
to the directory (relative to workspace) containing the wrapper executable here,
77
such as parent instead of just ${workspace}/parent.
8-
</div>
8+
</div>

src/main/resources/hudson/plugins/gradle/GradleInstallation/config.jelly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ THE SOFTWARE.
3232
<f:entry title="GRADLE_HOME" field="home" help="/plugin/gradle/help-GradleInstallation-home.html">
3333
<f:textbox />
3434
</f:entry>
35-
</j:jelly>
35+
</j:jelly>

src/main/resources/hudson/plugins/gradle/GradleTaskNote/DescriptorImpl/outline.jelly

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ THE SOFTWARE.
3131
</tr>
3232
<tr>
3333
<td id='gradle-console-outline-body'>
34-
<ul></ul>
34+
<ul></ul>
3535
</td>
3636
</tr>
3737
</table>
3838
</l:ajax>
39-
</j:jelly>
39+
</j:jelly>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#gradle-console-outline-body ul {
2-
padding-left:5%;
3-
word-wrap:break-word;
2+
padding-left:5%;
3+
word-wrap:break-word;
44
}
55

66
#gradle-console-outline-body ul li a {
7-
word-break:break-all;
7+
word-break:break-all;
88
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
installer.displayName=Gradle
22
step.displayName=Invoke Gradle script
3-
wrapper.displayName=Inspect build log for published Gradle build scans
3+
wrapper.displayName=Inspect build log for published Gradle build scans
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
installer.displayName=Gradle
22
step.displayName=Gradle ausführen
3-
wrapper.displayName=Durchsuche Build-Log nach veröffentlichten Gradle Build Scans
3+
wrapper.displayName=Durchsuche Build-Log nach veröffentlichten Gradle Build Scans

src/main/resources/index.jelly

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<?jelly escape-by-default='true'?>
2-
<div>
3-
This plugin allows Jenkins to invoke <a href="http://www.gradle.org/">Gradle</a>
4-
build scripts directly.
5-
</div>
1+
<?jelly escape-by-default='true'?>
2+
<div>
3+
This plugin allows Jenkins to invoke <a href="http://www.gradle.org/">Gradle</a>
4+
build scripts directly.
5+
</div>

src/main/webapp/help-GradleInstallation-home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
The plugin assumes that the gradle executable resides under the 'bin'
88
subdirectory of this gradle home.
99
</p>
10-
</div>
10+
</div>

src/main/webapp/help-GradleInstallation-name.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
When you configure a job 'Build' section and select 'Invoke Gradle' as the method to
77
run gradle, this name will appear in the 'Gradle Version' list.
88
</p>
9-
</div>
9+
</div>

src/main/webapp/help.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<div>
22
For projects that use Gradle as the build system. This causes Jenkins to invoke Gradle with the given switches and
33
tasks. Any non-zero exit code causes Jenkins to mark the build as a failure.
4-
</div>
4+
</div>

src/test/groovy/hudson/plugins/gradle/PropertyPassingIntegrationTest.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class PropertyPassingIntegrationTest extends AbstractIntegrationTest {
6363
def p = j.createFreeStyleProject()
6464
createBuildScript(p, """
6565
task printParam {
66-
doLast {
66+
doLast {
6767
${criticalProperties.collect { k, v ->
6868
"println('${k}=' + ${k})"
6969
}.join('\n')}
@@ -86,7 +86,7 @@ class PropertyPassingIntegrationTest extends AbstractIntegrationTest {
8686
def p = j.createFreeStyleProject()
8787
createBuildScript(p, """
8888
task printParam {
89-
doLast {
89+
doLast {
9090
${criticalProperties.collect { k, v ->
9191
"println('${k}=' + System.getProperty('${k}'))"
9292
}.join('\n')}

src/test/resources/hudson/plugins/gradle/CompatibilityTest/convert_old_build_scan_actions/hudson.plugins.gradle.Gradle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
<gradleHome></gradleHome>
1717
</hudson.plugins.gradle.GradleInstallation>
1818
</installations>
19-
</hudson.plugins.gradle.Gradle_-DescriptorImpl>
19+
</hudson.plugins.gradle.Gradle_-DescriptorImpl>

src/test/resources/hudson/plugins/gradle/CompatibilityTest/convert_old_build_scan_actions/jobs/old/builds/1/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
<workspace>/var/jenkins_home/workspace/old</workspace>
2020
<hudsonVersion>1.318-SNAPSHOT</hudsonVersion>
2121
<culprits class="com.google.common.collect.EmptyImmutableSortedSet"/>
22-
</build>
22+
</build>

src/test/resources/hudson/plugins/gradle/CompatibilityTest/convert_old_build_scan_actions/jobs/old/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@
2929
</builders>
3030
<publishers/>
3131
<buildWrappers/>
32-
</project>
32+
</project>

src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_configuration_files_older_than_1_27/hudson.plugins.gradle.Gradle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
<gradleHome></gradleHome>
1717
</hudson.plugins.gradle.GradleInstallation>
1818
</installations>
19-
</hudson.plugins.gradle.Gradle_-DescriptorImpl>
19+
</hudson.plugins.gradle.Gradle_-DescriptorImpl>

src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_configuration_files_older_than_1_27/jobs/old/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
</builders>
2929
<publishers/>
3030
<buildWrappers/>
31-
</project>
31+
</project>

src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_old_configuration_files/hudson.plugins.gradle.Gradle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
<gradleHome></gradleHome>
1717
</hudson.plugins.gradle.GradleInstallation>
1818
</installations>
19-
</hudson.plugins.gradle.Gradle_-DescriptorImpl>
19+
</hudson.plugins.gradle.Gradle_-DescriptorImpl>

src/test/resources/hudson/plugins/gradle/CompatibilityTest/read_old_configuration_files/jobs/old/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
</builders>
2929
<publishers/>
3030
<buildWrappers/>
31-
</project>
31+
</project>

0 commit comments

Comments
 (0)