Fill in the blanks by dragging the missing answer.
pipeline {
agent any
stages {
stage('Log Java Git and Maven Info') {
steps {
}
}
stage('Clone Remote Repository') {
steps {
}
}
stage('Checkout & Merge Remotes') {
steps {
}
}
stage('Compile Code') {
steps {
}
}
stage('Run Tests') {
steps {
}
}
stage('Build Artifacts (WAR and JAR)') {
steps {
}
}
stage('Deploy to Tomcat') {
steps {
def response = input message: 'Should we deploy to Tomcat? ', parameters: [choice(choices: 'Yes\nNo', description: 'Proceed or Abort?', name: 'Deployment')]
if (response=="Yes") {
} else {
echo "The WAR file was not deployed to the Tomcat server."
}
}
}
}
}
All Answers Answered
Answers Remain