This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch results
in repository https://gitbox.apache.org/repos/asf/struts-site.git
The following commit(s) were added to refs/heads/results by this push:
new 36b8cab79 Uses proper dockerfile syntax in pipeline
36b8cab79 is described below
commit 36b8cab79d2429eae3e7f48648817e77a1765354
Author: Lukasz Lenart <[email protected]>
AuthorDate: Wed Oct 19 14:15:10 2022 +0200
Uses proper dockerfile syntax in pipeline
---
Jenkinsfile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 3a0abbe69..5ac7c1834 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -13,8 +13,9 @@ pipeline {
stages {
stage('Build a staged website') {
agent {
- dockerfile true
- args "-v ${env.WORKSPACE}:/dest:rw,z"
+ dockerfile {
+ args "-v ${env.WORKSPACE}:/dest:rw,z"
+ }
}
steps {
sh '''