Skip to content
Snippets Groups Projects
Commit abc4a6c8 authored by Lars Bilke's avatar Lars Bilke
Browse files

[Jenkins] Replaced checkoutWithTags() with checkout scm.

parent 5ce9bd69
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ timestamps { ...@@ -10,7 +10,7 @@ timestamps {
builders['gcc'] = { builders['gcc'] = {
node('docker') { node('docker') {
dir('ogs') { dir('ogs') {
checkoutWithTags() checkout scm
tag = helper.getTag() tag = helper.getTag()
} }
load 'ogs/scripts/jenkins/gcc.groovy' load 'ogs/scripts/jenkins/gcc.groovy'
...@@ -19,28 +19,28 @@ builders['gcc'] = { ...@@ -19,28 +19,28 @@ builders['gcc'] = {
builders['gcc-conan'] = { builders['gcc-conan'] = {
node('docker') { node('docker') {
dir('ogs') { checkoutWithTags() } dir('ogs') { checkout scm }
load 'ogs/scripts/jenkins/gcc-conan.groovy' load 'ogs/scripts/jenkins/gcc-conan.groovy'
} }
} }
builders['gcc-dynamic'] = { builders['gcc-dynamic'] = {
node('envinf1') { node('envinf1') {
dir('ogs') { checkoutWithTags() } dir('ogs') { checkout scm }
load 'ogs/scripts/jenkins/gcc-dynamic.groovy' load 'ogs/scripts/jenkins/gcc-dynamic.groovy'
} }
} }
builders['msvc'] = { builders['msvc'] = {
node('win && conan') { node('win && conan') {
dir('ogs') { checkoutWithTags() } dir('ogs') { checkout scm }
load 'ogs/scripts/jenkins/msvc.groovy' load 'ogs/scripts/jenkins/msvc.groovy'
} }
} }
builders['mac'] = { builders['mac'] = {
node('mac') { node('mac') {
dir('ogs') { checkoutWithTags() } dir('ogs') { checkout scm }
// load 'ogs/scripts/jenkins/mac.groovy' // load 'ogs/scripts/jenkins/mac.groovy'
} }
} }
...@@ -48,7 +48,7 @@ builders['mac'] = { ...@@ -48,7 +48,7 @@ builders['mac'] = {
if (helper.isRelease(this)) { if (helper.isRelease(this)) {
builders['msvc32'] = { builders['msvc32'] = {
node('win && conan') { node('win && conan') {
dir('ogs') { checkoutWithTags() } dir('ogs') { checkout scm }
load 'ogs/scripts/jenkins/msvc32.groovy' load 'ogs/scripts/jenkins/msvc32.groovy'
} }
} }
...@@ -57,7 +57,7 @@ if (helper.isRelease(this)) { ...@@ -57,7 +57,7 @@ if (helper.isRelease(this)) {
if (helper.isOriginMaster(this)) { if (helper.isOriginMaster(this)) {
builders['coverage'] = { builders['coverage'] = {
node('docker') { node('docker') {
dir('ogs') { checkoutWithTags() } dir('ogs') { checkout scm }
load 'ogs/scripts/jenkins/coverage.groovy' load 'ogs/scripts/jenkins/coverage.groovy'
} }
} }
...@@ -75,7 +75,7 @@ catch (err) { ...@@ -75,7 +75,7 @@ catch (err) {
} }
node('master') { node('master') {
checkoutWithTags() checkout scm
step([$class: 'LogParserPublisher', step([$class: 'LogParserPublisher',
failBuildOnError: true, failBuildOnError: true,
projectRulePath: "scripts/jenkins/all-log-parser.rules", projectRulePath: "scripts/jenkins/all-log-parser.rules",
...@@ -94,7 +94,7 @@ if (helper.isOriginMaster(this)) { ...@@ -94,7 +94,7 @@ if (helper.isOriginMaster(this)) {
helper.notification(msg: "Marked build for ${tag}.", script: this) helper.notification(msg: "Marked build for ${tag}.", script: this)
node('mac') { node('mac') {
dir('ogs') { checkoutWithTags() } dir('ogs') { checkout scm }
load 'ogs/scripts/jenkins/docset.groovy' load 'ogs/scripts/jenkins/docset.groovy'
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment