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/04/12 15:38:09 UTC
[trafficserver-ci] branch main updated: Create debian.pipeline
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 03fbb27 Create debian.pipeline
03fbb27 is described below
commit 03fbb27caa983cc1aeada513e95746ba8f78c17e
Author: Evan Zelkowitz <ez...@apache.org>
AuthorDate: Mon Apr 12 09:38:03 2021 -0600
Create debian.pipeline
---
jenkins/github/debian.pipeline | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/jenkins/github/debian.pipeline b/jenkins/github/debian.pipeline
new file mode 100644
index 0000000..444bc22
--- /dev/null
+++ b/jenkins/github/debian.pipeline
@@ -0,0 +1,42 @@
+pipeline {
+ agent {
+ docker {
+ image 'controller.trafficserver.org/ats/debian:10'
+ registryUrl 'https://controller.trafficserver.org/'
+ label 'docker'
+ }
+ }
+ stages {
+ stage('Clone') {
+ steps {
+ dir('src') {
+ echo "${sha1}"
+ checkout([$class: 'GitSCM',
+ branches: [[name: sha1]],
+ extensions: [],
+ userRemoteConfigs: [[url: github_url, refspec: '+refs/pull/*:refs/remotes/origin/pr/*']]])
+ }
+ echo 'Finished Cloning'
+ }
+ }
+ stage('Build') {
+ steps {
+ echo 'Starting build'
+ dir('src') {
+ sh('autoreconf -fiv')
+ sh('./configure --enable-experimental-plugins --enable-example-plugins --prefix=/tmp/ats/ --with-user=jenkins --enable-debug --enable-werror')
+ sh('make -j4 V=1 Q=')
+ sh('make -j 2 check VERBOSE=Y V=1')
+ sh('make install')
+ sh('/tmp/ats/bin/traffic_server -K -k -R 1')
+ }
+ }
+ }
+ }
+
+ post {
+ cleanup {
+ cleanWs()
+ }
+ }
+}