From 86a69d1dd3e207e9aea04eb8c448fb770cf9d5fa Mon Sep 17 00:00:00 2001 From: shayaantx Date: Fri, 17 Jan 2020 20:15:01 -0500 Subject: [PATCH 1/4] Fix jenkinsfile indenting/upload --- Jenkinsfile | 22 +++++++++++----------- README.md | 3 +-- images/initial_commands.png | Bin 0 -> 25216 bytes upload-release.sh | 4 ++-- 4 files changed, 14 insertions(+), 15 deletions(-) create mode 100644 images/initial_commands.png diff --git a/Jenkinsfile b/Jenkinsfile index 6282c3e..3e9cca8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,11 +11,11 @@ def getChangelistDescription() { def description = ""; def changeLogSets = currentBuild.changeSets; for (int i = 0; i < changeLogSets.size(); i++) { - def entries = changeLogSets[i].items; - for (int j = 0; j < entries.length; j++) { - def entry = entries[j] - description += "${entry.commitId} by ${entry.author} on ${new Date(entry.timestamp)}: ${entry.msg}\n"; - } + def entries = changeLogSets[i].items; + for (int j = 0; j < entries.length; j++) { + def entry = entries[j] + description += "${entry.commitId} by ${entry.author} on ${new Date(entry.timestamp)}: ${entry.msg}\n"; + } } return description; } @@ -56,16 +56,16 @@ node { image.inside('-u root') { stage('Build') { sh 'mvn -version' - sh 'mvn compile' + sh 'mvn -B compile' } stage("Test") { - sh 'mvn test' + sh 'mvn -B test' } - + stage("Package") { fileOperations([fileCreateOperation(fileContent: "version=${tag}", fileName: './src/main/resources/version.txt')]); - sh 'mvn package' + sh 'mvn -B package' } stage("Archive") { @@ -112,9 +112,9 @@ node { } } } - } finally { + } finally { stage("Cleanup") { deleteDir(); } - } + } } \ No newline at end of file diff --git a/README.md b/README.md index 2857aa5..e60cb0c 100644 --- a/README.md +++ b/README.md @@ -140,5 +140,4 @@ TODO: need to add more tips for sonarr 1. Interactive season search/download (only available in v3 sonarr) 2. Per episode search/download 3. Cancelling/blacklisting downloads (movies and tvshows) -4. When I implement lidarr support I want to search by song instead of just artist/album (since lidarr doesn't support song search) -5. Test cases! \ No newline at end of file +4. When I implement lidarr support I want to search by song instead of just artist/album (since lidarr doesn't support song search) \ No newline at end of file diff --git a/images/initial_commands.png b/images/initial_commands.png new file mode 100644 index 0000000000000000000000000000000000000000..35daace5238a2fcd170d89b7c07e2c62fc9aa7e1 GIT binary patch literal 25216 zcmcF~bx<9_vo0fS%Lrez82scarR}QbVD9Q+ z;%o*b<7{ST?_%lTYN&zq@rcR&S4lB-Ps7tyWYJ`^H^hr`V$>nW^%58cV`3P>e28?h zd3v?k;m>OG79Dr(J@aGtT+P z``HM4+7E9o!R*xpuOsTCTeKO$H@ff@Z;`zT!l)^SCQxpcyD&@vLU&O;@%)ve67bk_ zeNM8}e=!8hnGkdmf0{pu30CTaA$!@j`u43wRnh9>TO>>zB0v^$iDebyP6lXmad&Jg zIYGhjW)e$zGH088Z0UppaA};T*qS0w#MLC+y&Oq~jSt&owKi?@7RODCH=81CG}@$_ zFjDA5Ax?d!KspQ$1J1qb#Xz@;x2S>H9csqD+(&KQNw;{KQF=VZN|5yol;>!l#aG?P z29dYOD#o)PSookW4?G;Cv#v*6rgk%g`Z#pXIe&~K)w0k4V{-5uVd;WKfp$%ZPLX6b zrYs}9bX1Uduxi*vscfl+wHHGj=VVyZSno?_$*5IFSV768Ig0_g6U9XhCU92oVn$71x1Ur!A!bHSsJvoi7jAIz zd=(xsn09|9>{tdI`W5<+$_<{rRN3KaI9Yud0}Ph(6s3E~7E(5l_xg-;Wi#URDHgmDYukHmg)9+}4aTcWHS0a{Wv6*dDJ>K);OkN4(N+V}qW zP6VyB7mLLcOjZ&Xo)wr4wB9gy_g~=)`@gvdo5jcAPK!N0vI&=urP{-rD zA|+o(%Uj?e9^g4FQDyl|?!V~RFBMv_-c2D(N(f(59A5rydm0fIvBcQZSumJbD*B7~ zC$)qu%cV1lKlG6p?mq?__QY_a3MsBSTYPzcn8HxR?qY+RA%E~^*3}4W!VtuqIM=2k z@BXIL+B>fW8DHfhY)7YgdX?JDsbdjxnG06uI8r@HqXjeMVZ3~bpmKX6!RI*QFRedQ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~o!4_)#{ekA7sjpl#zH3=m+ccikUUyWY&njK&-h`9GkNkg&vrFrOo0Ft}gi2wiq literal 0 HcmV?d00001 diff --git a/upload-release.sh b/upload-release.sh index ad691d4..2b3f644 100644 --- a/upload-release.sh +++ b/upload-release.sh @@ -5,7 +5,7 @@ tag=${2} name=${2} description=$(echo "${3}" | sed -z 's/\n/\\n/g') # Escape -release=$(curl -XPOST -H "Authorization:token $token" --data "{\"tag_name\": \"$tag\", \"target_commitish\": \"master\", \"name\": \"$name\", \"body\": \"$description\", \"draft\": false, \"prerelease\": false}" https://api.github.com/repos/shayaantx/botdar/releases) +release=$(curl -XPOST -H "Authorization:token $token" --data "{\"tag_name\": \"$tag\", \"target_commitish\": \"master\", \"name\": \"$name\", \"body\": \"$description\", \"draft\": false, \"prerelease\": false}" https://api.github.com/repos/shayaantx/botdarr/releases) id=$(echo "$release" | sed -n -e 's/"id":\ \([0-9]\+\),/\1/p' | head -n 1 | sed 's/[[:blank:]]//g') -curl -vv -XPOST -H "Authorization:token $token" -H "Content-Type:application/octet-stream" --data-binary @target/botdar-release.jar https://uploads.github.com/repos/shayaantx/botdar/releases/$id/assets?name=botdar-release.jar +curl -vv -XPOST -H "Authorization:token $token" -H "Content-Type:application/octet-stream" --data-binary @target/botdar-release.jar https://uploads.github.com/repos/shayaantx/botdarr/releases/$id/assets?name=botdar-release.jar From 9d53a61b87b2048898d78be6bf89206d9721a957 Mon Sep 17 00:00:00 2001 From: shayaantx Date: Sat, 18 Jan 2020 13:15:56 -0500 Subject: [PATCH 2/4] Upgrade maven, hide download progress --- .mvn/wrapper/maven-wrapper.properties | 2 +- Jenkinsfile | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index cd0d451..ecd7f7d 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -1 +1 @@ -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.zip +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.1/apache-maven-3.6.1-bin.zip diff --git a/Jenkinsfile b/Jenkinsfile index 3e9cca8..a4c120e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -55,17 +55,16 @@ node { def image = docker.build("botdar-image", "-f ./Dockerfile ."); image.inside('-u root') { stage('Build') { - sh 'mvn -version' - sh 'mvn -B compile' + sh './mvnw --no-transfer-progress compile' } stage("Test") { - sh 'mvn -B test' + sh './mvnw --no-transfer-progress test' } stage("Package") { fileOperations([fileCreateOperation(fileContent: "version=${tag}", fileName: './src/main/resources/version.txt')]); - sh 'mvn -B package' + sh './mvnw --no-transfer-progress package' } stage("Archive") { From fe36bc7324e5f9c37881a4171304ee22cc96a3db Mon Sep 17 00:00:00 2001 From: shayaantx Date: Sat, 18 Jan 2020 13:24:08 -0500 Subject: [PATCH 3/4] Dont run tests during maven package --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index a4c120e..cbf0966 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -64,7 +64,7 @@ node { stage("Package") { fileOperations([fileCreateOperation(fileContent: "version=${tag}", fileName: './src/main/resources/version.txt')]); - sh './mvnw --no-transfer-progress package' + sh './mvnw --no-transfer-progress package -DskipTests' } stage("Archive") { From 7b65c342071ab7b709ebe1d136f9d06e67eb15fe Mon Sep 17 00:00:00 2001 From: shayaantx Date: Sat, 18 Jan 2020 14:14:01 -0500 Subject: [PATCH 4/4] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index cbf0966..65d3a61 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -41,7 +41,7 @@ def getNextVersion(scope) { node { try { stage("Checkout") { - checkout([$class: 'GitSCM', branches: [[name: '**']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'git-user', url: 'https://github.com/shayaantx/botdar.git']]]) + checkout([$class: 'GitSCM', branches: [[name: '**']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'github', url: 'https://github.com/shayaantx/botdar.git']]]) } stage('Prepare docker') {