comment out full failure pipeline step
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
This commit is contained in:
parent
c30d409975
commit
a24188e2c0
58
Jenkinsfile
vendored
58
Jenkinsfile
vendored
@ -48,7 +48,7 @@ pipeline {
|
||||
script {
|
||||
sh 'rm -f ./testsuccess'
|
||||
catchError {
|
||||
sh 'mvn test -P integration && touch ./testsuccess'
|
||||
sh 'mvn test -P integration'
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -59,33 +59,33 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('DebugTests') {
|
||||
when {
|
||||
expression {
|
||||
!fileExists('./testsuccess')
|
||||
}
|
||||
}
|
||||
steps {
|
||||
wrap(
|
||||
[
|
||||
$class: 'Xvfb',
|
||||
additionalOptions: '',
|
||||
assignedLabels: '',
|
||||
autoDisplayName: true,
|
||||
debug: true,
|
||||
displayNameOffset: 0,
|
||||
installationName: 'Default',
|
||||
parallelBuild: true,
|
||||
screen: '1920x1080x24',
|
||||
timeout: 25
|
||||
]
|
||||
) {
|
||||
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 'mvn test -P integrationDebug -DmaxLogs'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// stage('DebugTests') {
|
||||
// when {
|
||||
// expression {
|
||||
// !fileExists('./testsuccess')
|
||||
// }
|
||||
// }
|
||||
// steps {
|
||||
// wrap(
|
||||
// [
|
||||
// $class: 'Xvfb',
|
||||
// additionalOptions: '',
|
||||
// assignedLabels: '',
|
||||
// autoDisplayName: true,
|
||||
// debug: true,
|
||||
// displayNameOffset: 0,
|
||||
// installationName: 'Default',
|
||||
// parallelBuild: true,
|
||||
// screen: '1920x1080x24',
|
||||
// timeout: 25
|
||||
// ]
|
||||
// ) {
|
||||
// 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 'mvn test -P integrationDebug -DmaxLogs'
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
@ -337,7 +337,7 @@ public class AssetManager {
|
||||
File[] children = containingDirectory.listFiles();
|
||||
if(children != null){
|
||||
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 fixed = rVal.replace(".\\assets", "");
|
||||
return fixed;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user