Skip to content
Open
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
fec3dbf
Agregar archivo de Jenkins
franolave7 Oct 28, 2022
1b023a5
Merge pull request #1 from g3-usach-2022/release/release-jenkins
cyrse93 Oct 28, 2022
64f3506
add dskipTest in jenkins file at compile and package steps
Bfal10 Nov 1, 2022
49b318f
Merge pull request #2 from g3-usach-2022/feature/fixpipeline
cyrse93 Nov 1, 2022
7a18d7a
branch protection test
Bfal10 Nov 7, 2022
b3d6a8c
Merge branch 'main' of https://github.com/g3-usach-2022/ms-iclab
Bfal10 Nov 7, 2022
46f22cc
branch protection test
Bfal10 Nov 7, 2022
cb14372
branch protection test
Bfal10 Nov 7, 2022
e018696
fix pipeline run jar step
Bfal10 Nov 7, 2022
8f1410a
Merge branch 'main' into feature/fixpipeline
genilsuarez Nov 8, 2022
e2e0eb1
Merge pull request #3 from g3-usach-2022/feature/fixpipeline
Bfal10 Nov 8, 2022
0522061
fix pipeline run jar step
Bfal10 Nov 8, 2022
4f50f1e
Merge pull request #4 from g3-usach-2022/feature/fixpipeline
Bfal10 Nov 8, 2022
e918cc5
fix pipeline run jar step
Bfal10 Nov 8, 2022
bb42aa9
Merge pull request #5 from g3-usach-2022/feature/fixpipeline
Bfal10 Nov 8, 2022
e7e8d35
fix pipeline run jar step
Bfal10 Nov 8, 2022
62dd416
Merge pull request #6 from g3-usach-2022/feature/fixpipeline
Bfal10 Nov 8, 2022
325303e
fix pipeline run jar step
Bfal10 Nov 8, 2022
37e08de
Merge pull request #7 from g3-usach-2022/feature/fixpipeline
Bfal10 Nov 8, 2022
615244e
fix pipeline run jar step
Bfal10 Nov 8, 2022
59a0562
Merge pull request #8 from g3-usach-2022/feature/fixpipeline
Bfal10 Nov 8, 2022
f6e3ef3
Cambio Run JAR
Nov 8, 2022
6a5c4a1
Cambio Run JAR
Nov 8, 2022
321d84b
Cambio Run JAR
Nov 8, 2022
3ad2681
Cambio Run JAR
Nov 8, 2022
86d138c
Cambio Run JAR
Nov 8, 2022
710766f
Cambio Run JAR
Nov 8, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
pipeline {
agent any

stages {
stage('Compile Code') {
steps {
sh "./mvnw clean compile -e -DskipTest"
}
}
stage('Test Code') {
steps {
sh "./mvnw clean test -e"
}
}
stage('Jar Code') {
steps {
sh "./mvnw clean package -e -DskipTest"
}
}
stage('Run Jar') {
steps {
//sh "./mvnw spring-boot:run"
//sh "nohup bash ./mvnw spring-boot:run &"
sh "./mvnw spring-boot:run &"
}
}
stage('Testing Application') {
steps {
sh "sleep 10; curl -X GET 'http://localhost:8081/rest/mscovid/test?msg=testing'"
}
}
stage('Good Bye') {
steps {
echo 'Profe un 7 plssssss'
}
}
}
}