Skip to content

Commit c148260

Browse files
Update jenkinsfile
1 parent af164a9 commit c148260

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

jenkinsfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ pipeline {
1515
stage('Deploy to Development'){
1616
steps{
1717
// deploy adapters: [tomcat8(credentialsId: 'tomcat', path: '', url: 'http://18.224.251.223:8000/')], contextPath: null, onFailure: false, war: '**/*.war'
18-
deploy adapters: [tomcat8(credentialsId: 'tomcat_cred', path: '', url: 'http://18.191.201.243:8080')], contextPath: 'basic', onFailure: false, war: '**/*.jar'
18+
// deploy adapters: [tomcat8(credentialsId: 'tomcat_cred', path: '', url: 'http://18.191.201.243:8080')], contextPath: 'basic', onFailure: false, war: '**/*.jar'
19+
//sh 'curl http://18.191.201.243:8080//manager/text/undeploy?path=/BMI -u tomcat:secret'
20+
sh 'curl -v -u tomcat:secret -T target/org.jacoco.examples.maven.java-1.0-SNAPSHOT.jar http://18.191.201.243:8080//manager/text/deploy?path=/BMI'
21+
1922
}
2023
}
2124
}

0 commit comments

Comments
 (0)