Приложение Spring Boot со Spinnaker - ошибка фазы оценки - PullRequest
0 голосов
/ 12 февраля 2019

Я пытаюсь заставить мое приложение Spring Boot пройти конвейер, а затем развернуть.Конвейер с Дженкинсом, и для развертывания мы используем Spinnaker.

Конвейер в порядке, развертывание тоже, но я получаю предупреждение:

Не удалось оценить [выражение] Невозможнонайти этап суждения вручную [Приступить к развертыванию?] с помощью #judgment (Приступить к развертыванию?) в исполнении 01D3GH4RR003H410V3D0CBN0BM.Этап не существует или не содержит в этом контексте суждение ввода - EL1023E: При попытке вызвать функцию «суждение» возникла проблема: «ноль»

Отображается на последнем шагеdeploy, "Deploy chain", в разделе "deploy console".

enter image description here

Проверка работоспособности не удалась с "502 Bad Gateway".

Кто-нибудь видел такую ​​вещь?Погуглив ошибку, я ничего не найду.Ребята из инфраструктуры говорят, что это из-за ошибки конфигурации, но я ее не вижу.Похоже, что Spinnaker сделан из Java Spring, и выражение SpEL не выполняется.

My build.gradle:

group = 'com.xxx'

buildscript {
    repositories {
        maven {
            url "http://artifactory-mkp.xxx.pin/artifactory/libs-release"
        }
    }

    dependencies {
        classpath "com.xxx.architecture.gradle:java-gradle-plugins:0.4.5"
    }
}

apply plugin: "com.xxx.architecture.gradle.XxxSpringPlugin"

configurations {
    providedRuntime
    compile.exclude module: "spring-boot-starter-tomcat"
}
dependencies {
    compile('org.springframework.boot:spring-boot-starter-actuator')
    compile('org.springframework.boot:spring-boot-starter-aop')
    compile('org.springframework.boot:spring-boot-starter-data-jpa')
    compile('org.springframework.boot:spring-boot-starter-data-rest')
    compile('org.springframework.boot:spring-boot-starter-web') {
        exclude module: ('spring-boot-starter-tomcat')
    }
    compile('org.springframework.boot:spring-boot-starter-undertow')
    compile('org.springframework.kafka:spring-kafka')
    compile("org.flywaydb:flyway-core")
    runtime('org.postgresql:postgresql')
    testCompile('com.h2database:h2')
    testCompile('org.springframework.boot:spring-boot-starter-test')
    testCompile('org.springframework.kafka:spring-kafka-test') {// log4j marked with wrong scope "test"
        exclude group: 'log4j', module: 'log4j'
    }
    testCompile('io.cucumber:cucumber-java:3.0.2')
    testCompile('io.cucumber:cucumber-junit:3.0.2')
    testCompile('io.cucumber:cucumber-spring:3.0.2')

}


bootJar { // generate JAR executable
    launchScript()
}

test {
    testLogging.showStandardStreams = true
    systemProperties System.getProperties()
}
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...