This repository has been archived by the owner on May 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rob Park
committed
Jul 17, 2014
1 parent
b2933f9
commit 5ba8731
Showing
5 changed files
with
71 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
#!/bin/bash | ||
bundle --version || gem install bundler --no-ri --no-rdoc | ||
bundle install | ||
rm -f *.gem | ||
bundle exec rake spec || exit $? | ||
bundle exec gem build jenkins_pipeline_builder.gemspec || exit $? | ||
bundle exec gem bump | ||
bundle exec rake spec || exit $? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
- project: | ||
name: Jenkins-Pipeline-Builder | ||
description: 'Do not edit this job through the web!' | ||
git_repo: [email protected]:constantcontact/jenkins_pipeline_builder.git | ||
git_branch: master | ||
discard_days: '30' | ||
discard_number: '100' | ||
rvm: '`cat .ruby-version`' | ||
jobs: | ||
- '{{name}}-Commit' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
require File.expand_path('../../lib/jenkins_pipeline_builder/spec_helper', __FILE__) | ||
|
||
describe 'Pipeline' do | ||
before :all do | ||
JenkinsPipelineBuilder.credentials = { | ||
server_ip: '127.0.0.1', | ||
server_port: 8080, | ||
username: 'username', | ||
password: 'password', | ||
log_location: '/dev/null' | ||
} | ||
end | ||
|
||
let(:generator) {JenkinsPipelineBuilder::Generator.new} | ||
|
||
it 'generates its own pipeline' do | ||
generator.debug = true | ||
generator.bootstrap './pipeline' | ||
|
||
|
||
end | ||
end |