File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ RUN dnf install -y java-11-openjdk-devel \
17
17
ruby-devel \
18
18
rubygems \
19
19
asciidoc \
20
- xmlto
20
+ xmlto \
21
+ nano
21
22
22
23
RUN wget https://services.gradle.org/distributions/gradle-7.6-bin.zip -P /tmp
23
24
RUN mkdir /opt/gradle
Original file line number Diff line number Diff line change 26
26
stage(' Build' ) {
27
27
steps {
28
28
container(' sparkplug-build' ) {
29
- sh ' ./gradlew clean build'
29
+ wrap([$class : ' Xvnc' , takeScreenshot : false , useXauthority : true ]) {
30
+ sh ' ./gradlew clean build'
31
+ }
30
32
}
31
33
}
32
34
}
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ APP_NAME="Gradle"
86
86
APP_BASE_NAME=${0##*/ }
87
87
88
88
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
89
- DEFAULT_JVM_OPTS=' "-Xmx1536m" "-Xms64m" "-Dfile.encoding=UTF-8"'
89
+ DEFAULT_JVM_OPTS=' "-Xmx1536m" "-Xms64m" "-Dfile.encoding=UTF-8" "-Djava.awt.headless=true" '
90
90
91
91
# Use the maximum available, or set MAX_FD != -1 to use that value.
92
92
MAX_FD=maximum
You can’t perform that action at this time.
0 commit comments