Fix issue caused by process substitution on sh
[releng/builder.git] / jenkins-scripts / builder.sh
index ea7c7b583d44ec456bacc9670cec5224c7c762d7..7249e01cdd10603fe5dbbc3b43947eb06565cee8 100755 (executable)
@@ -1,21 +1,28 @@
 #!/bin/bash
+# vim: sw=2 ts=2 sts=2 et :
 
 yum clean all
-yum install -y python-virtualenv xmlstarlet
 
-# sshpass for the current deploy test to be runable immediatelly after build
+#
+# Integration/Packaging
+#
+
+# Install software for building RPMs
+yum install -y fedora-packager
+
+# Install software for building docs
+yum install -y libxslt-devel
+
+# disable the firewall
+/bin/bash ./disable_firewall.sh
+
+# install sshpass
 yum install -y sshpass
 
-# add in mono components for VTN
-yum install -y yum-utils
-#The following is needed for the new code in vtn project.
-#these packages will enable C# compilation.
-rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
-#Added the mono tools repository
-yum-config-manager -q -y --add-repo http://origin-download.mono-project.com/repo/centos6
-#Install the nuget binary
-yum install -q -y http://origin-download.mono-project.com/repo/centos/n/nuget/nuget-2.8.3+md58+dhx1-0.noarch.rpm
-#install the mono toolchain
-yum -q -y install mono-complete
+cat <<EOF >/etc/sudoers.d/89-jenkins-user-defaults
+Defaults:jenkins !requiretty
+jenkins     ALL = NOPASSWD: ALL
+EOF
 
-# vim: sw=2 ts=2 sts=2 et :
+# install crudini command line tool for editing config files
+yum install -y crudini