Gradle не публикует артефакт в Bitbucket - PullRequest
0 голосов
/ 28 января 2020

Я создал проект gradle с пружинной загрузкой, и я пытаюсь вставить jar sh в bitbucket. В bitbucket я создал один publi c репозиторий, а удаленная главная ветвь создала ветку с именем releases. Когда я запускаю задачу, gradlew uploadArchives успешно скомпилировала ее, но ничего не загрузилось в репозиторий. Поэтому я пытался получить журналы при сборке с команда

gradlew -Djava.util.logging.config.file=D:/demo/src/main/resources/log.properties --stacktrace --debug uploadArchives > log.txt 2>&1

build.gardle:

plugins {
    id 'org.springframework.boot' version '2.2.2.RELEASE'
    id 'io.spring.dependency-management' version '1.0.8.RELEASE'
    id 'java'
    id 'com.google.cloud.tools.jib' version '1.8.0'
    id 'maven'
}

group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'

repositories {

    mavenLocal() 
    maven { url "https://plugins.gradle.org/m2/"}
    maven { url "https://raw.github.com/synergian/wagon-git/releases"}
}

dependencies {
    implementation 'org.springframework.boot:spring-boot-starter-web'
    compile group: 'org.springframework.boot', name: 'spring-boot-starter-parent', version: '2.2.2.RELEASE', ext: 'pom'

    testImplementation('org.springframework.boot:spring-boot-starter-test') {
        exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
    }
    implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
}

  task packageSources (type: Jar) {
        from project.sourceSets.main.allSource
        classifier = 'sources'
    }

    artifacts {
        archives packageSources
    }


    configurations {
        deployerJar
    }

    dependencies {
        deployerJar "ar.com.synergian:wagon-git:0.2.3"

    }


     uploadArchives {

        configuration = configurations.archives

        repositories.mavenDeployer {

            configuration = configurations.deployerJar

             repository(url: "https://kotanithin@bitbucket.org/kotanithin/demo.git"){
         authentication(userName: "nithinroyal513@gmail.com", password: "xxxx")
        }

         snapshotRepository(url: "https://kotanithin@bitbucket.org/kotanithin/demo.git"){
         authentication(userName: "nithinroyal513@gmail.com", password: "xxxxx")
        }

        }
    }

test {
    useJUnitPlatform()
}

Когда я запускаю сообщение об ошибке

     2020-01-28T16:05:52.804+0530 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Resolve files of :deployerJar' completed
2020-01-28T16:05:52.853+0530 [DEBUG] [org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator] No local repository in Settings file defined. Using default path: C:\Users\HP\.m2\repository
2020-01-28T16:05:52.866+0530 [INFO] [org.gradle.api.publication.maven.internal.action.MavenDeployAction] Deploying to https://kotanithin@bitbucket.org/kotanithin/demo.git
2020-01-28T16:05:52.868+0530 [INFO] [org.gradle.api.publication.maven.internal.action.LoggingMavenTransferListener] Downloading: com/example/demo/0.0.1-SNAPSHOT/maven-metadata.xml from repository remote at https://bitbucket.org/kotanithin/demo.git/
2020-01-28T16:05:52.869+0530 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies] CookieSpec selected: compatibility
2020-01-28T16:05:52.870+0530 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies] Cookie [version: 0][name: bb_session][value: sdfzusnezxn3lm74dzcz9gh2iecbux3n][domain: bitbucket.org][path: /][expiry: Tue Feb 11 11:15:07 IST 2020] match [(secure)bitbucket.org:443/kotanithin/demo.git/com/example/demo/0.0.1-SNAPSHOT/maven-metadata.xml]
2020-01-28T16:05:52.870+0530 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies] Cookie [version: 0][name: csrftoken][value: yx0YvQTjPxwYvwMgBvVAHh1mxE5FmuXIDLpGAYYr4ZnzLOMrwF0K78MiUBff11Dq][domain: bitbucket.org][path: /][expiry: Tue Jan 26 15:35:33 IST 2021] match [(secure)bitbucket.org:443/kotanithin/demo.git/com/example/demo/0.0.1-SNAPSHOT/maven-metadata.xml]
2020-01-28T16:05:52.870+0530 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection request: [route: {s}->https://bitbucket.org:443][total kept alive: 1; route allocated: 1 of 20; total allocated: 1 of 40]
2020-01-28T16:05:52.872+0530 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection leased: [id: 23][route: {s}->https://bitbucket.org:443][total kept alive: 0; route allocated: 1 of 20; total allocated: 1 of 40]
2020-01-28T16:05:52.872+0530 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-23: set socket timeout to 0
2020-01-28T16:05:52.872+0530 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-23: set socket timeout to 1800000
2020-01-28T16:05:52.873+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Executing request GET /kotanithin/demo.git/com/example/demo/0.0.1-SNAPSHOT/maven-metadata.xml HTTP/1.1
2020-01-28T16:05:52.873+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Target auth state: UNCHALLENGED
2020-01-28T16:05:52.873+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Proxy auth state: UNCHALLENGED
2020-01-28T16:05:54.230+0530 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] > Task :uploadArchives
2020-01-28T16:06:19.559+0530 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-23: Close connection
2020-01-28T16:06:19.559+0530 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-23: Shutdown connection
2020-01-28T16:06:19.559+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Connection discarded
2020-01-28T16:06:19.560+0530 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection released: [id: 23][route: {s}->https://bitbucket.org:443][total kept alive: 0; route allocated: 0 of 20; total allocated: 0 of 40]
2020-01-28T16:06:19.560+0530 [INFO] [org.apache.http.impl.execchain.RetryExec] I/O exception (java.net.SocketException) caught when processing request to {s}->https://bitbucket.org:443: Connection reset
2020-01-28T16:06:19.560+0530 [DEBUG] [org.apache.http.impl.execchain.RetryExec] Connection reset
java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:210)
    at java.net.SocketInputStream.read(SocketInputStream.java:141)
    at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
    at sun.security.ssl.InputRecord.read(InputRecord.java:503)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
    at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940)
    at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
    at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)
    at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:280)
    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
    at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157)
    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
    at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:601)
    at org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
2020-01-28T16:06:19.561+0530 [INFO] [org.apache.http.impl.execchain.RetryExec] Retrying request to {s}->https://bitbucket.org:443
2020-01-28T16:06:19.561+0530 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies] CookieSpec selected: compatibility
2020-01-28T16:06:19.561+0530 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies] Cookie [version: 0][name: bb_session][value: sdfzusnezxn3lm74dzcz9gh2iecbux3n][domain: bitbucket.org][path: /][expiry: Tue Feb 11 11:15:07 IST 2020] match [(secure)bitbucket.org:443/kotanithin/demo.git/com/example/demo/0.0.1-SNAPSHOT/maven-metadata.xml]
2020-01-28T16:06:19.561+0530 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies] Cookie [version: 0][name: csrftoken][value: yx0YvQTjPxwYvwMgBvVAHh1mxE5FmuXIDLpGAYYr4ZnzLOMrwF0K78MiUBff11Dq][domain: bitbucket.org][path: /][expiry: Tue Jan 26 15:35:33 IST 2021] match [(secure)bitbucket.org:443/kotanithin/demo.git/com/example/demo/0.0.1-SNAPSHOT/maven-metadata.xml]
2020-01-28T16:06:19.561+0530 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection request: [route: {s}->https://bitbucket.org:443][total kept alive: 0; route allocated: 0 of 20; total allocated: 0 of 40]
2020-01-28T16:06:19.561+0530 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection leased: [id: 24][route: {s}->https://bitbucket.org:443][total kept alive: 0; route allocated: 1 of 20; total allocated: 1 of 40]
2020-01-28T16:06:19.561+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Opening connection {s}->https://bitbucket.org:443
2020-01-28T16:06:19.617+0530 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connecting to bitbucket.org/18.205.93.2:443
2020-01-28T16:06:19.617+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory] Connecting socket to bitbucket.org/18.205.93.2:443 with timeout 0
2020-01-28T16:06:19.851+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory] Enabled protocols: [TLSv1, TLSv1.1, TLSv1.2]
2020-01-28T16:06:19.852+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory] Enabled cipher suites:
2020-01-28T16:06:19.852+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory] Starting handshake
2020-01-28T16:06:20.341+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory] Secure session established
2020-01-28T16:06:20.341+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory]  negotiated protocol: TLSv1.2
2020-01-28T16:06:20.341+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory]  negotiated cipher suite: TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
2020-01-28T16:06:20.342+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory]  peer principal: CN=bitbucket.org, OU=Bitbucket, O="Atlassian, Inc.", L=San Francisco, ST=California, C=US, SERIALNUMBER=3928449, OID.1.3.6.1.4.1.311.60.2.1.2=Delaware, OID.1.3.6.1.4.1.311.60.2.1.3=US, OID.2.5.4.15=Private Organization
2020-01-28T16:06:20.342+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory]  peer alternative names: [bitbucket.org, www.bitbucket.org]
2020-01-28T16:06:20.342+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory]  issuer principal: CN=DigiCert SHA2 Extended Validation Server CA, OU=www.digicert.com, O=DigiCert Inc, C=US
2020-01-28T16:06:20.342+0530 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connection established 192.168.0.48:58679<->18.205.93.2:443
2020-01-28T16:06:20.342+0530 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-24: set socket timeout to 1800000
2020-01-28T16:06:20.342+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Executing request GET /kotanithin/demo.git/com/example/demo/0.0.1-SNAPSHOT/maven-metadata.xml HTTP/1.1
2020-01-28T16:06:20.342+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Target auth state: UNCHALLENGED
2020-01-28T16:06:20.343+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Proxy auth state: UNCHALLENGED
2020-01-28T16:06:20.644+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Connection can be kept alive indefinitely
2020-01-28T16:06:20.644+0530 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-24: Close connection
2020-01-28T16:06:20.644+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Connection discarded
2020-01-28T16:06:20.645+0530 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection released: [id: 24][route: {s}->https://bitbucket.org:443][total kept alive: 0; route allocated: 0 of 20; total allocated: 0 of 40]
2020-01-28T16:06:20.645+0530 [INFO] [org.gradle.api.publication.maven.internal.action.LoggingMavenTransferListener] Could not find metadata com.example:demo:0.0.1-SNAPSHOT/maven-metadata.xml in remote (https://kotanithin@bitbucket.org/kotanithin/demo.git)
2020-01-28T16:06:20.648+0530 [INFO] [org.gradle.api.publication.maven.internal.action.LoggingMavenTransferListener] Uploading: com/example/demo/0.0.1-SNAPSHOT/demo-0.0.1-20200128.103620-1.jar to repository remote at https://bitbucket.org/kotanithin/demo.git/
2020-01-28T16:06:20.650+0530 [INFO] [org.gradle.api.publication.maven.internal.action.LoggingMavenTransferListener] Transferring 22642K from remote
2020-01-28T16:06:20.650+0530 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies] CookieSpec selected: compatibility
2020-01-28T16:06:20.651+0530 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies] Cookie [version: 0][name: bb_session][value: sdfzusnezxn3lm74dzcz9gh2iecbux3n][domain: bitbucket.org][path: /][expiry: Tue Feb 11 11:15:07 IST 2020] match [(secure)bitbucket.org:443/kotanithin/demo.git/com/example/demo/0.0.1-SNAPSHOT/demo-0.0.1-20200128.103620-1.jar]
2020-01-28T16:06:20.651+0530 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies] Cookie [version: 0][name: csrftoken][value: yx0YvQTjPxwYvwMgBvVAHh1mxE5FmuXIDLpGAYYr4ZnzLOMrwF0K78MiUBff11Dq][domain: bitbucket.org][path: /][expiry: Tue Jan 26 15:35:33 IST 2021] match [(secure)bitbucket.org:443/kotanithin/demo.git/com/example/demo/0.0.1-SNAPSHOT/demo-0.0.1-20200128.103620-1.jar]
2020-01-28T16:06:20.651+0530 [DEBUG] [org.apache.http.client.protocol.RequestAuthCache] Re-using cached 'basic' auth scheme for https://bitbucket.org:443
2020-01-28T16:06:20.651+0530 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection request: [route: {s}->https://bitbucket.org:443][total kept alive: 0; route allocated: 0 of 20; total allocated: 0 of 40]
2020-01-28T16:06:20.651+0530 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection leased: [id: 25][route: {s}->https://bitbucket.org:443][total kept alive: 0; route allocated: 1 of 20; total allocated: 1 of 40]
2020-01-28T16:06:20.652+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Opening connection {s}->https://bitbucket.org:443
2020-01-28T16:06:20.652+0530 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connecting to bitbucket.org/18.205.93.2:443
2020-01-28T16:06:20.652+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory] Connecting socket to bitbucket.org/18.205.93.2:443 with timeout 0
2020-01-28T16:06:20.870+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory] Enabled protocols: [TLSv1, TLSv1.1, TLSv1.2]
2020-01-28T16:06:20.870+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory] Enabled cipher suites:[TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384, TLS_DHE_RSA_WITH_AES_256_CBC_SHA256, TLS_DHE_DSS_WITH_AES_256_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, 
2020-01-28T16:06:20.870+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory] Starting handshake
2020-01-28T16:06:20.830+0530 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] > Task :uploadArchives
2020-01-28T16:06:22.956+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory] Secure session established
2020-01-28T16:06:22.956+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory]  negotiated protocol: TLSv1.2
2020-01-28T16:06:22.956+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory]  negotiated cipher suite: TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
2020-01-28T16:06:22.956+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory]  peer principal: CN=bitbucket.org, OU=Bitbucket, O="Atlassian, Inc.", L=San Francisco, ST=California, C=US, SERIALNUMBER=3928449, OID.1.3.6.1.4.1.311.60.2.1.2=Delaware, OID.1.3.6.1.4.1.311.60.2.1.3=US, OID.2.5.4.15=Private Organization
2020-01-28T16:06:22.956+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory]  peer alternative names: [bitbucket.org, www.bitbucket.org]
2020-01-28T16:06:22.956+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory]  issuer principal: CN=DigiCert SHA2 Extended Validation Server CA, OU=www.digicert.com, O=DigiCert Inc, C=US
2020-01-28T16:06:22.956+0530 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connection established 192.168.0.48:58680<->18.205.93.2:443
2020-01-28T16:06:22.957+0530 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-25: set socket timeout to 1800000
2020-01-28T16:06:22.957+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Executing request PUT /kotanithin/demo.git/com/example/demo/0.0.1-SNAPSHOT/demo-0.0.1-20200128.103620-1.jar HTTP/1.1
2020-01-28T16:06:22.957+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Target auth state: UNCHALLENGED
2020-01-28T16:06:22.957+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Proxy auth state: UNCHALLENGED
2020-01-28T16:06:23.030+0530 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] > Task :uploadArchives
2020-01-28T16:15:13.542+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Connection can be kept alive indefinitely
2020-01-28T16:15:13.542+0530 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-25: Close connection
2020-01-28T16:15:13.543+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Connection discarded
2020-01-28T16:15:13.543+0530 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection released: [id: 25][route: {s}->https://bitbucket.org:443][total kept alive: 0; route allocated: 0 of 20; total allocated: 0 of 40]
2020-01-28T16:15:13.543+0530 [ERROR] [org.gradle.api.publication.maven.internal.action.LoggingMavenTransferListener] Could not find artifact com.example:demo:jar:0.0.1-20200128.103620-1 in remote (https://kotanithin@bitbucket.org/kotanithin/demo.git)
2020-01-28T16:15:13.543+0530 [INFO] [org.gradle.api.publication.maven.internal.action.LoggingMavenTransferListener] Uploading: com/example/demo/0.0.1-SNAPSHOT/demo-0.0.1-20200128.103620-1.pom to repository remote at https://bitbucket.org/kotanithin/demo.git/
2020-01-28T16:15:13.544+0530 [INFO] [org.gradle.api.publication.maven.internal.action.LoggingMavenTransferListener] Transferring 2K from remote
2020-01-28T16:15:13.544+0530 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies] CookieSpec selected: compatibility
2020-01-28T16:15:13.544+0530 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies] Cookie [version: 0][name: bb_session][value: sdfzusnezxn3lm74dzcz9gh2iecbux3n][domain: bitbucket.org][path: /][expiry: Tue Feb 11 11:15:07 IST 2020] match [(secure)bitbucket.org:443/kotanithin/demo.git/com/example/demo/0.0.1-SNAPSHOT/demo-0.0.1-20200128.103620-1.pom]
2020-01-28T16:15:13.544+0530 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies] Cookie [version: 0][name: csrftoken][value: yx0YvQTjPxwYvwMgBvVAHh1mxE5FmuXIDLpGAYYr4ZnzLOMrwF0K78MiUBff11Dq][domain: bitbucket.org][path: /][expiry: Tue Jan 26 15:35:33 IST 2021] match [(secure)bitbucket.org:443/kotanithin/demo.git/com/example/demo/0.0.1-SNAPSHOT/demo-0.0.1-20200128.103620-1.pom]
2020-01-28T16:15:13.545+0530 [DEBUG] [org.apache.http.client.protocol.RequestAuthCache] Re-using cached 'basic' auth scheme for https://bitbucket.org:443
2020-01-28T16:15:13.545+0530 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection request: [route: {s}->https://bitbucket.org:443][total kept alive: 0; route allocated: 0 of 20; total allocated: 0 of 40]
2020-01-28T16:15:13.545+0530 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection leased: [id: 26][route: {s}->https://bitbucket.org:443][total kept alive: 0; route allocated: 1 of 20; total allocated: 1 of 40]
2020-01-28T16:15:13.545+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Opening connection {s}->https://bitbucket.org:443
2020-01-28T16:15:13.580+0530 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connecting to bitbucket.org/18.205.93.0:443
2020-01-28T16:15:13.580+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory] Connecting socket to bitbucket.org/18.205.93.0:443 with timeout 0
2020-01-28T16:15:13.805+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory] Enabled protocols: [TLSv1, TLSv1.1, TLSv1.2]
2020-01-28T16:15:13.805+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory] Enabled cipher suites:
2020-01-28T16:15:14.306+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory] Secure session established
2020-01-28T16:15:14.307+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory]  negotiated protocol: TLSv1.2
2020-01-28T16:15:14.307+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory]  negotiated cipher suite: TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
2020-01-28T16:15:14.307+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory]  peer principal: CN=bitbucket.org, OU=Bitbucket, O="Atlassian, Inc.", L=San Francisco, ST=California, C=US, SERIALNUMBER=3928449, OID.1.3.6.1.4.1.311.60.2.1.2=Delaware, OID.1.3.6.1.4.1.311.60.2.1.3=US, OID.2.5.4.15=Private Organization
2020-01-28T16:15:14.307+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory]  peer alternative names: [bitbucket.org, www.bitbucket.org]
2020-01-28T16:15:14.307+0530 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory]  issuer principal: CN=DigiCert SHA2 Extended Validation Server CA, OU=www.digicert.com, O=DigiCert Inc, C=US
2020-01-28T16:15:14.307+0530 [DEBUG] [org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connection established 192.168.0.48:58728<->18.205.93.0:443
2020-01-28T16:15:14.307+0530 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-26: set socket timeout to 1800000
2020-01-28T16:15:14.307+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Executing request PUT /kotanithin/demo.git/com/example/demo/0.0.1-SNAPSHOT/demo-0.0.1-20200128.103620-1.pom HTTP/1.1
2020-01-28T16:15:14.307+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Target auth state: UNCHALLENGED
2020-01-28T16:15:14.308+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Proxy auth state: UNCHALLENGED
2020-01-28T16:15:14.933+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Connection can be kept alive indefinitely
2020-01-28T16:15:14.933+0530 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-26: Close connection
2020-01-28T16:15:14.934+0530 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Connection discarded
2020-01-28T16:15:14.934+0530 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection released: [id: 26][route: {s}->https://bitbucket.org:443][total kept alive: 0; route allocated: 0 of 20; total allocated: 0 of 40]
2020-01-28T16:15:16.407+0530 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Snapshot outputs after executing task ':uploadArchives'' completed
2020-01-28T16:15:16.408+0530 [DEBUG] [org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter] Removed task artifact state for task ':uploadArchives' from context.
2020-01-28T16:15:16.408+0530 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Completing Build operation 'Task :uploadArchives'
2020-01-28T16:15:16.345+0530 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] > Task :uploadArchives FAILED
2020-01-28T16:15:16.408+0530 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Task :uploadArchives' completed
2020-01-28T16:15:16.408+0530 [DEBUG] [org.gradle.execution.plan.DefaultExecutionPlan] Node :uploadArchives failed
2020-01-28T16:15:16.408+0530 [DEBUG] [org.gradle.execution.plan.DefaultExecutionPlan] Node :uploadArchives completed, executed: true
2020-01-28T16:15:16.413+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
2020-01-28T16:15:16.413+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
2020-01-28T16:15:16.413+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':uploadArchives'.
2020-01-28T16:15:16.413+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not publish configuration 'archives'
2020-01-28T16:15:16.414+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]    > Could not deploy to remote repository | Failed to deploy artifacts: Could not find artifact com.example:demo:jar:0.0.1-20200128.103620-1 in remote (https://kotanithin@bitbucket.org/kotanithin/demo.git)

Полный файл журнала: https://github.com/gradle/gradle/files/4123487/log.txt

...