Skip to content

Commit c27ca97

Browse files
committed
final commit
1 parent fd6ce43 commit c27ca97

File tree

1 file changed

+4
-4
lines changed
  • spring-boot-samples/spring-boot-sample-web-ui

1 file changed

+4
-4
lines changed

spring-boot-samples/spring-boot-sample-web-ui/Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ pipeline {
3838
rtUpload (
3939
serverId: "my_artifact",
4040
spec:
41-
{
41+
'''{
4242
"files": [
4343
{
4444
"pattern": "/var/lib/jenkins/workspace/build/spring-boot-samples/spring-boot-sample-web-ui/target/*.jar",
4545
"target": "example-repo-local/org/springframework/boot/spring-boot-sample-web-ui/2.1.8.RELEASE//${env.finalname}.jar"
4646
}
4747
]
48-
}
48+
}'''
4949
)
5050
rtPublishBuildInfo (
5151
serverId: "my_artifact"
@@ -54,13 +54,13 @@ pipeline {
5454
}
5555

5656
}
57-
"""stage('Push to ECR') {
57+
stage('Push to ECR') {
5858
steps {
5959
echo "-----ECR-------"
6060
sh "ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i /var/lib/jenkins/workspace/integration/hosts /var/lib/jenkins/workspace/integration/playbook1.yml -e 'build=${env.BUILD_NUMBER}'"
6161
}
6262

63-
}"""
63+
}
6464

6565
}
6666

0 commit comments

Comments
 (0)