Skip to content

Commit 05c82e2

Browse files
committed
Fix formatting
1 parent e77ffd7 commit 05c82e2

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

Jenkinsfile

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,24 @@ properties([
1111
*/
1212

1313
node('digitalocean && ubuntu-16.04 && 8gb && android-7.0') {
14-
stage 'System'
15-
sh '''#!/bin/bash
16-
sudo apt-get update -y
17-
sudo apt-get install -y openjdk-8-jdk python git-core gnupg flex bison gperf build-essential \
18-
zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 \
19-
lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache \
20-
libgl1-mesa-dev libxml2-utils xsltproc unzip mtools u-boot-tools \
21-
htop iotop sysstat iftop pigz bc
22-
'''
23-
24-
sh '''#!/bin/bash
25-
set -xe
26-
mkdir -p ~/bin
27-
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
28-
chmod a+x ~/bin/repo
29-
'''
30-
31-
ws('/android') {
14+
stage 'System'
15+
sh '''#!/bin/bash
16+
sudo apt-get update -y
17+
sudo apt-get install -y openjdk-8-jdk python git-core gnupg flex bison gperf build-essential \
18+
zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 \
19+
lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache \
20+
libgl1-mesa-dev libxml2-utils xsltproc unzip mtools u-boot-tools \
21+
htop iotop sysstat iftop pigz bc
22+
'''
23+
24+
sh '''#!/bin/bash
25+
set -xe
26+
mkdir -p ~/bin
27+
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
28+
chmod a+x ~/bin/repo
29+
'''
30+
31+
ws('/android') {
3232
timestamps {
3333
wrap([$class: 'AnsiColorBuildWrapper', colorMapName: 'xterm']) {
3434
stage 'Prepare'
@@ -64,10 +64,10 @@ node('digitalocean && ubuntu-16.04 && 8gb && android-7.0') {
6464

6565
stage 'Image Regular'
6666
sh '''#!/bin/bash
67-
source build/envsetup.sh
68-
lunch "${TARGET}"
67+
source build/envsetup.sh
68+
lunch "${TARGET}"
6969
set -xe
70-
sdcard_image "${JOB_NAME}-v${VERSION}-r${BUILD_NUMBER}.img.gz"
70+
sdcard_image "${JOB_NAME}-v${VERSION}-r${BUILD_NUMBER}.img.gz"
7171
'''
7272
}
7373

@@ -89,10 +89,10 @@ node('digitalocean && ubuntu-16.04 && 8gb && android-7.0') {
8989

9090
stage 'Image TV'
9191
sh '''#!/bin/bash
92-
source build/envsetup.sh
93-
lunch "${TARGET}"
92+
source build/envsetup.sh
93+
lunch "${TARGET}"
9494
set -xe
95-
sdcard_image "${JOB_NAME}-tv-v${VERSION}-r${BUILD_NUMBER}.img.gz"
95+
sdcard_image "${JOB_NAME}-tv-v${VERSION}-r${BUILD_NUMBER}.img.gz"
9696
'''
9797
}
9898

@@ -144,5 +144,5 @@ node('digitalocean && ubuntu-16.04 && 8gb && android-7.0') {
144144
}
145145
}
146146
}
147-
}
147+
}
148148
}

0 commit comments

Comments
 (0)