Skip to content

Commit

Permalink
Fix binaryBuild call to match pipeline libary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cpeters committed Sep 5, 2019
1 parent 8a28c59 commit 21d4489
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion basic-nginx/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pipeline {

stage('Image Build') {
steps {
binaryBuild(projectName: "${BUILD}", buildConfigName: "${APP_NAME}", artifactsDirectoryName: "${ARTIFACT_DIRECTORY}")
binaryBuild(projectName: "${BUILD}", buildConfigName: "${APP_NAME}", buildFromPath: "${ARTIFACT_DIRECTORY}")
}
}

Expand Down
2 changes: 1 addition & 1 deletion basic-spring-boot/Jenkinsfile.hygieia
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pipeline {
// Giving all the artifacts to OpenShift Binary Build
// This places your artifacts into right location inside your S2I image
// if the S2I image supports it.
binaryBuild(projectName: env.BUILD, buildConfigName: env.APP_NAME, artifactsDirectoryName: "oc-build")
binaryBuild(projectName: env.BUILD, buildConfigName: env.APP_NAME, buildFromPath: "oc-build")
}
}

Expand Down
2 changes: 1 addition & 1 deletion basic-tomcat/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pipeline {
cp -rfv ./${TARGET}/*.\$t oc-build/deployments/ 2> /dev/null || echo "No \$t files"
done
"""
binaryBuild(projectName: env.BUILD, buildConfigName: env.APP_NAME, artifactsDirectoryName: "oc-build")
binaryBuild(projectName: env.BUILD, buildConfigName: env.APP_NAME, buildFromPath: "oc-build")
}
}

Expand Down
2 changes: 1 addition & 1 deletion blue-green-spring/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pipeline {
cp -rfv ./${TARGET}/*.\$t oc-build/deployments/ 2> /dev/null || echo "No \$t files"
done
"""
binaryBuild(projectName: BUILD, buildConfigName: APP_NAME, artifactsDirectoryName: "oc-build")
binaryBuild(projectName: BUILD, buildConfigName: APP_NAME, buildFromPath: "oc-build")
}
}

Expand Down
2 changes: 1 addition & 1 deletion secure-spring-boot/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ pipeline {
// Build Container Image using the artifacts produced in previous stages
stage('Build Container Image'){
steps {
binaryBuild(projectName: env.BUILD, buildConfigName: env.APP_NAME, artifactsDirectoryName: "${env.BUILD_OUTPUT_DIR}");
binaryBuild(projectName: env.BUILD, buildConfigName: env.APP_NAME, buildFromPath: "${env.BUILD_OUTPUT_DIR}")
}
}

Expand Down

0 comments on commit 21d4489

Please sign in to comment.