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 e704646 use the checkout pipeline (inspired from website)
e704646 is described below
commit e70464600500d1998c32512b0fe7e318beddbd35
Author: Eric Barboni <[email protected]>
AuthorDate: Tue Oct 17 10:08:03 2023 +0200
use the checkout pipeline (inspired from website)
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index b25c422..18753d8 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -12,7 +12,7 @@ pipeline {
steps {
sh 'rm -rf build'
- 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: '*/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']])
dir('build/site') {
sh 'git rm -r .'
}
---------------------------------------------------------------------
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