diff --git a/.harness/Build_jhttp_1706858069956-pr-trigger-input-set-1706858071018.yaml b/.harness/Build_jhttp_1706858069956-pr-trigger-input-set-1706858071018.yaml new file mode 100644 index 0000000..d13193d --- /dev/null +++ b/.harness/Build_jhttp_1706858069956-pr-trigger-input-set-1706858071018.yaml @@ -0,0 +1,14 @@ +inputSet: + name: Build_jhttp_1706858069956-pr-trigger-input-set + identifier: Build_jhttp_1706858069956prtriggerinputset + orgIdentifier: default + projectIdentifier: RaghavTest + pipeline: + identifier: Build_jhttp_1706858069956 + properties: + ci: + codebase: + build: + type: PR + spec: + number: <+trigger.prNumber> diff --git a/.harness/Build_jhttp_1706858069956-push-trigger-input-set-1706858072551.yaml b/.harness/Build_jhttp_1706858069956-push-trigger-input-set-1706858072551.yaml new file mode 100644 index 0000000..3ca1291 --- /dev/null +++ b/.harness/Build_jhttp_1706858069956-push-trigger-input-set-1706858072551.yaml @@ -0,0 +1,14 @@ +inputSet: + name: Build_jhttp_1706858069956-push-trigger-input-set + identifier: Build_jhttp_1706858069956pushtriggerinputset + orgIdentifier: default + projectIdentifier: RaghavTest + pipeline: + identifier: Build_jhttp_1706858069956 + properties: + ci: + codebase: + build: + type: branch + spec: + branch: <+trigger.branch> diff --git a/.harness/pipelines/jhttp-1706858067722.yaml b/.harness/pipelines/jhttp-1706858067722.yaml new file mode 100644 index 0000000..2ef28c0 --- /dev/null +++ b/.harness/pipelines/jhttp-1706858067722.yaml @@ -0,0 +1,46 @@ +pipeline: + identifier: Build_jhttp_1706858069956 + name: Build jhttp + orgIdentifier: default + projectIdentifier: RaghavTest + properties: + ci: + codebase: + build: <+input> + connectorRef: account.CItestGitConnectorVs732k7N3m + repoName: jhttp + stages: + - stage: + identifier: build + name: build + spec: + cloneCodebase: true + execution: + steps: + - step: + identifier: echo + name: echo + spec: + command: echo hello world + timeout: "" + type: Run + - step: + identifier: dockerbuild + name: docker_build + spec: + image: plugins/docker + settings: + dry_run: "true" + password: <+input> + repo: hello/world + tags: latest + username: <+input> + timeout: "" + type: Plugin + platform: + arch: Amd64 + os: Linux + runtime: + spec: {} + type: Cloud + type: CI diff --git a/Dockerfile.build b/Dockerfile.build index 82536f9..148178e 100644 --- a/Dockerfile.build +++ b/Dockerfile.build @@ -1,15 +1,3 @@ -FROM maven:3.6.3-jdk-8 -LABEL maintainer="Shivakumar Ningappa " - - -# Copy the source from the current directory to the Working Directory inside the container -COPY . . - -# Build the Java server app -RUN mvn clean package -DskipTests - -# Expose default port for external communication -EXPOSE 8888 - -# Command to run the executable jar -CMD [ "java -jar target/jhttp-1.0-SNAPSHOT.jar" ] \ No newline at end of file +FROM alpine:latest +CMD echo "Hello world" +ENTRYPOINT echo "Hello world" diff --git a/test b/test new file mode 100644 index 0000000..f7713f2 --- /dev/null +++ b/test @@ -0,0 +1,3 @@ +hi banda. +xscc +d