Package org.jenkinsci.plugins.gitclient
Interface PushCommand
-
- All Superinterfaces:
GitCommand
public interface PushCommand extends GitCommand
PushCommand interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description PushCommand
force()
Deprecated.favourforce(boolean)
PushCommand
force(boolean force)
force.PushCommand
ref(String refspec)
ref.PushCommand
tags(boolean tags)
tags.PushCommand
timeout(Integer timeout)
timeout.PushCommand
to(org.eclipse.jgit.transport.URIish remote)
to.-
Methods inherited from interface org.jenkinsci.plugins.gitclient.GitCommand
execute
-
-
-
-
Method Detail
-
to
PushCommand to(org.eclipse.jgit.transport.URIish remote)
to.- Parameters:
remote
- aURIish
object.- Returns:
- a
PushCommand
object.
-
ref
PushCommand ref(String refspec)
ref.- Parameters:
refspec
- aString
object.- Returns:
- a
PushCommand
object.
-
force
@Deprecated PushCommand force()
Deprecated.favourforce(boolean)
force.- Returns:
- a
PushCommand
object.
-
force
PushCommand force(boolean force)
force.- Parameters:
force
-true
if the push should be forced- Returns:
- a
PushCommand
object. - Since:
- 2.5.0
-
tags
PushCommand tags(boolean tags)
tags.- Parameters:
tags
- if true, tags will be included in the push, otherwise they are not pushed- Returns:
- a
PushCommand
object.
-
timeout
PushCommand timeout(Integer timeout)
timeout.- Parameters:
timeout
- aInteger
object.- Returns:
- a
PushCommand
object.
-
-