我正在尝试使我的Spring引导应用程序通过管道,然后部署。管道是与詹金斯和部署我们使用斯宾纳克。
无法计算[表达式]无法定位手动判断阶段[继续部署吗?]使用#判断(继续部署?)正在执行01D3GH4RR003H410V3D0CBN0BM。阶段在其上下文中不存在或不包含判断输入——EL1023 E:在试图调用函数“判断”时出现了一个问题:“null”
健康检查失败,出现“502坏网关”。
似乎Spinnaker是由Java Spring构成的,SpEL表达式正在失败。
我的
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()
}