This is an automated email from the ASF dual-hosted git repository. sblackmon pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/streams.git
The following commit(s) were added to refs/heads/master by this push: new bb6cb0cdb8 add a Jenkinsfile bb6cb0cdb8 is described below commit bb6cb0cdb849201aab8dbba210e800d7d1a6a40b Author: Steve Blackmon <sblack...@salesforce.com> AuthorDate: Mon Dec 18 13:02:18 2023 -0600 add a Jenkinsfile --- Jenkinsfile | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000..37cfd08969 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,37 @@ +// *************************************************************************************************************************** +// * 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. * +// *************************************************************************************************************************** + +timestamps { + + node ('ubuntu') { + + stage ('Streams - Checkout') { + checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '', url: 'https://github.com/apache/streams']]]) + } + + stage ('Streams - Build') { + + withEnv(["JAVA_HOME=${ tool 'JDK 17 (latest)' }", "PATH=$PATH:${env.JAVA_HOME}/bin"]) { + + withMaven(jdk: 'JDK 17 (latest)', maven: 'Maven 3.9.3') { + sh "mvn -P 'java-17' clean install deploy" + } + + } + } + + stage ('Streams - Post build actions') { + step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: 'd...@streams.apache.org', sendToIndividuals: true]) + } + } +}