Updated Jenkinsfile to push to unstable folder, updated Dockerfile to include pypi2deb 52/1652/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 24 Apr 2017 09:41:29 +0000 (11:41 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 24 Apr 2017 09:41:35 +0000 (11:41 +0200)
Change-Id: I7d478de20bf92a0e7b24be4e8a69aea3aa8d691a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Dockerfile
Jenkinsfile

index 66cb83d..84144a8 100644 (file)
@@ -1,8 +1,9 @@
 FROM ubuntu:16.04
 
 RUN  apt-get update && \
-  DEBIAN_FRONTEND=noninteractive apt-get -y install git make && \
-  DEBIAN_FRONTEND=noninteractive apt-get -y install python python-stdeb python-pip libmysqlclient-dev libssl-dev libffi-dev && \
+  DEBIAN_FRONTEND=noninteractive apt-get -y install git build-essential && \
+  DEBIAN_FRONTEND=noninteractive apt-get -y install python python-dev python-all python-stdeb fakeroot pypi2deb && \
+  DEBIAN_FRONTEND=noninteractive apt-get -y install python-pip libmysqlclient-dev libssl-dev libffi-dev && \
   DEBIAN_FRONTEND=noninteractive pip install --upgrade pip && \
   DEBIAN_FRONTEND=noninteractive pip install --upgrade setuptools && \
   DEBIAN_FRONTEND=noninteractive apt-get -y install python-argcomplete python-boto python-bottle python-jsonschema python-logutils python-cinderclient python-glanceclient python-keystoneclient python-neutronclient python-novaclient python-mysqldb
index 342f586..671b4c5 100644 (file)
@@ -26,9 +26,9 @@ pipeline {
                                sh '''
                                        mkdir -p pool/RO
                                        mv .build/*.deb pool/RO/
-                                       mkdir -p dists/$RELEASE/unstable/RO/binary-amd64/
-                                       apt-ftparchive packages pool/RO > dists/$RELEASE/unstable/RO/binary-amd64/Packages
-                                       gzip -9fk dists/$RELEASE/unstable/RO/binary-amd64/Packages
+                                       mkdir -p dists/ReleaseOne/unstable/RO/binary-amd64/
+                                       apt-ftparchive packages pool/RO > dists/ReleaseOne/unstable/RO/binary-amd64/Packages
+                                       gzip -9fk dists/ReleaseOne/unstable/RO/binary-amd64/Packages
                                        '''
                                archiveArtifacts artifacts: "dists/**,pool/RO/*.deb"
                        }