mirror of
https://github.com/JasonHHouse/gaps.git
synced 2026-05-13 04:49:48 -05:00
Adding docker build
This commit is contained in:
Vendored
+11
-7
@@ -1,4 +1,9 @@
|
||||
pipeline {
|
||||
environment {
|
||||
registry = "housewrecker/gaps"
|
||||
registryCredential = 'dockerhub'
|
||||
}
|
||||
|
||||
agent {
|
||||
docker {
|
||||
image 'adoptopenjdk/maven-openjdk8'
|
||||
@@ -21,14 +26,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Install Node') {
|
||||
steps {
|
||||
sh 'apt-get install -y curl \
|
||||
&& curl -sL https://deb.nodesource.com/setup_12.x | bash - \
|
||||
&& apt-get install -y nodejs \
|
||||
&& curl -L https://www.npmjs.com/install.sh | sh'
|
||||
sh 'npm install'
|
||||
stage('Building image') {
|
||||
steps{
|
||||
script {
|
||||
docker.build registry + ":$BUILD_NUMBER"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gaps",
|
||||
"version": "0.2.2-alpha",
|
||||
"version": "0.2.2",
|
||||
"description": "Gaps searches through your Plex Server or local folders for all movies, then queries for known movies in the same collection. If those movies don't exist in your library, Gaps will recommend getting those movies, legally of course.",
|
||||
"main": "/",
|
||||
"dependencies": {},
|
||||
|
||||
Reference in New Issue
Block a user