[Gluster-infra] Bash scripts for Jenkins jobs

Niels de Vos ndevos at redhat.com
Mon Jun 13 09:15:38 UTC 2016


On Mon, Jun 13, 2016 at 02:01:42PM +0530, Nigel Babu wrote:
> Hello folks,
> 
> We define shell scripts inside the Jenkins job[1], which Jenkins allows you to do
> for flexibility. The ideal workflow is that the xml for the job is updated
> every time the job is changed, but this does not always happen.
> 
> I'd like to propose that we split this script into a bash script. This means
> when changes are made, we're all aware of it and there's a code review for
> these changes.
> 
> What this means is that there will be the following files:
> 
> jenkins/job/rackspace-regression-2GB-triggered.xml
> jenkins/script/rackspace-regression-2GB-triggered.sh
> 
> The job will call it's corresponding bash script.
> 
> I'm happy to do the initial conversion. What does everyone think about this
> change of process?

That works for me, it is similar to how we do the Jenkins jobs in the
CentOS CI. It makes it a little easier for others to contribute to the
jobs.

Thanks,
Niels


> 
> 
> [1]: https://github.com/gluster/glusterfs-patch-acceptance-tests/blob/master/jenkins/jobs/rackspace-regression-2GB-triggered.xml#L107
> 
> --
> nigelb
> _______________________________________________
> Gluster-infra mailing list
> Gluster-infra at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-infra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://www.gluster.org/pipermail/gluster-infra/attachments/20160613/eb466edc/attachment.sig>


More information about the Gluster-infra mailing list