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 c664412  Update Jenkinsfile
c664412 is described below

commit c66441272da7e1f796536e49d171e1773f45469d
Author: Eric Barboni <[email protected]>
AuthorDate: Tue Oct 17 13:36:32 2023 +0200

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

diff --git a/Jenkinsfile b/Jenkinsfile
index 3fcea1d..26b0450 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -12,10 +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']])
-                sh 'git clone --depth 1 --branch antora 
https://gitbox.apache.org/repos/asf/netbeans-website.git build/site'
+                //checkout changelog: false, poll: false, scm: 
scmGit(branches: [[name: '*/asf-staging']], 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 asf-staging 
https://gitbox.apache.org/repos/asf/netbeans-website.git build/site'
                 dir('build/site') {
-                   //sh 'git checkout antora'          
+                   //sh 'git checkout asf-staging'             
                    sh 'git status'
                     sh 'git rm -r .'
                 }
@@ -27,7 +27,7 @@ pipeline {
                  sh 'git add .'
                  sh 'echo `git commit -m "site build"`'
                   sh 'git status'                        
-                  sh 'git push 
https://gitbox.apache.org/repos/asf/netbeans-website.git antora'
+                  sh 'git push 
https://gitbox.apache.org/repos/asf/netbeans-website.git asf-staging'
                }
             }
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to