remove agent labels
All checks were successful
andreas-personal/AndysAdguardHomeBlocklist/pipeline/head This commit looks good
All checks were successful
andreas-personal/AndysAdguardHomeBlocklist/pipeline/head This commit looks good
This commit is contained in:
parent
a1b54eeeed
commit
3782dfda95
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -28,9 +28,6 @@ pipeline {
|
|||||||
beforeAgent true;
|
beforeAgent true;
|
||||||
branch 'main'
|
branch 'main'
|
||||||
}
|
}
|
||||||
agent {
|
|
||||||
label 'linux'
|
|
||||||
}
|
|
||||||
environment {
|
environment {
|
||||||
def tag = sh(returnStdout: true, script: 'git rev-parse --short=10 HEAD').trim()
|
def tag = sh(returnStdout: true, script: 'git rev-parse --short=10 HEAD').trim()
|
||||||
PACKAGE_REGISTRY_CREDENTIALS = credentials('gitea-package-registry-jenkins-user')
|
PACKAGE_REGISTRY_CREDENTIALS = credentials('gitea-package-registry-jenkins-user')
|
||||||
@ -68,9 +65,6 @@ pipeline {
|
|||||||
beforeAgent true;
|
beforeAgent true;
|
||||||
branch 'main'
|
branch 'main'
|
||||||
}
|
}
|
||||||
agent {
|
|
||||||
label 'linux'
|
|
||||||
}
|
|
||||||
steps {
|
steps {
|
||||||
sh 'curl -H "Authorization: Bearer 2ykoFnTr3FWcqMLvaEthR79ffNfbTgzo" 10.55.0.2:8181/v1/update'
|
sh 'curl -H "Authorization: Bearer 2ykoFnTr3FWcqMLvaEthR79ffNfbTgzo" 10.55.0.2:8181/v1/update'
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,4 @@ task createOutDir {
|
|||||||
task compileAdblockList(type: NpmTask) {
|
task compileAdblockList(type: NpmTask) {
|
||||||
dependsOn npmInstall, createOutDir
|
dependsOn npmInstall, createOutDir
|
||||||
args = ['run', 'compile']
|
args = ['run', 'compile']
|
||||||
doFirst {
|
|
||||||
file("out").mkdirs()
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user