diff --git a/scripts/forge/jenkinsChangelog.gradle b/scripts/forge/jenkinsChangelog.gradle index 6eefb5b..d038b1c 100644 --- a/scripts/forge/jenkinsChangelog.gradle +++ b/scripts/forge/jenkinsChangelog.gradle @@ -1,3 +1,5 @@ +if (System.getenv("BUILD_NUMBER") != null) +{ import net.minecraftforge.gradle.tasks.dev.ChangelogTask import net.minecraftforge.gradle.common.Constants import net.minecraftforge.gradle.delayed.* @@ -20,4 +22,5 @@ task createChangelogJenkins(type: ChangelogTask) { setTargetBuild({buildNumber.toString()}); setOutput(new DelayedFile(project, 'output/' + 'changelog' + '.txt')); } +} } \ No newline at end of file