Change sed command

This commit is contained in:
Rsl1122 2019-08-23 17:40:05 +03:00
parent 7f993a5251
commit 3027de6327

10
Jenkinsfile vendored
View File

@ -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'
}
}