Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIXED JENKINS-24576] Feature to mark build unstable when no files uploaded #37

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

christ66
Copy link
Member

@christ66 christ66 commented Sep 4, 2014

If a build failed to upload any files, this adds the feature to mark a build then as unstable.

@cloudbees-pull-request-builder

plugins » s3-plugin #50 SUCCESS
This pull request looks good

@kjt
Copy link

kjt commented Dec 4, 2014

👍

@dmbeer
Copy link
Member

dmbeer commented Dec 8, 2014

@christ66 If you can bring this up to date with the latest code I will look at merging

Conflicts:
	src/main/resources/hudson/plugins/s3/S3BucketPublisher/config.jelly
@christ66
Copy link
Member Author

christ66 commented Feb 6, 2015

@dmbeer Sorry about the delay. I thought I had pushed these changes but I forgot.

@ryanwalls
Copy link

@dmbeer Any updates on this getting merged in? We really need to know when files are not uploaded successfully in our builds.

@christ66
Copy link
Member Author

christ66 commented Nov 5, 2015

@reviewbybees

@ghost
Copy link

ghost commented Nov 5, 2015

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

@@ -41,6 +41,11 @@
public boolean noUploadOnFailure;

/**
* Fail the build if no files were uploaded.
*/
public boolean failNoFilesToUpload;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is the code, which initializes this variable?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a big fan of public non-final fields due to all kinds of concurrency issues and potential misusages, but it does not increase the technical debt in this class.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I messed up the merge commit. It looks like that reverted the code change in the config.jelly file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants