This is an automated email from the ASF dual-hosted git repository.
skygo pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-netbeans-mavenutils.git
The following commit(s) were added to refs/heads/master by this push:
new cbb0ada preliminary step for asf-site branch
cbb0ada is described below
commit cbb0ada72aa2aece06a7ac77f0f96bde15506b74
Author: Eric Barboni <[email protected]>
AuthorDate: Tue Oct 30 20:32:45 2018 +0100
preliminary step for asf-site branch
---
Jenkinsfile-site.groovy | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/Jenkinsfile-site.groovy b/Jenkinsfile-site.groovy
index 5e00b3f..6e1c2b2 100644
--- a/Jenkinsfile-site.groovy
+++ b/Jenkinsfile-site.groovy
@@ -35,6 +35,19 @@ pipeline {
checkout([$class: 'GitSCM', branches: [[name: '*/asf-site']],
doGenerateSubmoduleConfigurations: false, extensions: [[$class:
'MessageExclusion', excludedMessage: 'Automated site publishing.*'], [$class:
'RelativeTargetDirectory', relativeTargetDir: 'asf-site-branch']],
submoduleCfg: [], userRemoteConfigs: [[credentialsId:
'9b041bd0-aea9-4498-a576-9eeb771411dd', url:
'https://gitbox.apache.org/repos/asf//incubator-netbeans-mavenutils/']]])
}
}
+ stage('Prepare Publish Site'){
+ agent {label 'git-websites'}
+ steps {
+ dir('asf-site-branch') {
+ echo 'Adding content...'
+ sshagent (credentials:
['9b041bd0-aea9-4498-a576-9eeb771411dd']) {
+ sh 'git checkout asf-site'
+ sh 'git fetch origin asf-site'
+ sh 'git pull origin asf-site'
+ }
+ }
+ }
+ }
stage('Build Site'){
agent {label 'git-websites'}
steps {
---------------------------------------------------------------------
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