Skip to content

Commit

Permalink
Merge PR#1: ooobii/create-build-job
Browse files Browse the repository at this point in the history
Create Jenkins Build Job.

Jenkins build jobs and pipeline scripts created.
  • Loading branch information
ooobii authored Mar 16, 2021
2 parents b500fe5 + 1acbdca commit 3d2119a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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]] ]
])
Expand All @@ -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') {
Expand All @@ -37,7 +36,7 @@ pipeline {
}
stage('Install Composer Pkgs') {
steps {
sh './composer/composer install'
sh './composer/composer install --dev'
}
}
stage('Remove Composer') {
Expand Down

0 comments on commit 3d2119a

Please sign in to comment.