File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,21 +24,19 @@ pipeline:
2424
2525 infrastructure :
2626 type : Cloud
27- spec : {}
27+ spec :
28+ connectorRef : account.harnessImage # 👈 FIX
2829
2930 execution :
3031 steps :
31-
3232 - step :
3333 type : Run
3434 name : Verify Repo
3535 identifier : verify_repo
3636 spec :
3737 shell : Sh
3838 command : |
39- echo "Working directory:"
4039 pwd
41- echo "Listing files:"
4240 ls -lrt
4341
4442 - step :
@@ -49,7 +47,6 @@ pipeline:
4947 image : maven:3.9.6-eclipse-temurin-17
5048 shell : Sh
5149 command : |
52- echo "Starting Maven Build..."
5350 mvn clean package -DskipTests
5451
5552 - step :
@@ -59,18 +56,5 @@ pipeline:
5956 spec :
6057 shell : Sh
6158 command : |
62- echo "Checking target directory..."
6359 ls -lrt target/ || echo "No target folder"
64- echo "WAR files:"
6560 ls target/*.war || echo "No WAR found"
66-
67- - step :
68- type : Run
69- name : Artifact Info
70- identifier : artifact_info
71- spec :
72- shell : Sh
73- command : |
74- echo "Build completed successfully"
75- echo "Build Number: <+pipeline.sequenceId>"
76- echo "Branch: <+codebase.branch>"
You can’t perform that action at this time.
0 commit comments