[
https://issues.apache.org/jira/browse/BEAM-4302?focusedWorklogId=115580&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-115580
]
ASF GitHub Bot logged work on BEAM-4302:
----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Jun/18 18:18
Start Date: 25/Jun/18 18:18
Worklog Time Spent: 10m
Work Description: alanmyrvold commented on a change in pull request
#5406: [BEAM-4302] add beam dependency checks
URL: https://github.com/apache/beam/pull/5406#discussion_r197893522
##########
File path: .test-infra/jenkins/job_Dependency_Check.groovy
##########
@@ -0,0 +1,65 @@
+/*
+ * 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.
+ */
+
+import common_job_properties
+
+job('beam_Dependency_Check') {
+ description('Runs Beam dependency check.')
+
+ // Set common parameters.
+ common_job_properties.setTopLevelMainJobProperties(delegate)
+
+ // Allows triggering this build against pull requests.
+ common_job_properties.enablePhraseTriggeringFromPullRequest(
+ delegate,
+ 'Beam Dependency Check',
+ 'Run Dependency Check')
+
+ // This is a job that runs weekly.
+ common_job_properties.setPostCommit(
+ delegate,
+ '0 12 * * 1',
+ false)
+
+ steps {
+ gradle {
+ rootBuildScriptDir(common_job_properties.checkoutDir)
+ tasks(':runBeamDependencyCheck')
+ common_job_properties.setGradleSwitches(delegate)
+ switches('-Drevision=release')
+ }
+
+ shell('cd ' + common_job_properties.checkoutDir +
+ ' && bash .test-infra/jenkins/dependency_check/generate_report.sh')
+ }
+
+ def date = new Date().format('yyyy-MM-dd')
+ publishers {
Review comment:
do you need to add archiveArtifacts to this publishers clause to get the
html archived for viewing later in the build results?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 115580)
Time Spent: 84.5h (was: 84h 20m)
> Fix to dependency hell
> ----------------------
>
> Key: BEAM-4302
> URL: https://issues.apache.org/jira/browse/BEAM-4302
> Project: Beam
> Issue Type: New Feature
> Components: testing
> Reporter: yifan zou
> Assignee: yifan zou
> Priority: Major
> Time Spent: 84.5h
> Remaining Estimate: 0h
>
> # For Java, a daily Jenkins test to compare version of all Beam dependencies
> to the latest version available in Maven Central.
> # For Python, a daily Jenkins test to compare versions of all Beam
> dependencies to the latest version available in PyPI.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)