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/netbeans-jenkins-lib.git
The following commit(s) were added to refs/heads/master by this push:
new fe26e48 add library, not yet doing effective build
fe26e48 is described below
commit fe26e4863397d89c2daffce15d1ac9548062a9a7
Author: Eric Barboni <[email protected]>
AuthorDate: Thu May 16 17:57:31 2019 +0200
add library, not yet doing effective build
---
vars/asfMainNetBeansBuild.groovy | 44 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/vars/asfMainNetBeansBuild.groovy b/vars/asfMainNetBeansBuild.groovy
new file mode 100644
index 0000000..31fdb32
--- /dev/null
+++ b/vars/asfMainNetBeansBuild.groovy
@@ -0,0 +1,44 @@
+#!groovy
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+// this script is taken from olamy works on archiva-jenkins-lib for the Apache
Archiva project
+def call(Map params = [:]) {
+
+
+ pipeline {
+ agent any
+ stages{
+ stage("Test"){
+ agent { node { label 'ubuntu' } }
+ options { timeout(time: 120, unit: 'MINUTES') }
+ steps{
+ echo env.BRANCH_NAME;
+ }
+ }
+ }
+ post {
+ cleanup {
+ cleanWs() // deleteDirs: true, notFailBuild: true, patterns:
[[pattern: '**/.repository/**', type: 'INCLUDE']]
+ }
+
+ }
+ }
+}
---------------------------------------------------------------------
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