Groovy requires double quotes for format strings

This commit is contained in:
Adubbz 2019-05-04 17:51:02 +10:00
parent 1b4b8cffe0
commit d58be03152
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View file

@ -36,7 +36,7 @@ pipeline {
} }
} }
steps { steps {
writeChangelog(currentBuild, 'build/BiomesOPlenty-' + env.MYVERSION + '-changelog.txt') writeChangelog(currentBuild, "build/BiomesOPlenty-${env.MYVERSION}-changelog.txt")
} }
} }
stage('publish') { stage('publish') {

View file

@ -84,7 +84,7 @@ task apiJar(type: Jar) {
classifier = 'api' classifier = 'api'
} }
def changelog_file = rootProject.file('build/BiomesOPlenty-${version}-changelog.txt') def changelog_file = rootProject.file("build/BiomesOPlenty-${version}-changelog.txt")
curseforge { curseforge {
if (project.hasProperty('curseApiKey')) { if (project.hasProperty('curseApiKey')) {