Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CICDTest
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Perwaiz Ali
CICDTest
Commits
fff69747
Commit
fff69747
authored
Aug 28, 2022
by
Perwaiz Ali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change in .git
parent
1486bf75
Pipeline
#2194
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
2 deletions
+28
-2
.gitlab-ci - Copy_Back_UP.yml
.gitlab-ci - Copy_Back_UP.yml
+27
-1
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
No files found.
.gitlab-ci - Copy_Back_UP.yml
View file @
fff69747
...
...
@@ -21,4 +21,30 @@ maven-build:
artifacts
:
paths
:
-
target/CICDTesting-0.0.1-SNAPSHOT.jar
\ No newline at end of file
----------------------------------------------------------------
stages
:
-
build
-
test
-
deploy
maven-build
:
tags
:
-
docker
image
:
maven:3-jdk-11
stage
:
build
script
:
"
mvn
package
-B"
artifacts
:
paths
:
-
target/CICDTesting-0.0.1-SNAPSHOT.jar
Smoke test
:
tags
:
-
docker
stage
:
test
image
:
maven:3-jdk-11
script
:
-
java -jar ./target/CICDTesting-0.0.1-SNAPSHOT.jar
-
sleep 30
-
curl http://localhost:8080/actuator/health | grep "UP"
\ No newline at end of file
.gitlab-ci.yml
View file @
fff69747
...
...
@@ -21,4 +21,4 @@ Smoke test :
script
:
-
java -jar ./target/CICDTesting-0.0.1-SNAPSHOT.jar
-
sleep 30
-
curl http://localhost:8080/actuator/health | grep "UP"
\ No newline at end of file
-
curl http://localhost:8080/actuator/health
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment