Decision
When setting up branches for assembly, remove the wildcard *:
*/master will only master
This error only occurs when the GIT SCM is associated with the JOB.
Ex: I have daily work on creating an Android project. At first I thought it was a cron problem, currently I use 50 10 * * * , but I tried H 10 * * * without any success. When the time comes, he always creates a task (Failure or Success), and he queues another job .. and so on ...
Last held out on Friday, May 22, 2015 10:01:58 BRT; will be working on Saturday, May 23, 2015 10:01:58 a.m. BRT.
Even an assembly with a parameter queues another task every time.
That way, it stays in the build cycle, forever ..
Configuration:
- . 1,614.
- Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-46-generic x86_64)
- GIT : 1.17.1
- GIT : 2.3.5
:
Started by an SCM change
Building in workspace .../jobs/PROJECT_NAME/workspace
> git rev-parse
Fetching changes from the remote Git repository
> git config remote.origin.url ssh://GIT_ADDRESS/
Cleaning workspace
> git rev-parse
Resetting working tree
> git reset
> git clean -fdx
Fetching upstream changes from ssh://GIT_ADDRESS/
> git
> git -c core.askpass=true fetch
> git rev-parse refs/remotes/origin/master^{commit}
> git rev-parse refs/remotes/origin/origin/master^{commit}
Multiple candidate revisions
Scheduling another build to catch up with PROJECT_NAME
Checking out Revision e6d726c2d31cb0d7e6fad4362ee85e6fac1712c6 (refs/remotes/origin/master)
> git config core.sparsecheckout
> git checkout -f e6d726c2d31cb0d7e6fad4362ee85e6fac1712c6
> git rev-list e6d726c2d31cb0d7e6fad4362ee85e6fac1712c6
[Gradle] - Launching build.
[android] $ gradle clean build assemble
...
, ?
> git rev-parse refs/remotes/origin/master^{commit}
> git rev-parse refs/remotes/origin/origin/master^{commit}
Multiple candidate revisions
Scheduling another build to catch up with PROJECT_NAME
:

:

:
