Skip to content

Commit 7216b6e

Browse files
stewartsheasaurabh3460
authored andcommitted
fix plugin installation
1 parent cd9591d commit 7216b6e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • codebundles/jenkins-health/.test/terraform

codebundles/jenkins-health/.test/terraform/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,19 +151,19 @@ resource "aws_instance" "jenkins_server" {
151151
152152
# Install the Job DSL plugin
153153
echo "[INFO] Installing Job DSL plugin..."
154-
java -jar /tmp/jenkins-cli.jar \
154+
java -jar jenkins-cli.jar \
155155
-s http://localhost:8080 \
156156
-auth "admin:$JENKINS_PASS" \
157157
install-plugin job-dsl -deploy
158158
159159
echo "[INFO] Installing Pipeline plugin (workflow-aggregator)..."
160-
java -jar /tmp/jenkins-cli.jar \
160+
java -jar jenkins-cli.jar \
161161
-s "http://localhost:8080" \
162162
-auth "admin:$JENKINS_PASS" \
163163
install-plugin workflow-aggregator -deploy
164164
165165
echo "[INFO] Restarting Jenkins..."
166-
java -jar /tmp/jenkins-cli.jar \
166+
java -jar jenkins-cli.jar \
167167
-s http://localhost:8080 \
168168
-auth "admin:$JENKINS_PASS" \
169169
safe-restart

0 commit comments

Comments
 (0)