language: bash
branches:
  only:
    - MANUAL_TRIGGER
addons:
  apt:
    packages:
      - rpm
install: true
script: true

language: bash
branches:
  only:
    - MANUAL_TRIGGER
addons:
  apt:
    packages:
      - rpm
install: true
script:
    - rpmbuild -bb --buildroot $(pwd) -D "version ${VERSION}" -D "buildrelease 1" -D "_rpmdir $(pwd)/_build" insight-agent.spec

Add rpmbuild as build script
Add rpmbuild as build script
