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 <[email protected]>
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()
+ }
+ }
+}