Comments (7)
Thanks for your feedback. Since we've received requests for both behaviors, I'll add a flag to specify the pipeline failure mode.
from aws-codebuild-jenkins-plugin.
Yeah, it makes sense to keep the pipeline failure behavior in sync and only throw CodeBuildExceptions in that flow. I've updated the logic in 281ca95. I'll release this in version 0.39
sometime this week.
from aws-codebuild-jenkins-plugin.
+1 to this. In my usecase I'm planning to have a job that puts tests that need to run in a SQS queue, kicks off 30-50 codebuild builds in parallel, and let each of them chomp at the queue. So if some of them fail during setup, but all the tests run on other workers, the parent job should pass. Since each of these workers take about 30min to finish, it's quite costly to have the parent job falsely fail and then need to rerun all of them.
from aws-codebuild-jenkins-plugin.
Implemented in f597598. When the new exceptionFailureMode
is enabled, you can catch exceptions from awsCodeBuild
steps like so
try {
awsCodeBuild ...
} catch (hudson.AbortException ae) {
}
from aws-codebuild-jenkins-plugin.
This will be released in version 0.38
later today.
from aws-codebuild-jenkins-plugin.
omg thank you so much! you're a life saver!
from aws-codebuild-jenkins-plugin.
hey sorry, one more question:
it looks like when the plugin sets the whole build result as FAILURE, it also returns a CodeBuildException which has some useful information about the build. When exceptionFailureMode
is enabled though since it's just an AbortException this info is lost. Is it possible to keep these Exceptions consistent with build info?
from aws-codebuild-jenkins-plugin.
Related Issues (20)
- Config setting to override image pull credentials type
- The time of the build at the plugin differs from Codebuild
- Can't download artifacts from S3 HOT 1
- Artifacts download to workspace on Jenkins master rather than slave
- Running CodeBuild on Docker Container uses Master Role and NOT Agent Role
- Unable to stream cloudwatch logs HOT 9
- Cannot override secondary artifact name
- Versions 0.55 and above may not work on Jenkins 2.319 HOT 1
- Unable to specify variable type in environment variables override
- Which is the main repository? HOT 3
- Support file modes in "Use Jenkins source" HOT 1
- Support include/exclude file patterns in "Use Jenkins source" HOT 1
- Parallel execution with "Use Jenkins source" results S3 upload error and strange error message HOT 5
- Inconsistant Jenkins target version
- Question: when git clone depth override is empty
- Source Override does not work for AWS Gov Cloud
- CodeBuildException on zip and upload HOT 2
- Environment Variable Override Does Not Accept pipe '|' character
- Support for GPU based codebuild container HOT 2
- environment directive gets ignored
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-codebuild-jenkins-plugin.