comment out full failure pipeline step
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit

This commit is contained in:
austin 2024-09-01 19:54:26 -04:00
parent c30d409975
commit a24188e2c0
2 changed files with 30 additions and 30 deletions

58
Jenkinsfile vendored
View File

@ -48,7 +48,7 @@ pipeline {
script { script {
sh 'rm -f ./testsuccess' sh 'rm -f ./testsuccess'
catchError { catchError {
sh 'mvn test -P integration && touch ./testsuccess' sh 'mvn test -P integration'
} }
} }
} }
@ -59,33 +59,33 @@ pipeline {
} }
} }
} }
stage('DebugTests') { // stage('DebugTests') {
when { // when {
expression { // expression {
!fileExists('./testsuccess') // !fileExists('./testsuccess')
} // }
} // }
steps { // steps {
wrap( // wrap(
[ // [
$class: 'Xvfb', // $class: 'Xvfb',
additionalOptions: '', // additionalOptions: '',
assignedLabels: '', // assignedLabels: '',
autoDisplayName: true, // autoDisplayName: true,
debug: true, // debug: true,
displayNameOffset: 0, // displayNameOffset: 0,
installationName: 'Default', // installationName: 'Default',
parallelBuild: true, // parallelBuild: true,
screen: '1920x1080x24', // screen: '1920x1080x24',
timeout: 25 // timeout: 25
] // ]
) { // ) {
script { // script {
sh 'curl https://build.lwjgl.org/addons/lwjglx-debug/lwjglx-debug-1.0.0.jar -v -L > ./lwjglx-debug-1.0.0.jar' // sh 'curl https://build.lwjgl.org/addons/lwjglx-debug/lwjglx-debug-1.0.0.jar -v -L > ./lwjglx-debug-1.0.0.jar'
sh 'mvn test -P integrationDebug -DmaxLogs' // sh 'mvn test -P integrationDebug -DmaxLogs'
} // }
} // }
} // }
} // }
} }
} }

View File

@ -337,7 +337,7 @@ public class AssetManager {
File[] children = containingDirectory.listFiles(); File[] children = containingDirectory.listFiles();
if(children != null){ if(children != null){
for(File child : children){ for(File child : children){
if(child.getName().equals("texturemap.json")){ if(child.getName().equals("texturemap.json") && !child.getName().contains(".\\assets")){
String rVal = child.getPath(); String rVal = child.getPath();
String fixed = rVal.replace(".\\assets", ""); String fixed = rVal.replace(".\\assets", "");
return fixed; return fixed;