Skip to content

Commit b186d75

Browse files
committed
Removed my debug statements.
1 parent 813b905 commit b186d75

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pipeline {
88
}
99
}
1010
environment {
11-
GRADLE_ARGS = '-Dorg.gradle.daemon.idletimeout=5000'
11+
GRADLE_ARGS = '-Dorg.gradle.daemon.idletimeout=5000 --stacktrace --info'
1212
DISCORD_WEBHOOK = credentials('forge-discord-jenkins-webhook')
1313
DISCORD_PREFIX = "Job: ForgeGradle Branch: ${BRANCH_NAME} Build: #${BUILD_NUMBER}"
1414
JENKINS_HEAD = 'https://wiki.jenkins-ci.org/download/attachments/2916393/headshot.png'
@@ -38,7 +38,7 @@ pipeline {
3838
}
3939
stage('buildandtest') {
4040
steps {
41-
sh './gradlew ${GRADLE_ARGS} --refresh-dependencies --continue --stacktrace --info build' // test'
41+
sh './gradlew ${GRADLE_ARGS} --refresh-dependencies --continue build' // test'
4242
script {
4343
env.MYVERSION = sh(returnStdout: true, script: './gradlew properties -q | grep "version:" | awk \'{print $2}\'').trim()
4444
}
@@ -62,7 +62,7 @@ pipeline {
6262
FORGE_MAVEN = credentials('forge-maven-forge-user')
6363
}
6464
steps {
65-
sh './gradlew ${GRADLE_ARGS} --stacktrace --info uploadArchives -PforgeMavenUser=${FORGE_MAVEN_USR} -PforgeMavenPassword=${FORGE_MAVEN_PSW}'
65+
sh './gradlew ${GRADLE_ARGS} uploadArchives -PforgeMavenUser=${FORGE_MAVEN_USR} -PforgeMavenPassword=${FORGE_MAVEN_PSW}'
6666
}
6767
}
6868
}

src/main/java/net/minecraftforge/gradle/util/mcp/McpCleanup.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ enum CommentState
4141

4242
public static String stripComments(String text)
4343
{
44-
System.out.println("Start:");
45-
System.out.println(text);
4644
CommentState state = CommentState.CODE;
4745
int i = 0;
4846
try (StringWriter out = new StringWriter(text.length()))
@@ -133,12 +131,8 @@ else if (text.charAt(i) == '/' && text.charAt(i + 1) == '*')
133131
throw new RuntimeException(e);
134132
}
135133

136-
System.out.println("Mid:");
137-
System.out.println(text);
138134
text = COMMENTS_TRAILING.matcher(text).replaceAll("");
139135
text = COMMENTS_NEWLINES.matcher(text).replaceAll(Constants.NEWLINE);
140-
System.out.println("End:");
141-
System.out.println(text);
142136

143137
return text;
144138
}

0 commit comments

Comments
 (0)