From e2ea5cc04cbd915b03c947d4dfd41404b1d77b0c Mon Sep 17 00:00:00 2001 From: Matthew Wendel Date: Tue, 2 Mar 2021 23:21:15 -0500 Subject: [PATCH 1/2] Jenkinsfile: remove extra comma --- Jenkinsfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2699eaf..ce2a01e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,7 +22,6 @@ pipeline { extensions: [[$class: 'WipeWorkspace']], userRemoteConfigs: [[url: 'git@github.com:ooobii/jenkins-php-api.git']] ]) - // sh "git clone --branch $BRANCH_NAME git@github.com:ooobii/jenkins-php-api.git ." } } stage('Install Composer') { From 1acbdca8dba24fd83b502e0e89545743f5eb25a9 Mon Sep 17 00:00:00 2001 From: Matthew Wendel Date: Tue, 16 Mar 2021 18:20:31 -0400 Subject: [PATCH 2/2] rename github build job --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ce2a01e..a63b684 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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]] ] ]) @@ -36,7 +36,7 @@ pipeline { } stage('Install Composer Pkgs') { steps { - sh './composer/composer install' + sh './composer/composer install --dev' } } stage('Remove Composer') {