mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-23 09:37:54 +01:00
Change sed command
This commit is contained in:
parent
7f993a5251
commit
3027de6327
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -7,11 +7,11 @@ pipeline {
|
||||
dir("Plan") {
|
||||
script {
|
||||
sh 'rm -rf builds'
|
||||
sh 'sed -i -e s/%buildNumber%/'$BUILD_NUMBER'/g build.gradle'
|
||||
sh 'sed -i -e s/%buildNumber%/'$BUILD_NUMBER'/g common/src/main/resources/plugin.yml'
|
||||
sh 'sed -i -e s/%buildNumber%/'$BUILD_NUMBER'/g common/src/main/resources/bungee.yml'
|
||||
sh 'sed -i -e s/%buildNumber%/'$BUILD_NUMBER'/g sponge/src/main/java/com/djrapitops/plan/PlanSponge.java'
|
||||
sh 'sed -i -e s/%buildNumber%/'$BUILD_NUMBER'/g velocity/src/main/java/com/djrapitops/plan/PlanVelocity.java'
|
||||
sh 'sed -i -e s/%buildNumber%/\$BUILD_NUMBER/g build.gradle'
|
||||
sh 'sed -i -e s/%buildNumber%/\$BUILD_NUMBER/g common/src/main/resources/plugin.yml'
|
||||
sh 'sed -i -e s/%buildNumber%/\$BUILD_NUMBER/g common/src/main/resources/bungee.yml'
|
||||
sh 'sed -i -e s/%buildNumber%/\$BUILD_NUMBER/g sponge/src/main/java/com/djrapitops/plan/PlanSponge.java'
|
||||
sh 'sed -i -e s/%buildNumber%/\$BUILD_NUMBER/g velocity/src/main/java/com/djrapitops/plan/PlanVelocity.java'
|
||||
sh './gradlew clean shadowJar --parallel'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user