Skip to content

Commit ea1089d

Browse files
committed
[Build] Improve formatting and unify whitespace in Jenkinsfile
1 parent 88117b8 commit ea1089d

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

Jenkinsfile

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,31 +37,29 @@ pipeline {
3737
**/target/artifactcomparison/**,\
3838
**/target/compilelogs/**,\
3939
repository/target/repository/**')
40-
junit allowEmptyResults: true, testResults: '**/target/surefire-reports/*.xml'
4140
discoverGitReferenceBuild referenceJob: 'eclipse.pde/master'
42-
recordIssues enabledForFailure: true, publishAllIssues: true, ignoreQualityGate: true,
43-
tools: [
41+
junit allowEmptyResults: true, testResults: '**/target/surefire-reports/*.xml'
42+
recordIssues publishAllIssues: true, ignoreQualityGate: true, enabledForFailure: true, tools: [
4443
eclipse(name: 'Compiler', pattern: '**/target/compilelogs/*.xml'),
4544
issues(name: 'API Tools', id: 'apitools', pattern: '**/target/apianalysis/*.xml'),
4645
mavenConsole(),
4746
javaDoc()
48-
],
49-
qualityGates: [[threshold: 1, type: 'NEW', unstable: true]]
47+
], qualityGates: [[threshold: 1, type: 'NEW', unstable: true]]
5048
}
5149
}
5250
}
5351
stage('Deploy') {
5452
when {
5553
branch 'master'
5654
}
57-
steps {
58-
sshagent ( ['projects-storage.eclipse.org-bot-ssh']) {
59-
sh '''
60-
ssh [email protected] "rm -rf /home/data/httpd/download.eclipse.org/pde/builds/master/*"
61-
scp -r repository/target/repository/* [email protected]:/home/data/httpd/download.eclipse.org/pde/builds/master/
62-
'''
63-
}
64-
}
65-
}
55+
steps {
56+
sshagent(['projects-storage.eclipse.org-bot-ssh']) {
57+
sh '''
58+
ssh [email protected] "rm -rf /home/data/httpd/download.eclipse.org/pde/builds/master/*"
59+
scp -r repository/target/repository/* [email protected]:/home/data/httpd/download.eclipse.org/pde/builds/master/
60+
'''
61+
}
62+
}
63+
}
6664
}
6765
}

0 commit comments

Comments
 (0)