This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/netbeans-antora.git


The following commit(s) were added to refs/heads/main by this push:
     new b81df3f  Update Jenkinsfile
b81df3f is described below

commit b81df3fca9a45616672b64c222fb0892c0975d02
Author: Eric Barboni <sk...@apache.org>
AuthorDate: Tue Oct 17 11:30:55 2023 +0200

    Update Jenkinsfile
---
 Jenkinsfile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index a1c8821..9aa0175 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -12,9 +12,10 @@ pipeline {
             steps {
                 sh 'rm -rf build'
 
-                checkout changelog: false, poll: false, scm: scmGit(branches: 
[[name: '*/antora']], extensions: [[$class: 'RelativeTargetDirectory', 
relativeTargetDir: 'build/site'], cloneOption(depth: 1, noTags: false, 
reference: '', shallow: true)], userRemoteConfigs: [[credentialsId: 
'9b041bd0-aea9-4498-a576-9eeb771411dd', url: 
'https://gitbox.apache.org/repos/asf/netbeans-website.git']])
+                //checkout changelog: false, poll: false, scm: 
scmGit(branches: [[name: '*/antora']], extensions: [[$class: 
'RelativeTargetDirectory', relativeTargetDir: 'build/site'], cloneOption(depth: 
1, noTags: false, reference: '', shallow: true)], userRemoteConfigs: 
[[credentialsId: '9b041bd0-aea9-4498-a576-9eeb771411dd', url: 
'https://gitbox.apache.org/repos/asf/netbeans-website.git']])
+                sh 'git clone --depth 1 --branch antora 
https://gitbox.apache.org/repos/asf/netbeans-website.git build/site'
                 dir('build/site') {
-                   sh 'git checkout antora'            
+                   //sh 'git checkout antora'          
                    sh 'git status'
                     sh 'git rm -r .'
                 }
@@ -26,7 +27,7 @@ pipeline {
                  sh 'git add .'
                  sh 'echo `git commit -m "site build"`'
                   sh 'git status'                        
-                  sh 'git push'
+                  sh 'git push 
https://gitbox.apache.org/repos/asf/netbeans-website.git antora'
                }
             }
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to