Skip to content

Instantly share code, notes, and snippets.

@PerilousApricot
Last active April 1, 2016 03:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PerilousApricot/263ff86b489b75ce93bc7ac08b8b1ddb to your computer and use it in GitHub Desktop.
Save PerilousApricot/263ff86b489b75ce93bc7ac08b8b1ddb to your computer and use it in GitHub Desktop.
parallel 'centos-6': node {
git branch: 'feature/onerepo',
credentialsId: '76def0c6-3be5-44ea-9854-6c25ca8fca16',
poll: false,
url: 'https://github.com/accre/lstore-release.git'
sh "bash -x scripts/build-docker-base.sh centos-6"
sh "bash -x scripts/package.sh centos-6"
sh "bash -x scripts/update-repo.sh centos-6"
sh "bash -x scripts/test-repo.sh centos-6"
}, 'debian-jessie': node {
git branch: 'feature/onerepo',
credentialsId: '76def0c6-3be5-44ea-9854-6c25ca8fca16',
poll: false,
url: 'https://github.com/accre/lstore-release.git'
sh "bash -x scripts/build-docker-base.sh debian-jessie"
sh "bash -x scripts/package.sh debian-jessie"
sh "bash -x scripts/update-repo.sh debian-jessie"
sh "bash -x scripts/test-repo.sh debian-jessie"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment