GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update jenkinsfile-linux · chobi149/samplejavaapp@9eddf5e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • jenkinsfile-linux
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎jenkinsfile-linux‎

Copy file name to clipboardExpand all lines: jenkinsfile-linux
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ pipeline {
55
stage('compile') {
66
steps {
77
git url: 'https://github.com/lerndevops/samplejavaapp.git'
8-
sh script: 'mvn compile'
8+
sh script: '/opt/apache-maven-3.6.3/bin/mvn compile'
99
}
1010
}
1111
stage('codereview-pmd') {
1212
steps {
13-
sh script: 'mvn -P metrics pmd:pmd'
13+
sh script: '/opt/apache-maven-3.6.3/bin/mvn -P metrics pmd:pmd'
1414
}
1515
post {
1616
success {
@@ -20,7 +20,7 @@ pipeline {
2020
}
2121
stage('unit-test') {
2222
steps {
23-
sh script: 'mvn test'
23+
sh script: '/opt/apache-maven-3.6.3/bin/mvn test'
2424
}
2525
post {
2626
success {
@@ -30,7 +30,7 @@ pipeline {
3030
}
3131
stage('metric-check') {
3232
steps {
33-
sh script: 'mvn cobertura:cobertura -Dcobertura.report.format=xml'
33+
sh script: '/opt/apache-maven-3.6.3/bin/mvn cobertura:cobertura -Dcobertura.report.format=xml'
3434
}
3535
post {
3636
success {
@@ -40,7 +40,7 @@ pipeline {
4040
}
4141
stage('package') {
4242
steps {
43-
sh script: 'mvn clean package'
43+
sh script: '/opt/apache-maven-3.6.3/bin/mvn clean package'
4444
}
4545
}
4646
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.