Skip to content

Commit 79f4a62

Browse files
committed
W-14661042 - Publish internal version
1 parent fbb24a9 commit 79f4a62

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM ghcr.io/aml-org/amf-ci-tools-base-image:1.3.4
1+
FROM ghcr.io/aml-org/amf-ci-tools-base-image:1.4.0-java21.test.0

Jenkinsfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pipeline {
2929
BUILD_NUMBER = "${env.BUILD_NUMBER}"
3030
BRANCH_NAME = "${env.BRANCH_NAME}"
3131
NPM_TOKEN = credentials('npm-mulesoft')
32-
CURRENT_VERSION = sh(script:"cat dependencies.properties | grep \"version\" | cut -d '=' -f 2", returnStdout: true)
32+
CURRENT_VERSION = sh(script: "cat dependencies.properties | grep \"version\" | cut -d '=' -f 2", returnStdout: true)
3333
}
3434
stages {
3535
stage('Test') {
@@ -44,6 +44,7 @@ pipeline {
4444
when {
4545
anyOf {
4646
branch 'master'
47+
branch 'java21-2024'
4748
}
4849
}
4950
steps {
@@ -57,7 +58,10 @@ pipeline {
5758
}
5859
stage('Publish') {
5960
when {
60-
branch 'master'
61+
anyOf {
62+
branch 'master'
63+
branch 'java21-2024'
64+
}
6165
}
6266
steps {
6367
wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'XTerm']) {

build.sbt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import sbtcrossproject.CrossPlugin.autoImport.crossProject
22
import sbtsonar.SonarPlugin.autoImport.sonarProperties
33

4-
ThisBuild / version := getVersion(2, 0)
4+
//ThisBuild / version := getVersion(2, 0)
5+
ThisBuild / version := "2.1.0-java21-0"
56
ThisBuild / scalacOptions ++= Seq("-feature")
67
ThisBuild / scalaVersion := "2.12.20"
78

0 commit comments

Comments
 (0)