Skip to content

Commit

Permalink
Fix jenkins.groovy syntax error.
Browse files Browse the repository at this point in the history
Fix workspace stash between stages.
  • Loading branch information
Donald Morton committed Mar 4, 2021
1 parent 4ea5a48 commit 3a24850
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions jenkins.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pipeline
steps
{
sh 'mvn package'
stash name: 'build artifacts', includes: 'build/**'
stash name: 'workspace'
}
}

Expand All @@ -42,7 +42,7 @@ pipeline

steps
{
unstash 'build artifacts'
unstash 'workspace'
sh 'mvn deploy'
}

Expand All @@ -55,3 +55,5 @@ pipeline
}
}
}
}
}

0 comments on commit 3a24850

Please sign in to comment.