diff --git a/pom.xml b/pom.xml index fb0ba019..30f2af5d 100644 --- a/pom.xml +++ b/pom.xml @@ -54,7 +54,7 @@ 1.6.1 1.0.3 19.0 - 1.12 + 1.35 @@ -197,10 +197,9 @@ test - io.jenkins - configuration-as-code + io.jenkins.configuration-as-code + test-harness ${configuration-as-code.version} - tests test diff --git a/src/test/resources/com/microsoft/azure/vmagent/test/jcasc/expectedAdvanced.yaml b/src/test/resources/com/microsoft/azure/vmagent/test/jcasc/expectedAdvanced.yaml index ed6b23d6..86eabf55 100644 --- a/src/test/resources/com/microsoft/azure/vmagent/test/jcasc/expectedAdvanced.yaml +++ b/src/test/resources/com/microsoft/azure/vmagent/test/jcasc/expectedAdvanced.yaml @@ -28,7 +28,10 @@ galleryResourceGroup: "gallery" gallerySubscriptionId: "e5587777-5750-4d2e-9e45-d6fbae67b8ea" imageTopLevelType: "advanced" - initScript: "yum install -y java\nyum install -y nodejs\ncat /etc/hosts" + initScript: |- + yum install -y java + yum install -y nodejs + cat /etc/hosts installDocker: false installGit: false installMaven: false