forked from jenkins-khan/jenkins-php-api
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create Jenkins Build Job. Jenkins build jobs and pipeline scripts created.
- Loading branch information
Showing
1 changed file
with
2 additions
and
3 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 |
---|---|---|
|
@@ -5,7 +5,7 @@ void setBuildStatus(String message, String state) { | |
step([ | ||
$class: 'GitHubCommitStatusSetter', | ||
reposSource: [$class: 'ManuallyEnteredRepositorySource', url: 'https://github.com/ooobii/jenkins-php-api'], | ||
contextSource: [$class: 'ManuallyEnteredCommitContextSource', context: 'jenkinsci/build'], | ||
contextSource: [$class: 'ManuallyEnteredCommitContextSource', context: 'build'], | ||
errorHandlers: [[$class: 'ChangingBuildStatusErrorHandler', result: 'UNSTABLE']], | ||
statusResultSource: [ $class: 'ConditionalStatusResultSource', results: [[$class: 'AnyBuildResult', message: message, state: state]] ] | ||
]) | ||
|
@@ -22,7 +22,6 @@ pipeline { | |
extensions: [[$class: 'WipeWorkspace']], | ||
userRemoteConfigs: [[url: '[email protected]:ooobii/jenkins-php-api.git']] | ||
]) | ||
// sh "git clone --branch $BRANCH_NAME [email protected]:ooobii/jenkins-php-api.git ." | ||
} | ||
} | ||
stage('Install Composer') { | ||
|
@@ -37,7 +36,7 @@ pipeline { | |
} | ||
stage('Install Composer Pkgs') { | ||
steps { | ||
sh './composer/composer install' | ||
sh './composer/composer install --dev' | ||
} | ||
} | ||
stage('Remove Composer') { | ||
|