You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ez...@apache.org on 2021/03/16 22:44:22 UTC
[trafficserver-ci] branch main updated: Adding ubuntu-param
pipeline. This is to work out how to pass down the commit has into the
build
This is an automated email from the ASF dual-hosted git repository.
eze pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git
The following commit(s) were added to refs/heads/main by this push:
new c5e9902 Adding ubuntu-param pipeline. This is to work out how to pass down the commit has into the build
new f8d6753 Merge pull request #6 from ezelkow1/main
c5e9902 is described below
commit c5e9902e6cf2c1b33619b2798a2ce253d93dc6bd
Author: Evan Zelkowitz <ev...@gmail.com>
AuthorDate: Tue Mar 16 15:42:26 2021 -0700
Adding ubuntu-param pipeline. This is to work out how to pass down the commit has into the build
---
jenkins/ubuntu-param.pipeline | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/jenkins/ubuntu-param.pipeline b/jenkins/ubuntu-param.pipeline
new file mode 100644
index 0000000..a84645d
--- /dev/null
+++ b/jenkins/ubuntu-param.pipeline
@@ -0,0 +1,40 @@
+pipeline {
+ agent {
+ docker {
+ image 'controller.trafficserver.org/ats/old_ci/ubuntu:19.04'
+ registryUrl 'https://controller.trafficserver.org/'
+ label 'docker'
+ }
+ }
+
+ stages {
+ stage('Clone') {
+ steps {
+ dir('src') {
+ git branch: '${sha1}', url: 'http://jenkins.trafficserver.org/mirror/trafficserver.git'
+ }
+ dir('ci') {
+ git branch: 'main', url: 'https://github.com/ezelkow1/trafficserver-ci.git'
+ }
+ echo 'Finished Cloning'
+ }
+ }
+ stage('Build') {
+ steps {
+ echo 'Starting build'
+ dir('src') {
+ sh('ls')
+ sh('autoreconf -fiv')
+ sh('./configure --enable-experimental-plugins')
+ sh('make -j2')
+ }
+ }
+ }
+ }
+
+ post {
+ cleanup {
+ cleanWs()
+ }
+ }
+}