Skip to content

Commit b66c779

Browse files
committed
fese
1 parent 6885c53 commit b66c779

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

JenkinsFile

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ pipeline {
44
tools {
55
jdk 'jdk_21'
66
}
7-
//help me
7+
88
options {
9-
skipDefaultCheckout()
9+
skipDefaultCheckout()
1010
}
11-
//hello world gay
11+
1212
stages {
1313
stage('Checkout repository') {
1414
steps {
@@ -17,28 +17,22 @@ pipeline {
1717
}
1818
}
1919

20-
stage('Grant execute permission for gradlew') {
21-
steps {
22-
sh 'chmod +x gradlew'
23-
}
24-
}
25-
2620
stage('Build local distribution') {
2721
steps {
28-
sh './gradlew localDistro --stacktrace --no-daemon'
22+
bat 'gradlew.bat localDistro --stacktrace --no-daemon'
2923
}
3024
}
3125

3226
stage('Run server tests') {
3327
steps {
34-
sh './gradlew :server:test --stacktrace --no-daemon'
28+
bat 'gradlew.bat :server:test --stacktrace --no-daemon'
3529
}
3630
}
3731
}
3832

3933
post {
4034
always {
41-
junit '**/build/test-results/**/*.xml'
35+
junit '**/build/test-results/**/*.xml'
4236
archiveArtifacts artifacts: '**/build/reports/tests/**/*', allowEmptyArchive: true
4337
}
4438
}

0 commit comments

Comments
 (0)