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

Update UCDeployPublisher.java - Fix for Trigger version import #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -505,15 +505,7 @@ public UCDeploySite getSite() {
public void perform(final Run<?, ?> build, FilePath workspace, Launcher launcher, final TaskListener listener)
throws AbortException, InterruptedException, IOException {
boolean pushFailedBuild = false;
pushFailedBuild = ((Push)getDelivery()).getPushFailedBuild();
if (build.getResult() == Result.FAILURE || build.getResult() == Result.ABORTED) {
if(pushFailedBuild != true || build.getResult() == Result.ABORTED){
throw new AbortException("Skip artifacts upload to IBM UrbanCode Deploy - build failed or aborted.");
} else {
listener.getLogger().println("Pushing Failed Build");
}
}

listener.getLogger().println("Pushing Failed Build");
UCDeploySite udSite = getSite();
DefaultHttpClient udClient; // not serializable

Expand Down